Hello All,
As such, I have created an overlay of the startworkflow.jsp file which defines this dialog box.
The overlay is functional, however, I was wondering if it is possible to move the "cq/gui/components/authoring/
With this in mind, is an overlay approach still feasible? If not, are there any other recommended approaches to override/extend this dialog?
Any help or advice is much appreciated!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi All,
I ended up addressing this issue by editing the "Resource Search Path" in the "Apache Sling Resource Resolver Factory" configuration from the OSGi configuration manager. I added a search path ("/apps/my-project") between the default search paths "/apps" and "/libs". As such, I was able to define my overlay in "/apps/my-project" and have the Resource Resolver find it before going to the default component definition in "/libs".
Thanks,
Natalie
Hi,
I don't think that this is possible. If you want to overlay scripts, you need to mirror the structure of /libs within /apps. Having overlays in project specific folders is not possible (otherwise there would be the question what the resolution order of these folders would be, in case you have multiple potential overlays).
Limiting your reach as a developer to /apps/my-project isn't bad per se, but it just does not allow you to create product overlays. If you really need to create that change and there's no other chance than to overlay it, ask the people which are responsible for this restriction.
Kind regards,
Jörg
Thank you for your answer, Jörg. Much appreciated.
Hi All,
I ended up addressing this issue by editing the "Resource Search Path" in the "Apache Sling Resource Resolver Factory" configuration from the OSGi configuration manager. I added a search path ("/apps/my-project") between the default search paths "/apps" and "/libs". As such, I was able to define my overlay in "/apps/my-project" and have the Resource Resolver find it before going to the default component definition in "/libs".
Thanks,
Natalie
Hi Natalie,
Thanks for sharing this solution to the community and hope your issue gets solved.
Please mark this thread as solved from your end.
~Ratna.
Views
Likes
Replies