Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Retrieve Nested Replicant Item with FormApi
cliffhanger
Hello,
I have two nested replicants, I was trying to get an item of the second replicant and used the following format to do so
IWDatacapture.getItem("/replicant1[0]/replicant2[0]/CHILD_ITEM");
I hardcoded the xpath, yet it's returning me a null item. Does anybody have a guess why?
Thanks a lot folks!
-cliffhanger
Find more posts tagged with
Comments
Dwayne
According to what I can see in the docs, replicate numbers are 1-based, not 0-based. So try
IWDatacapture.getItem("/replicant1[
1
]/replicant2[
1
]/CHILD_ITEM");
--
Current project: TS 5.5.2/6.1 W2K
cliffhanger
Hey Dwayne!
the Savior! Yes once I treated the indices as 1-based, it worked like magic
Thanks,
would still be banging my head on the wall otherwise
-cliffhanger