on 05-09-2011 9:46 PM
I am receiving 2 String Lists (comma delimited) from a custom BAPI. Below are String List examples:
TagNames (String List 1)
Tag1
Tag2
Tag3
TagValues (String List 2)
1
0
1
I need to somehow bring these lists together so I can iterate through the associated lists and write the tag values using a Tag Query.
I understand how to utilize the Tag Query. However, I cannot find a way to bring the lists together in an indexed fashion.
Any help or advice would be greatly appreciated.
Thanks
Assign each list into a string list to xml parser action. Repeat on the tag names list and use the currentItem to create an xpath statement to get the values.
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now that I have that figured out I am finding that the performance isn't very good when repeating through the tag names and tag values while writing one tag at a time.
Using the Tag Query to write as many tags at one time as possible using the TagName and TagValue parameters improves the performance quite a bit (no surprise).
Now my challenge is how to get the values from the two taglists into the TagName and TagValue tag query parameters.
Any ideas?
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.