Expand my Community achievements bar.

Changing the XML Structure in "Submit as XML"

Avatar

Level 1

Dear all,

We have two PDF Templates which are submitted via a WebService using Submit as XML. For both templates we need the same structured XML output.

Form 1 has the hierarchy like this (all subforms):

  1. Company
  2. Subsdiary
  3. Responsibles
  4. Footer

so the xml looks like

<creditrequest>

<company>...</company>

<subsdiary>...</subsdiary>

<responsible>...</responsible>

<footer>...</footer>

</creditrequest>

Form 2 has the hiearchy like this (all subforms):

  1. Responsibles
  2. Subsidiary
  3. Company
  4. Footer

and the xml looks like

<creditrequest>

<responsible>...</responsible>

<subsdiary>...</subsdiary>

<company>...</company>

<footer>...</footer>

</creditrequest>

So my question is how can influence the XML output order without changing the PDF hiearchy. This way I can change the XML output for Form 1 or Form 2 and both files would have the same XML structure to submit.

I have checked the presubmit event and the javascript API to change XML string programmaticly but I couldn't find any possiblity to read/write the XML to submit.

Thanks,

Koray

0 Replies