Search by specific label?
Hi
I've searched for this, but I can't seem to find anything.
Is it possible to search a viewport by a specific label?
I'd like a user to be able to search a help center themed viewport by a label from the search field. Find all articles labelled "audit" as an example.
I know the search field is there, I guess is there an advanced search function to accomplish this?
-
Hi Garry,
thanks for reaching out to us.
Sure this is possible with Viewport. We have a recipe page where we explain how you can create your own search template. At the very bottom you find parameters you can add to your search query to filter your search results. One of the parameters is "l" which stands for "labels". This will filter your search results by the given label.
Let me know if that helps and if you need any further informations.
Thanks and have a nice day.Best Regards,
Steffen
Please sign in to leave a comment.
Comments
1 comment