Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Custom Variable editor

Not applicable

We have  created a new variable editor using UI formatter  on custom table which is in Scoped application. When i submit the record producer it is showing the variable editor as read- only by default.

 

I've used below script to make it editable. But no luck. Can Some one help me to achieve this.

 

function onLoad() {
g_form.setVariablesReadOnly(false);
}

@Ankur Bawiskar Please help me 🙂

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@Community Alums 

is it normal client script or catalog client script?

it should be normal client script on that custom table and create it in scope app

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

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@Community Alums 

is it normal client script or catalog client script?

it should be normal client script on that custom table and create it in scope app

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

DaripallyK
ServiceNow Employee

 Hi

@Ankur Bawiskar Ankur Bawiskar 

Still i am unable to edit the variable editor on the target record

 

@Ankur Bawiskar Please help me 🙂