I have a question which seems fairly simple, but I have not figured out the answer yet.
Situation:
1. one RepeatingTable in a form.
2. the table is binding to a response from Web Service.
3. the first column of the table is sequence number, tge second is name.
for example,
------------------------
1 James Bond
2 Micheal Jackson
3 Taeho Lee
As you can see, I will need to show sequence number in the first column in the repeating table.
Problem is that the web service does not give me the sequence number.
What do I need to set in the "Field Value" of the first column in the "Bindings tab".
Thank you,
Taeho.BPM
Situation:
1. one RepeatingTable in a form.
2. the table is binding to a response from Web Service.
3. the first column of the table is sequence number, tge second is name.
for example,
------------------------
1 James Bond
2 Micheal Jackson
3 Taeho Lee
As you can see, I will need to show sequence number in the first column in the repeating table.
Problem is that the web service does not give me the sequence number.
What do I need to set in the "Field Value" of the first column in the "Bindings tab".
Thank you,
Taeho.BPM
RE: Sequence number in RepeatingTable
You should be able to use a Field Value XPath of position() for your sequence number field to achieve this.
This function returns the position number of the current context element in the repeating set so should give you what you want.
I hope this helps.
Regards,
Gerard