Hi,
I'm using AEM 6.1 and we have a requirement to lock the pages which come after the search result. In the search tab, we will search the text and it will show the result pages related to it. I have to lock/unlock these pages. Currently, in AEM 6.1 we don't have these feature. Is there any way I can customize or add these feature same as we have in our website tab.
Currently, in AEM 6.1 we don't have these feature in search tab but we have the lock/unlock feature in website tab for pages.
Is there any way I can customize or add these feature same as we have in our website tab.
Solved! Go to Solution.
Hi Prajwal,
There is no need to restart any service.This is working as expected at my end.
Just you need to change the context property by adding the "toolbar".
Please find the attached screenshot.
Thanks,
Hi prajwal008,
Generally to lock/unlock a page we need to open a page and go to the page properties and lock/unlock it.
But as you mentioned-"in AEM 6.1 we don't have these feature in search tab but we have the lock/unlock feature in website tab for pages".
I didn't find the lock page functionality on website tab.
Can you please give more details on it.
Thanks,
Views
Replies
Total Likes
Hi,
In Siteadmin, we have website and search tab. In website tab when we select a page we can see the lock/unlock link beside workflow in the menu bar. But when we search a text and page result shows and we click on a page there is no lock/unlock link present on the menu bar. I'm trying to customize or add the lock/unlock feature present on website tab to search tab.
I hope I have cleared your doubt.
Thanks,
Prajwal A
Views
Replies
Total Likes
Hi Prajwal,
I got your issue.
Please navigate to "/libs/wcm/core/content/siteadmin/tabs/searchpanel/actions/lock".
Update "context" property by adding "toolbar" to it.
Please find the attached screenshot.
Thanks,
Hi,
I tried your solution but it didn't workout.
See the below Screenshot.
Do we have to do anything else?
Thanks,
Prajwal A
Views
Replies
Total Likes
Hi,
I have tried changing the text value of 2-3 links but nothing is showing up in the toolbar. I have verified that I have access to that node in useradmin.
Do we have to restart any service to make this changes take effect?
Thanks,
Prajwal A
Views
Replies
Total Likes
Hi Prajwal,
There is no need to restart any service.This is working as expected at my end.
Just you need to change the context property by adding the "toolbar".
Please find the attached screenshot.
Thanks,
Hi Prajwal,
Please verify if you are updating at correct location:
/libs/wcm/core/content/siteadmin/tabs/searchpanel/actions/lock
/libs/wcm/core/content/siteadmin/tabs/searchpanel/actions/unlock
I think you can also create same node structure in apps and add the toolbar property there.(unverified)
Hi,
PFB the SS of the configuration I have in my AEM at the location - /libs/wcm/core/content/siteadmin/tabs/searchpanel/actions/lock
Please verify if it is correct. I have also verified that I had full access to this node to make changes.
Thanks,
Prajwal A
Views
Replies
Total Likes
Is it not working for you yet ?
Views
Replies
Total Likes
No, it is not yet working for me.
Views
Replies
Total Likes
Hi,
Do you have any idea, if there is any listener written to show/hide the text value in the toolbar?
I tried copying existing value /libs/wcm/core/content/siteadmin/tabs/searchpanel/actions/activate and paste under same node with /libs/wcm/core/content/siteadmin/tabs/searchpanel/actions/lock1.
I rename 'activate' to 'lock1'. But this new node is also now showing.
Thanks,
Prajwal A
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies