Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / August 2006

Tip: Looking for answers? Try searching our database.

Base64Binary form publish error

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hikmer - 16 Aug 2006 17:19 GMT
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?????
Greg Collins [InfoPath MVP] - 16 Aug 2006 17:25 GMT
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.

Signature

Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )

joris - 17 Aug 2006 20:05 GMT
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

> 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.
Greg Collins [InfoPath MVP] - 17 Aug 2006 23:02 GMT
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.

Signature

Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.