Using System properties in a scoped application

leachy23
Kilo Expert

Hi all, 

I'm currently having issues trying to figure out how to use system properties in a scoped application. 

I want to copy a global property for use in my scope but I cant seem to get it working. We cant use the global property, because it alters the forms within the global scope and negates the point of developing this scoped app. 

The property in question is glide.ui.show_live_feed_activity, like I say I can create the property fine, but its not being called. Do I need to invoke via a script include?

Iooking over my documentation This wasn't covered very well in the App Developer or scripting courses. 

Grateful for all assistance. 

 

 

6 REPLIES 6

asifnoor
Kilo Patron

Is this not working for you?

gs.getProperty('x_scope_app.glide.ui.show_live_feed_activity'); //replace x_scope_app with your scope.

Also, if your script and property are in the same scope, then you don't need to add the application scope. you can directly call with the property name.