Hi ,
I am upgrading code to Touch UI as part of that rewriting the listeners as well. One of the requirement needs to get the selected page URL from 2 locations one is from the sites and other from the page edits.
what are the equivalent API methods for these 2 in AEM6.2?
CQ.wcm.SiteAdmin
CQ.HTTP.noCaching(CQ.HTTP.getPath())
Or How can I get the selected page in Touch UI?
Can anyone let me know how I can have the selected current page path in the js?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
This is a really difficult question as Granite does not necessary have matching APIs from Classic UI.
Here is the complete Granite Reference:
Also - check Blog - he has written a lot of great Touch UI blog artilces -
I will see if he has a specific one that can help you!
Views
Replies
Total Likes
Any luck on this query. It's very urgent.
This is a really difficult question as Granite does not necessary have matching APIs from Classic UI.
Here is the complete Granite Reference:
Also - check Blog - he has written a lot of great Touch UI blog artilces -
I will see if he has a specific one that can help you!
Views
Replies
Total Likes
"How can I get the selected page in Touch UI?"
Sreekanth - the blog author suggested this:
try
var fSelections = $(".foundation-collection").adaptTo("foundation-selections");
if(fSelections && (fSelections.count() > 1)){
showAlert("Select one asset", 'Error');
return;
}
In TOuch UI - you can use JQuey selectors.
Views
Replies
Total Likes
Thaks for the suggestions and reply. I am able to resolve it by another way. I will go through those links again to check for the solution.
Thanks
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies