What are the rules when setting default values for AGOL hosted feature layer fields? (using the Admin REST API)
For example:
- Use SQL Server's SQL syntax/dialect.
- GIS Stack Exchange: What kind of database does ArcGIS Online use to store data?
- GUID and number fields support expressions, but text fields don't.
- Idea: Allow expressions in AGOL string field > default value
- Here's a useful error message I got when trying to use OBJECTID+1 as the default value for an integer field:
"Valid expressions are constants, constant expressions, and (in some contexts) variables. Column names are not permitted." Link - Are there any other known rules? Or any other useful error messages that could be noted here?
(To Esri staff: Could the rules be added to the AGOL docs?)