Custom Variable editor

manikanta1258
Tera Contributor

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
Tera Patron

@manikanta1258 

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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@manikanta1258 

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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

DaripallyK
ServiceNow Employee
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 🙂