Select to view content in your preferred language

Using Integers as Project User Input

568
3
Jump to solution
02-23-2020 02:02 PM
Marc_Graham
Frequent Contributor

Hi there,

Currently through the GUI you can only configure Project User Input as strings.  If you edit the json you can convert it from EsriFieldTypeString to EsriFieldTypeInteger and this works ok as long as you actually capture the project user input.  If you leave it blank the app tries to submit an empty string "" rather than a null value.  This causes the record submission to fail.

I would like it if the project user input could be all possible values including int/double/string/date etc and if it is not filled in then it should submit null rather than "".

Regards,

Marc

0 Kudos
1 Solution

Accepted Solutions
JohnathanHasthorpe
Esri Regular Contributor

In 1.5 of the mobile app (released next month) the app will always submit null values if a userInput is left empty

View solution in original post

0 Kudos
3 Replies
Marc_Graham
Frequent Contributor

Further to this, it seems that the app parses 0 in the integer project user input as an empty string as well

Johnathan Hasthorpe

0 Kudos
JohnathanHasthorpe
Esri Regular Contributor

Hi Mark,

I'll get this one raised as a bug. The app should only submit nulls if an entered value is empty.

Thanks

John

0 Kudos
JohnathanHasthorpe
Esri Regular Contributor

In 1.5 of the mobile app (released next month) the app will always submit null values if a userInput is left empty

0 Kudos