I am using the built-in teamsite function inorder to save DCR using a DCT field value. However, I am having hard time in figuring out how to restrict the save function not to overwrite an existing DCR having the name identical to a field value in a brand new DCT. Is there a built-in function to restrict the iwdatacapture.save() not to overwrite same name dcrs?
Are you using setDCRName? If so, you may use its callback Function, see for example here.With this approach all can be done locally, you do not have to code any server-side scripts, etc.
Are you using setDCRName? If so, you may use its callback Function, see for example <a href="http://devnet.interwoven.com/forums_vb/showpost.php?postid=98599" target="_blank">here</a>.With this approach all can be done locally, you do not have to code any server-side scripts, etc.
I removed the finalize() function and added the code instead in the perl like the following: api.IWDCRInfo.setDCRName(val); api.IWDatacapture.save();and its now seems to be working. However, one small issue is that it doesn't allow edited dcrs to be resaved and is prompting with the message that was suppose to appear for the existing dcrs. Is there a way to know if a dcr is newly created or edited?