How to remove the last searched keyword from Site Search when user logs in?
My requirement is that when user logs in Site Search dashlet should be empty and any searches made from there after should be active during user session.
Hi,
This search term and result of that term are stored in Preferences so you have to remove that to clear out search result during new login.
you can do that change in site-search.js to clear preferences.
Thanks,
Thanks Sanjay.
Buy my requirement is to clear the search keyword and results (preferences) during login (only once), not every time user move away from site dashboard.
Also I have set user home page as Site home page for some of the users, in this case, will it work?
I think this search is stored in user preferences so first thing you have to find how they are storing ?(I haven't trid)
After that clear that preferences as soon as login is complete.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.