Base64Binary form publish error

H

Hikmer

I get the following error when I try to publish a form to my SharePoint 2007
beta 2 server:

"the selected field cannot be promoted becasuse its data type is not
supported: base64Binary"

This only happens when I try to use a filed that is a file attachment and
try to publish the column to my SharePoint server. This IS a supported
control for the Web browser...so what gives?????
 
G

Greg Collins [InfoPath MVP]

Web-supported control is entirely different from SharePoint supporting the field as a promoted column. Sharepoint promoted field columns have limited datatype support and base64 is not one of those. You can use the field in your form... just don't promote it to a SharePoint column.
 
J

joris

Hello Greg Collins [InfoPath MVP]" gcollins_AT_msn_DOT_com,

do you know of some sample code to extract the attached files from InfoPath?

Rgds,

Joris [MVP Windows SharePoint Services]
http://jopx.blogspot.com
 
G

Greg Collins [InfoPath MVP]

As per the datatype, the file is stored as a base64 string. The extraction would be to select this string, then covert back to an actual file and save it.

I've seen code that does this sort of thing... you might be able to track some down. If not, the better place to ask for code to convert a base64 string back into a file would be in the C#, VB.NET or ASP.NET newsgroups.

Good luck.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top