Hi,
I am coding an ECMA script for a workflow in Adobe CQ5.5. I am not able to set a node property with String[] value. Here is an exception occured
Caused by: org.mozilla.javascript.EvaluatorException: The choice of Java constructor setProperty matching JavaScript argument types (string,object) is ambiguous; candidate constructors are:
interface javax.jcr.Property setProperty(java.lang.String,java.lang.String[])
interface javax.jcr.Property setProperty(java.lang.String,javax.jcr.Value[]) (/etc/workflow/scripts/vanity-url-localizer.ecma#38)
Could you please help me to set the node with String [] property value.
Thanks!
-Ram