AnsweredAssumed Answered

Javascript API - acess to aspect properties

Question asked by nancygaillard on Oct 22, 2014
Latest reply on Oct 27, 2014 by nancygaillard
Hi !

I am creating a script for a rule which create a reference for a file B to A where A references B.
I am working on a Windows 7 64 bits with Alfresco 4.2.e

My problem is that I can't find the aspect properties…

The aspect : cm : referencing, the property : cm:references

visible on Share, editable…

absent on the list of properties (document.getPropertyName(true)
present on the list of aspects (in document.aspects which is an array of strings)

but I need to know the referenced file to continue my script.

Somebody knows how to do?