Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

samuelel6286660
Community profile samuelel6286660 Level 1
Job title here
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 24-08-2017 7:57:45 AM
Offline
Top badges earned by samuelel6286660
Customize the badges you want to showcase on your profile
set jcr properties with js
Avatar
Ignite 1
Level 1
samuelel6286660
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Ignite 1
View profile
samuelel6286660
- Adobe Experience Manager
Hi guys,i'm using cq5.5 and i need to retrieve a property inside the loadcontent of a dialog, i can do it with the following code:loadcontent="function(comp) { var properties = CQ.shared.HTTP.eval(CQ.shared.HTTP.noCaching(dlg.path+'.-1.json')); if(properties.myVar== undefined) properties.myVar= '0';}"Now i need to update the value of myVar and save it inside the jcr:contentIs there a way to do it?I can create for example something like this (it is a pseudocode):var panel = comp.findParentByType(...

Views

321

Likes

0

Replies

0