- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-23-2020 04:50 PM
Hi,
Is there any way to replace the suggesters used in the default search boxes? For example, the quick search bar at the top right
or the User/Group search bar when adding permissions to a document
?
I tried using the solution in this post as a starting point, but it didn't seem to do anything (https://answers.nuxeo.com/general/q/bd32daf958cc4751a5aa64aa2530a7c6/Remove-user-and-group-suggestio... ). Please let me know if my question is not clear or if there is any more information I can provide to help come up with a solution.
Thank you,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2020 06:46 PM
Hello,
At the end, there are a lot of different questions in your post:
To customize the default query triggered from the global search: you can take inspiration from https://github.com/nuxeo/nuxeo-studio-community-cookbook/tree/master/modules/nuxeo/modeler-tips-tric...
You can edit tthe suggestion formatter on every suggestion, like in https://github.com/nuxeo/nuxeo-studio-community-cookbook/tree/master/modules/nuxeo/document-suggesti...
Then, if you want to edit an existing element, you would have generally to:
- Paste the code of the element from the nuxeo-web-ui repository
- Copy the code in a new element (that you have renamed)
- Declare it in your bundle file
- Make a slot contribution to use the new element
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2020 06:46 PM
Hello,
At the end, there are a lot of different questions in your post:
To customize the default query triggered from the global search: you can take inspiration from https://github.com/nuxeo/nuxeo-studio-community-cookbook/tree/master/modules/nuxeo/modeler-tips-tric...
You can edit tthe suggestion formatter on every suggestion, like in https://github.com/nuxeo/nuxeo-studio-community-cookbook/tree/master/modules/nuxeo/document-suggesti...
Then, if you want to edit an existing element, you would have generally to:
- Paste the code of the element from the nuxeo-web-ui repository
- Copy the code in a new element (that you have renamed)
- Declare it in your bundle file
- Make a slot contribution to use the new element
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2020 12:09 PM
Thank you for your response Gregory, I will try these methods now.
