Overview
If you are looking to obtain a list of preset tags for your Aurora Community, this article is for you!
Preset tags must be managed through the Khoros Admin interface, and an alternative method involves querying boards and using the predefinedTags field.
Solution
-
Manage Preset Tags via Admin Console:
- Log in to the Khoros Admin Console.
- Navigate to Community Admin > Features > Tags > Tag Management or Settings > Community Structure > Select Board > Content Features > Tags, depending on your admin interface version.
- Preset tags will be visible in the "Preset Tags" section. Here, you can view, add, or remove preset tags as needed
-
For further step-by-step instructions, please refer to this article: Aurora: Enable tags and set tag options
-
-
Alternative Method to Fetch Tags:
Use GraphQL to fetch the tags with the below query (Forming calls with GraphQL in Aurora)query MyQuery { board(id: "board:<your_board_id>") { predefinedTags } }Replace
<your_board_id>with the actual board ID. -
Use Tags in GraphQL Mutations:
- Ensure all tags used in GraphQL mutations are present in the preset list managed via the Admin Console.
Important: Preset tags must be managed through the Admin Console, and only those in the preset list can be used in GraphQL mutations.
Frequently Asked Questions
- 1. How do I manage preset tags in Khoros Community?
- Preset tags are managed through the Khoros Admin Console under Community Admin > Features > Tags > Tag Management. You can view, add, or remove tags as needed.
- 2. Can I fetch preset tags directly using GraphQL in Khoros Aurora?
- No, the current GraphQL schema does not support fetching preset tags directly. Use the
predefinedTagsfield in board queries as an alternative. - 3. What should I do if I encounter the "Field 'tags' in type 'Query' is undefined" error?
- This error indicates schema limitations. Manage tags via the Admin Console and use the alternative method to query boards for
predefinedTags.
Ciprian Nastase
Comments