Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Which script handles the creation of records in the Connected Content table for a topic?

Sathwik1
Tera Expert
I created a record in the "Catalog and Knowledge Categories" table and clicked the "Add/Remove Content from Categories" UI Action. This automatically created records in the "Connected Content" table.

However, I'm unable to identify which script is responsible for this behaviour.



Could someone please share the script or point me to where it's defined?

 

@palanikumar @AndersBGS 

1 REPLY 1

ChrisBurks
Giga Sage

Hi @Sathwik1 ,

 

The experience I've had with the "Add/Remove Content from Categroies" UI Action doesn't authomatically create the records in the Connected Content table.

The out-of-box experience I get is that clicking on that UI Action related link opens a slush bucket that you have to manually select the items.

 

To see what's behind that UI Action related link I would right-click on it and click on the "Edit UI Action" link that pops up. 

ChrisBurks_0-1760931665857.png

 

This has a script that calls a UI Page named "edit_associated_content". 

ChrisBurks_1-1760931873630.png

 

Navigating to this UI Page you'll find all the code behind what this UI Action does in the HTML and Client Script sections. 

 

ChrisBurks_2-1760932246901.png