cancel
Showing results for 
Search instead for 
Did you mean: 

Read formname out of pdf file

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello Sai!

Thank you for your very good answer. You lead me to the right way!

I now use the metadata of form. In the properties of the form, i now write the formname and

through a method i get the data and can now decide, which transformation must be used.

Thank you very much!

Best regards!

BarneyG

Former Member
0 Kudos

Cheers Mate,

good to hear that you got a solution.

Sai.

Answers (0)