AnsweredAssumed Answered

How to get properties which are defined in Aspect by .js

Question asked by richard_tsai on Nov 21, 2006
Latest reply on Nov 22, 2006 by richard_tsai
Hi!
   I have a requirement to send notification to users by document creator setting. Thus, I create an aspect to store subscribeUsers and an rule to send email by property subscribeUsers.
   My question is how can I get properties which are defined in custom aspect by javascript?
I tried get property like the following
   document.properties.subscribeUsers
   document.properties["subscribeUsers"]
   document.properties["htckm:subscribeUsers"]
However, I just get null value from them.
   Is anyone know how to get my aspect properties in document and how to iterate all properties in document? It seems document.properties.length could return correct number of properties.
   BTW, is there better solution on this?

Thanks :)

Outcomes