Hi,
We are using oscript to try and get category info of the target folder inside CBCopyPost event.
It seem like the object holding this information is not located in the regular local variables list.
It is important to mention that we dont want to be dependent on the option of the category metadata that is manually chosen when you copy file on the cs web IDE.
When I try to use copyInfo to get the target node metadata, it returns null:
Psaudo code:
DAPINODE ndCurrNode = DAPI.GetNodeByID( prgCtx.DSession().fSession, DAPI.BY_DATAID, CopyInfo.NewNode.pID )
if isDefined (ndCurrNode ) && isNotError ( ndCurrNode )
Object llNode = $LLIAPI.LLNodeSubsystem.GetItem(ndCurrNode.pSubtype )
result = llNode.NodeCategoriesGet( ndCurrNode )
Can you please post some example of how to get target category metadata on a copy event?
Thanks ,
Yaron