Recovery Data userSettings How are the value...

(Kyle Grieb) #1

Recovery Data userSettings

How are the values for userSettings set? My app has null values for _EMAIL,_NAME,_THISUSER. Yet I have a custom setting Email which is set to useremail().

(Steven Coile) #2

User Settings are defined in the app editor in Data > User Settings, are changed by the user in the app’s menu under Settings, and are referenced in expressions using USERSETTINGS(). User Settings: The Essentials help.appsheet.com

(Kyle Grieb) #3

So you are saying that _RowNumber, _EMAIL, _NAME, _LOCATION, _THISUSER are all defined by Data > User Settings?

(Steven Coile) #4

_RowNumber is set automatically; you have no control over it. _EMAIL, _NAME, _LOCATION, and _THISUSER are not built-in values, as far as I know. Therefore, if your app uses them, they’re being provided by your app, not by AppSheet.

(Kyle Grieb) #5

Failing to find those settings documented. These are available in recovery data in the userSettings array. I don’t have any specific declarations for these variables in the app. I am strongly thinking these are provided by default configuration. If I could get verification that these are not built-in and if they are, why they are not set to useremail(), username(), here(). Legacy?

(Steven Coile) #6

What “recovery data” are you referring to? What “userSettings array”?

(Kyle Grieb) #7

_recoveryData when a user presses “Show Changes”

(Steven Coile) #8

Ah. Those are internals. A developer will have to address that.