We've written some code to set the Disabled property of a system application using inline SQL. Is anyone able to confirm that this would behave as expected, because we're aware that amending directly via SQL can have unexpected consequences due to underlying complexities not visible at entity level?
We have opened a support ticket but Outsystems suggested we post here whilst they look into it further.
Hi Sienna,
There are two reasons to take caution when doing this, although I think in this case you are safe. My rationale below:
Kind Regards,João
I am assuming you are referring to the system entity Application and it's attribute Is_Active({Application}.[Disabled])?
You should be fine if you are just updating that specific value but I do not recommend it . But you can toggle that as well in serviceCenter
Yes I'm aware we can do it in Service Center, thank you, but we want it automated. I know it's not good practice to do this, but can I ask if there are any specific reasons you don't recommend this?
It's not Is_Active though, it's Application.Disabled.
Yes that's correct (although it's OS@SystemApplication), so I think in this case we should be ok, which is great.
Many thanks to you all for your help, much appreciated!