I want to update a system property which is protected by the protection policy. Is there any way by which I can update the system property?

Chandresh
Tera Guru

I want to update a system property which is protected by the protection policy. Is there any way by which I can update the system property?

1 ACCEPTED SOLUTION

Hi,


If I run this in background-scripts:


gs.setProperty('glide.db.clone.allow_clone_target','foo');


GlideProperties.dump();



I can clearly see that property is set to:


Property: 'glide.db.clone.allow_clone_target' = 'foo'


View solution in original post

10 REPLIES 10

Hi Chandresh,



Which property are you trying to change?



Simon


ismar1
Giga Expert

Hi!



I think you can work-around this with using background-script.


gs.setProperty('glide.property.you.want.set','value you wanna set');


Hi Ismar/Simon,



This is the property I want to change. Right now the protection policy is Read only.


glide.db.clone.allow_clone_target


Hi Chandresh,



Your link looks to be to point at one of the personal developer instances.   I don't believe ServiceNow will allow you to clone to those instances, you'll not have visibility of it on your hi. account even if you could change the value



Simon


Hi,


If I run this in background-scripts:


gs.setProperty('glide.db.clone.allow_clone_target','foo');


GlideProperties.dump();



I can clearly see that property is set to:


Property: 'glide.db.clone.allow_clone_target' = 'foo'