Hi there,
I’m having an issue with an orphaned object that doesn’t seem to get picked up under all circumstances (e.g. outlook email drag and drop). I’m using CS10 and Enterprise Connect 10.2
I have orphaned WEBDOC:Docnode.Document into my module and made modifications to action-create2 and _SubclassCreate2Pre scripts.
When I use AddItem in the Web client, or save documents from Word or EC Explorer drag and drop, my mods get picked up. But if I save an email via drag and drop in Outlook it still uses the original scripts in WEBDOC:Docnode.Document. I’ve verified this by setting breakpoints in both the webdoc and my module’s versions of these scripts.
I presume it’s something to do with the way the EC email handling is calling action-create2 that causes the inheritance to be ignored.
I’ve tracked back, and with Outlook drag and drop, action-create2 is being called from the NGD.XMLRequestHandler.insertDocAction script function:
function Assoc createItem(Object prgCtx, DAPINODE parent, Object webNode, String objAction, Assoc param)
Assoc result
Assoc ret
#ifdef JAVA
webNode.( "action_" + objAction )( param )
#else
webNode.( "Action-" + objAction )( param )
#endif
Which in turn is called by
createItem(prgCtx, parent, webNode, "create2", param)
in the _CreateEmail function.
Any assistance or guidance would be appreciated
Thanks, Rob