I have a dynamic table where the end user picks a name from a drop down list field, which executes my web service call that brings back the data for that name and populates the other fields in the row. It works fine when there is only one row in the table. If a second row is added then the web service call for that name updates the fields for all the names in the table and not just that row's data. How can I fix this?
Thanks ahead of time,
Brian
Solved! Go to Solution.
Views
Replies
Total Likes
The issue is that when you create a new row the objects that are being created do not adjust their bindings to indicate that this is a 2nd occurance. So all same named objects in the table have the same binding and as such each object gets the same value. In this situation I woudl return the data to a hidden field and then do the binding myself. If you control the web service return everything in a single xml file. Then we can pasre that file and set the values into the fields. I created a sample that shows how to do this. You will not have the web service (its a LiveCycle process I created) but I think you should be able to understand what is happening.
Paul
Views
Replies
Total Likes
The issue is that when you create a new row the objects that are being created do not adjust their bindings to indicate that this is a 2nd occurance. So all same named objects in the table have the same binding and as such each object gets the same value. In this situation I woudl return the data to a hidden field and then do the binding myself. If you control the web service return everything in a single xml file. Then we can pasre that file and set the values into the fields. I created a sample that shows how to do this. You will not have the web service (its a LiveCycle process I created) but I think you should be able to understand what is happening.
Paul
Views
Replies
Total Likes
Paul,
I received your reply, added below, via email but for some reason I am not seeing it in the forum discussion.
The issue is that when you create a new row the objects that are being created do not adjust their bindings to indicate that this is a 2nd occurance. So all same named objects in the table have the same binding and as such each object gets the same value. In this situation I woudl return the data to a hidden field and then do the binding myself. If you control the web service return everything in a single xml file. Then we can pasre that file and set the values into the fields. I created a sample that shows how to do this. You will not have the web service (its a LiveCycle process I created) but I think you should be able to understand what is happening.
Paul
Can you post the sample again please?
Thanks,
Brian
Views
Replies
Total Likes
Interestingly when I made my second post asking you to post the sample again it made your first post visible to me so nevermind the second request.
Thanks,
Brian
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies