Attach a document to InfoPath form & read metadata of attached doc

T

TheLibr8r

Our library repository collects and catalogs digital Govt Publications. I
have an InfoPath form which collects information about a Govt Publication
(publisher, author, subject, keyword, format etc) from the publications
author at the time they send the url of the new publication.

I would like to alter the form and enable the user to ATTACH the publication
after completing the form and submit the both together. Also, is there a way
to read the existing metadta of the attached publication (like a .pdf
document) at the time the publication is attached and place that information
in an xml record?? to be submitted also?
 
D

darko

Hi,

the attached documrnt in InfoPath is base64 encoded string, so you can
converto that base64 string to bytes, and implement some code to read the pdf
file atributes from the bytes stram.

Darko
 

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