AEM 6.4 Customization of convert to experience fragment dialog

Avatar

Avatar
Level 1
yashwantv652839
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
yashwantv652839
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
yashwantv652839
Level 1

29-04-2020

We have the following requirement that at time of experience fragment creation I have to provide variation title and variation tag but I don't have those options in the dialog in the new fragment creation action, I tried to overlay the dialog but it is still loading the libs.

I am able to override the existing dialog if I change the dialog url variable in /libs/cq/experience-fragments/editor/clientlibs/experiencefragments/js/editor/actions/convert.js to point to apps instead of libs.
is the above approach a good practice?

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 50
Employee
Vish_dhaliwal
Employee

Likes

189 likes

Total Posts

356 posts

Correct reply

123 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
Vish_dhaliwal
Employee

Likes

189 likes

Total Posts

356 posts

Correct reply

123 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Vish_dhaliwal
Employee

29-04-2020

Hello,

 

That is not a good approach and certainly not recommended. Your changes will go away on the installation of service packs (if SP has code changes related to this path). 

Please review the sling Resource Merger doc [1] to make sure the overlay/override is implemented correctly.

I am assuming you are using 6.4 or 6.5. This path is marked as Internal (granite:InternalArea) which means it cannot be overlaid, inherited, or used directly. These nodes are meant only for the internal functionality of AEM.

[1] https://docs.adobe.com/content/help/en/experience-manager-65/developing/platform/sling-resource-merg...

Regards,

Vishu

 

 

Answers (0)