Dear community,
Is there a way to update a site property in the UI so that it is changed from there on out?
I have a value that does not change often. It would make sense to use a site property for this value. However, the customer wants to be able to update it themselves, in the UI. Is there a way to do this?
My alternative is that I would create an entity with one record that holds the value. The vaue would change about 1 or 2 times a year.
(my application has 1 tenant, but it could become multitenant in the future)
Not sure I explained myself well but hope someone can help me :)
Thank you,
Liesbeth Crawley
Hi Liesbeth,
You can definitely write the logic to change a site property and invoke the logic from UI. However, this is not recommended as changing the site property has impact on application, you can read more about it on below link
https://success.outsystems.com/documentation/11/managing_the_applications_lifecycle/manage_technical_debt/code_analysis_patterns/avoid_site_property_updates/
Futher, like you mentioned this value is not likely to change often, then there is no value in having it on UI. Customer might argue that only highly authorized users can do it, but if that is the case then leave it to the platform maintenance team rather than exposing the capability to non technical users.
Hope it helps!
Junaid
Hi,
I hope this post help you.
But you already have a UI to change it in Service Center.
Thank you both! I would have never thought that a simple assign would actually work. I am quite shocked at this.
I completely agree with you Junaid. There is no reason to make this availble in our UI. The reason for doing this anyways is that when picking my battles with the customer, this battle did not make the cut this time. :(
Thank you!