Hi,
I am trying to prepopulate the description field of the experience fragment into variation in 6.3. Is there an out of the box way to do this?
Thanks for the help.
Views
Replies
Total Likes
Hi,
There is no way to do that OOTB but you can do it using javascript as soon as variant created you can make an ajax request at
var path = Granite.author.ContentFrame.contentURL+"/jcr:content.json";
and read the jcr:description key and set the variations description field.
e.g. http://localhost:4502/content/dam/mfHTL63/title/jcr:content.json
Views
Replies
Total Likes
But we cannot set a property with javascript right?
Views
Replies
Total Likes
you can do but in your case variation is not yet created, so fill variation description with master description variation.
I don't think so if you need to create property for that.
Views
Replies
Total Likes