Template Field Read Only Issue.

AakankshaSK
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

@AakankshaSK 

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.

 

@AakankshaSK 

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

Hi @AakankshaSK 

 

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

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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