Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How can I get multiple values from form as a list ?

Avatar

Level 3

we designed a form , and there are some attributes designed as checkbox , the data in the form is like following :

    <xml ......>

            .....

            .....

            .....

            <party>11</party>

            <party>22</party>

            <party>33</party>

         .......

    </xml>

Is there any easy way to get the parties' data from the xml into a list predefined as a process varible  ?

Any help is appreciated !

1 Reply

Avatar

Former Community Member

You woudl use a setValue service and use xPath expressions to extract the individual party nodes from the inbound XML and then populate the list with these values.

Paul