Expect that you will create a summary section of a repeating table. In this sample we want to get all first names of a repeating table and want to use a semicolon as delimiter. We will use a calculate value to store all this names into one field. The result looks like this:
We just need some xpath values to achieve this goal.
xdMath:Eval(xdMath:Eval(my:Persons/my:Person, ‘concat(my:FirstName, “;”)’), “..”)
Just add this xpath code to a calculated value and set your values. As delimiter we use ; and concat it with the field my:FirstName. To get all values and not only the first one we need the math function eval. That’s it.
The article or information provided here represents completely my own personal view & thought. It is recommended to test the content or scripts of the site in the lab, before making use in the production environment & use it completely at your own risk. The articles, scripts, suggestions or tricks published on the site are provided AS-IS with no warranties or guarantees and confers no rights.
Dennis de Vries
Loving SharePoint, Social Media and like to work together with creative people all over the world.