I configured a DOM Instance with a section that receive multiple instances (see image below):
I am using a Process Automation activity to manipulate and process the DOM Instance we passed to it. Inside the Automation script, I am using PaProfileLoadDomHelper class to get parameter values. For sections that could have multiple instances, how do I get that data? Do we receive it as a list?
I have the following Section Instance configuration:
Section Instance # 1 (Blue)
Section Instance # 2 (Red)
Thanks in advance,
Hi German,
The PAHelper does not support retrieving values when there are multiple instances of a section.
You will have to retrieve the DOMInstance yourself:
- add a FieldDescriptor to store the reference of the DOM Instance
- populate that field before pushing the toke in the process
- use the Helper to get the value of that FieldDescriptor
The reason I ask is because the PAHelper class already gathers and stitches the DomInstance. It might be better if we’re able to continue using the PAHelper.
I had a DOM Instance created with multiple section instances. I checked those via Client Test Tool and I saw that they have the same IDs for each section instance. How do I identify a field that is part of a particular section instance? I add extra information on the Question.
Hi Blake, we prefer to not add it by default , so that default way to interact with DOM Instance is using the helper.
Would it be possible to expose the DomInstance inside the PA Helper? Otherwise the field will need to be manually filled in anytime the process is run.