Monday, November 16, 2009

InfoPath Forms and attachments

In InfoPath, you can use a control called “File attachments” – this might be interesting to use when you want to allow a user to add files to a filled in InfoPath form. But beware when you store these file within an InfoPath form they will be stored as Base64 encoded strings within the  InfoPath form. This causes the included files not to be crawled by standard SharePoint search.

Here’s some sample code to extract these attachments and make them crawleable – InfoPath 2007 – Extracting those pesky binary attachments

No comments: