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.

Edit Checklist function 'Save as template'

Ezra Kim
Tera Contributor

Is there a way to edit the functionality of the 'Save as template' button on the Checklist formatter?

I'm trying to create a user-friendly way for ITIL techs to edit the checklist_templates from the formatter instead of going to checklist_templates.list. I was hoping to create another button called Update Checklist Template which would update the current template with the changes, listing what the changes are based on a comparison of the Checklist Items to the original JSON.

 

I see that there is a UI Action called "Save as template", but editting it doesn't seem to do anything to the button on the formatter.

 

I saw in another post that this functionality is within a widget that can't be editted, but was hoping that there was some way to work around this or even if just to have a reference script to build out a new formatter.

 

Snip.png

The only workaround I can think of that will still be user-friendly, is formatting the field on the checklist_template form that holds the JSON to be similar to the format of the Checklist formatter so that they can add/remove items directly from the template.

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@Ezra Kim Modifying the functionality of this component is not straightforward since it's part of the platform's core functionality. 

'Not straightforward' as in its complicated or as in I can't access the functionality to make it possible?