Hi, excuse me, Im noob in AEM 6.3. I have a cq: Client Library Folder that contain a js with a function as shown below.
but it said "granite is not defined" when I try to get some property from the touch UI dialog like this:
var prueba = granite.resource.properties["showComercializable"];
where "showComercializable" its the name property in touch UI dialog.
thanks in advance
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You need to create JS Use-API(server side JS) and use inside HTL, clientlibs are use for client side. Please check below.
Thanks
Arun
Views
Replies
Total Likes
Hi,
You need to create JS Use-API(server side JS) and use inside HTL, clientlibs are use for client side. Please check below.
Thanks
Arun
Views
Replies
Total Likes
AFAIK, on client side there is no object with name granite but there is one with Granite
What are you trying to achieve, based on which I can recommend client/server side
Views
Replies
Total Likes