As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
* Failed to run Actions due to error: Failed to execute script 'workspace://SpacesStore/df918dab-380d-11db-9652-a5e698739f92': TypeError: Cannot read property "properties" from null (AlfrescoScript#25)
One special feature is all properties of type NodeRef are automatically converted into another Node object.
I'm trying to retrieve the categories attached to a document with JavaScript API in Alfresco Enterprise 1.3.1. I tried the example from the JavaScript WIKI with the "var locale = document.properties.locale.properties.name;" command. I added the locale aspect to the document but get this error: * Failed to run Actions due to error: Failed to execute script 'workspace://SpacesStore/df918dab-380d-11db-9652-a5e698739f92': TypeError: Cannot read property "properties" from null (AlfrescoScript#25)
Tried the same for the categories but it returns a NodeRef for every category and I can't add the ".properties.name" after a NodeRef element, it returns the null object.One special feature is all properties of type NodeRef are automatically converted into another Node object.What does this mean? I think it's what I tried with both the locale and the categories but I can't get it to work. Any ideas?
ID:noderef
ID:workspace\:\/\/SpacesStore\/e4f30acf-e98b-11da-821a-936824f635fe