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.
var name = document.properties.name; if(name.equals("test")) { ……. } else { [b]the code that cancel the action[/b] }
alert ( "error");
I need to cancel the action to place the file(move,copy..) If in my case the file does not have the name "test", he cancels the action of the file entry. only this!!
I need this rule to use it in the WINDOWS(CIFS). Do you know how I use "alerts"? windows SO that show error messages
#log4j.logger.org.alfresco.repo.jscript=DEBUG