AnsweredAssumed Answered

Custom aspect properties not in ScriptNode

Question asked by gmccullough on Dec 16, 2014
Latest reply on Dec 17, 2014 by gmccullough
I've followed the tuts and created custom content model, have all of the Share parts working, can see and edit all the aspects and properties in the Share UI.  However, I can't access any of the properties from my webscript.  Using the following:

var node = search.findNode(noderef.toString());

returns correctly the item I'm looking for.  In the debugger, all the "stock" cm: properties are available, and the aspects are applied, but none of the aspect's properties are available in the node.properties array.

Is this correct?  I've seen many references that say I should be able to just do node.properties.myaspectproperty and viola, but no joy.
I've also attempted node.properties["my:prop"], but like I said, using debugger I can visually tell none of the properties are there.

Maven sdk 2 beta 3
Alfresco 5.0.a

Help appreciated!
gene

Outcomes