Decode file attachment

L

luisxx

Hi everyone!

I would like an InfoPath to submit a form with an embedded file
attachment to a windows sharePoint server document library, decode the
file attachment, and populate the document library columns with the
text data from the InfoPath form.

I can post using a script and capture any field data like the
attachment. Now, what I was thinking is, upon submission, somehow
decode the attachment that is in base64 and populate the data using
Jscript, all in one shot. Is this possible?

I found some VB code to decode the file attachment, but I'm not too
sure how to implement it automativelly or comming up with a solution
that would encompass the VB code and populating the text data in
sharepoint.

If someone could provide some input on decoding a file upon submission
to a WSS using Jscirpt would be helpful. If not, could someone provide
an alternative way of implementing the VB code with the InfoPath form
and submission to the WSS. Any code samples would be greatly
appreciated. :)

Thanks in advance,
Luis
 

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