On a topic, you can have an unlimited number of labels. When trying to filter by label though, out of box you can only filter by a single label.
It's possible to build the functionality to allow for filtering off of multiple labels using the API, but it's not a minor change by any means.
You can create it custom using the API.
Below is the example API to get messages based on multiple labels
Articles with all specified labels.
SELECT id, subject, href, view_href, kudos, post_time FROM messages WHERE board.id = 'this-is-an-international-blog' AND depth = 0 AND labels.text = "Label A" AND labels.text = "Label E" AND labels.text = "Label B" ORDER BY kudos.sum(weight) DESC LIMIT 10
Articles with one or more labels
SELECT id, subject, href, view_href, kudos, post_time FROM messages WHERE board.id = 'this-is-an-international-blog' AND depth = 0 AND labels.text MATCHES("Label A", "Label E", "Label B") ORDER BY kudos.sum(weight) DESC LIMIT 10
But doing this can I make it available for all the users to select more than one label without the API or is this only for admins to select more than one label?
Hope to find you doing well.
I know this one, thank you though! My question is, imagine they are browsing through a forum and want to select two labels to see posts with both of them? Or with three labels? Is this possible?
Here is an example of something we did when I worked at Anaplan I should have shared earlier to confirm what you are looking for: https://community.anaplan.com/t5/Best-Practices/tkb-p/communitykb
I’m guessing this is what you are trying to get? Only way to accomplish this is via custom development.
Hi @adriana4u - We had a dev agency do this work. It involved updating the PostPage with a custom component for the labels. I'm afraid you'll need to get professional services or a dev agency to do it for you. Or maybe someone has code to share; I'm afraid I don't!
Welcome to the Technology board!Curious about our platform? Looking to connect on social technology? You've come to the right place!