Template Field Read Only Issue.

Aakanksha Kotti
Tera Contributor

Hello Community,

 

I had one requirement where i need to make the Template filed read-only for everyone in the Change Request form. It should allow only Change Managers and admins to edit them regardless of the state of the change.

We implemented a on-load Client Script. It is working properly, only issue here is whenever a change- coordinator applies the template from the toggle template bar, the name of the template is not visible on the template field. Due to this, some CTASKS are not getting triggered.

 

Very much appreciated your guidance on this. 

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Aakanksha Kotti 

please share screenshots of the script

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

AakankshaKotti_0-1738333555628.png

Here is the screenshot of the script.

 

@Aakanksha Kotti 

u_template is a custom field and how it is getting populated when template is applied from toggle bar?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Aakanksha Kotti 

 

Are you referring to template bar, and then by using that raising change? Any screen shot?

*************************************************************************************************************
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]

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