Mandatory field on the Kb article

Pierre Midro
Tera Contributor

Hello to all,

I have a customer need
On the kb_knowledge_base.list table I have created a custo field (u_mandatory_ownership_group) of type (true /false)
When creating a knowledge base Kb, if this field is checked to true, make the field ownership group (ownership_group) which is on the table of articles: kb_knowledge.do to mandatory and if it is not checked to true, do not make it mandatory.
Attached are the screen shots of the two tables
Thank you for any suggestions.

Regards

Midro

 

1 ACCEPTED SOLUTION

SumanthDosapati
Mega Sage
Mega Sage

Hi @Pierre Midro 

You can simply write a UI policy on knowledge article table (kb_knowledge) as below screenshot

find_real_file.png

 

Instead of selecting Knowledge base.Active  is  True

Select your custom field like  Knowledge base.Mandatory Ownership   is   True

 

In UI policy actions, Set your ownership_group as mandatory.

 

Mark it as correct if it worked.

Regards,

Sumanth

View solution in original post

6 REPLIES 6

Here a screeshot :

 

That should probably work. 
May be you are first opening the knowledge article.. after that you are opening the knowledge base an clicking the checkbox.

First you check the checkbox in knowledge base and save it.

Then now for any articles opened which are under that knowledge base you will see the mandatory field.