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
samuelel6286660
Offline

Badges

Badges
1

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
1

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
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

331

Likes

0

Replies

0