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)
COunt of Replicant items Using FormAPI
hemranga
Hi,
Little question: how can I get the number of item instances in a replicant using formAPI?
Thanks in advance
Find more posts tagged with
Comments
Michael
Basically you need to get your replicant item. Once you have that you can getChildren on it which returns an array. On your array you have the length attribute.
Code snippet follows:
var idItem;
idItem = IWDatacapture.getItem(idItemName);
var nextLevelItems = new Array();
nextLevelItems = idItem.getChildren();
for(k=0;k < nextLevelItems.length;k++)
(steps in loop
Hope this helps.
Cheers
Michael
Example.ssd
hemranga
hey thanks for the help. I will check it out. Thanks again
Example.zip