Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Save DCR issue
Dasari
Hi,
I am facing an issue when saving the DCR. It is throwing an error "Invalid Category/type null was received". This is because of number of tiny MCE replicant containers are using inside the DCT/DCR.
When I click on "Expand All" link on top right corner of the DCR and then save the DCR, then it is working fine.
I tried to implement the same during the onSave by calling the function called datacapture.execOnAllItems("expand()") from the Abstractdatacapture.js file. But its not working as expected.
Can anyone of you faced simillar kind of issue, Please let me know the solution. I am using TS 6.7 SP2
Thanks,
Dasari
Find more posts tagged with
Comments
Rick Poulin
You'd be better off attempting this with the supported APIs first. Use IWDatacapture.getRootItems() and then recurse through iwItem.getChildren() checking if (iwItem.getType().contains("container")) { iwItem.setCollapsed(false); }... provided those APIs were available back in the stone age.
Dasari
Thanks. I have added a JS function to expand the container and replicant items.