AnsweredAssumed Answered

Method not found in alfresco 5.0

Question asked by g_rathod on May 27, 2015
Hi,

Following snippet works in my alfresco 4.2.4 Enterprise. Its alfresco Javascript repo side js snippet.


 attributeService.setAttribute(Packages.java.lang.Double(value), cur1, cur2, cur2PerCur1); 

When I upgrade to alfresco 5 , I am facing error

"Packages not found"

what is solution to make it double? and resolve this error?

What is working syntax in alfresco javascript to make this value or cast it to Double??


Thanks in advance.



Outcomes