1
0
-1
I am attempting to make the xml for this form the same as the xml of our old form so the form owner does not have to change their import script.
So for the data capture fields, I'm just using absolute binding, which does the trick.
However, I need to also change the xpath for some of the metadata in the<SFMData><SystemProfile> part. E.g the SubmitDateString.I tried to use a data field, bound to the SubmitDateString string, then added another data field, populated that with the value from the first and changed the absolute binding path to what I need.
My problem is that the xml gets rendered before the data field gets populated. How can I achieve this?
  1. Chris Reid
    Hi Lin,
    A simpler solution might be to do an XSLT transform on the submitted data as part of the delivery service before processing via the import script.
  2. Lin VanOevelen
    That sounds a bit complicated and it is not ideal if we then cannot use our usual delivery service.
    What about a submission completed processor (asks Matt, who is too busy to respond himself)?
CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1
    1. Chris Reid
      Submission Completed processor won't help, as you won't be able to modify the submitted XML in TM.
      I believe your only options are; create a modified version of the usual delivery service with the additional step of an XSLT transform, although this would create additional maintenance overhead if the standard delivery service is changed, or modify the import script to accommodate the new XML structure.
    CommentAdd your comment...