Knowledge - Automatically populate taxonomy topics or subtopics

Vegard S
Kilo Sage

Hi!
I'm working on Employee Center Pro and I was wondering if anyone has any insight to automatically publishing knowledge articles to topics and/or subtopics directly via a knowledge article?

I noticed there's a taxonomy_topic field on knowledge records, which has an ACL rule that says nobody can write to this field. And assume there's a good reason for that. Still I tried to write to it to change the taxonomy topic, but the m2m_connected_content table still didn't update. So I guess I'll have to script it. 

But before I do that, I want to know if there are any known procedures for this. Or if I'm supposed to use Connected Content on Topics records to connect articles to specific topics. 

3 REPLIES 3

Sam Goode
Tera Guru

I think it works the other way round. You can add the m2m_connected_content table as a related list to the knowledge article form, and then add topics to that list.

The taxonomy topic field displays the primary topic, which should be the first one added to the m2m_connected_content table for that article.

There is a business rule on the m2m_connected_content table called "Set primary topic on content record" that looks like it sets the field value. It references a ContentPrimaryTopicUtil script include which in turn references a ContentPrimaryTopicUtilSNC script include which contains the logic. 

Fantastic info! I'll look into it! 🙂 Maybe I can create a custom field on knowledge articles and write a flow or business rule that inserts a record on the m2m_connected_content table, which in turn will trigger these out of the box rules

josBak
Tera Contributor

Hi, @Vegard S this post a is while ago, so I am wondering is you have build a solution to automatically assign the content to the topic on the m2m_connected_content table, and maybe like to share with us your solution?