We are trying to code some functions so they can ONLY run when there is at least one item in replicant. However, when we try to find out the number children in a replicant within a container using the following API: "IWDatacapture.getItem( "/small_banner/sm_banner" ).getChildren().length", it returns the correct value when there is at least one item, but the entire code breaks when there is none.
Is there any other way to find out the amount of children in a replicant (within a container) or at least to find out if there is 0 or null items in a replicant?
As I said, the goal is to avoid running certain functions when there is no item in a replicant.
We are running TeamSite 6.0
Thanks!
HC
Edited by Hugh on 04/25/05 08:38 AM (server time).