Home
TeamSite
TeamSite, LiveSite and OpenDeploy
FormAPI>accessing readonly container items
catorarn
Hi,
I am trying to retrieve value of an node within a container via FormAPI.
I tried accessing it via:
scriptFrame.IWDatacapture.getItem ('/metadata/id')
and by looping through the children collection
var metadata=scriptFrame.IWDatacapture.getItem ('/metadata');
var children=metadata.getChildren();
for(var counter=0;counter<children.length;counter++){
var item=children[counter];
alert(item.getName()+' '+item.getValue());
}
In both cases, i get a value of null though in the DCR there is a value.
Can you tell me how should I access elements within a container.
Thanks.
Find more posts tagged with
Comments
There are no comments yet