Skip to Content
avatar image
Former Member

Read formname out of pdf file

Hello!

Need some ideas for following problem:

I have designed two forms which are provided based on an id to different stores.

The people in the store fill out the form and send them back by outlook to our system.

The system receives the message and reads the attached form and parses the xml with a simple transformation and saves the data to database.

Now my problem is, that these two forms need now different transformations. How can i find out, which form is attached in the message to choose the right simple transformation? Because i want to use the same inbound process for both forms.

My only idea is, to convert the xstring to string and search for some special characters like formname to find out, wich form is incoming. Does anybody have an idea for my problem?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 21, 2011 at 02:09 AM

    Hi Mate,

    How about maintaing form title in form properties.

    Since you know how to parth the inbound pdf and fetching date.

    you can searcjh for the title from the below tags using script.

          <desc>
             <text name="version">8.2.3.4195.1.572397.541997</text>
             <text name="title">Form1.1</text>
          </desc>
    

    hope this might help.

    Cheers,

    Sai

    Add comment
    10|10000 characters needed characters exceeded