AnsweredAssumed Answered

Exceptions and alerts in Javascript?

Question asked by tdahlgren on Mar 5, 2008
A couple of questions regarding features available to JavaScripts added to the Data Dictionary and used in rules:

o  Are there any exceptions available that can be thrown?
o  Is there an easy mechanism to notify/alert the user of a problem detected in such a script?

I have rules to "validate" certain properties.  If the properties are deemed invalid, then I don't want the operation (e.g., move or copy) to succeed.  What is the "proper" way to do this in the Alfresco web client?

Outcomes