Select to view content in your preferred language

Default or Force column to store Upper Case?

667
2
08-11-2021 02:15 PM
Labels (2)
LorindaGilbert
Frequent Contributor

Hi All,

Working on setting up a project and the client has asked if there is a way to enforce a column's value to always be upper case.  I see the arcade function of Upper(value), tested it and it didn't do what I expected.

Any sage advice out there for how to do this?  It will be published to be used in a web app as well.

Thanks,

Lorinda

0 Kudos
2 Replies
DavinWalker2
Esri Contributor

Attribute rules should be able to help you achieve your outcome. 

0 Kudos
LorindaGilbert
Frequent Contributor

I tried it with an attribute rule. 

var cmts = $feature.Comments

    Upper(cmts)

return cmts;

Applied after adding test string, still lower case.  Did I miss something in this one?  Did as a calculation rule, maybe it should be a constraint rule?

0 Kudos