I have a replicant called repResType. I want to trigger a function call when a new replicant is added. I've added the following code to the datacapture.cfgIWEventRegistry.addItemHandler("/repResType", "onReplicantAdded",populateCats);.
what if you add return true;to the end of your onReplicantAdded method?
It does not reside in that location. It sits within one of our content branches.One thing I noticed ... If you go to the bottom of the replicant and click +, the event doesn't fire. If you go to the newly added replicant and click the +, it does fire.Also, if you do the same thing in the middle of the replicant, the event never fires.
I get the alert before and after the call
... initializeDCT();
...IWEventRegistry.addFormHandler("onFormInit", initializeDCT);