Field Autopopulation

Snow-Man
Tera Contributor

Hi Everyone,

 

I have a catalog item with two fields. 

1. Ownership Group (Ownership Group based on kb_knowledge table)

2. Knowledge Articles (Only Knowledge Articles with Ownership Group will be populated) (field type: list collector)

3. Knowledge Category (Knowledge Category of an article listed in Knowledge Article field based on kb_knowledge table)

 

Requirement: Once we select ownership group. So, all knowledge articles with that ownership group should be populated with the knowledge article numbers. 

 

also, Knowledge Category should also auto-populate only based on Knowledge Article field. in case of Knowledge Articles, with multiple article numbers. Field should be left blank.

 

how can this be achieved?

thank you in advance

 

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Snow-Man 

 

1. Ownership Group (Ownership Group based on kb_knowledge table)

Atul: Which field you are referring to track / store ownership group?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

AshishKM
Kilo Patron
Kilo Patron

Hi @Snow-Man ,

Share the code or screen shot of the stuck part, where exactly your have issues.

the first field "Ownership Group" - is displaying on catalog form, you can write onChange script for Knowledge Articles and prepare the comma separated sys_id value ( with reference ) and add then in list collector ), do the same for category.

Write some code part in client script and share the details for further help.

AshishKMishra_0-1704733338320.png

 

-Thanks,

AshishKMishra


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution