Select to view content in your preferred language

Reformatting objectid in Survey123 feature report

357
1
09-28-2023 03:57 AM
JamesRichardson_SK
Occasional Contributor

I have trying to use the autogenerated ObjectID to govern document numbers when printed onto feature reports but the digit part of the taxonomy has to be in a five figure format.

Currently I am using ${objectid}  to print the ObjectID into the report but this will just print the as the whole number e.g. 10.

Is there a way to format the ObjectID number to fit into the following format (00010)?

0 Kudos
1 Reply
TylerGraham2
Frequent Contributor

Try formatting the number as outlined in the number section of the report templates guide using the 0 to force digits or padded zeros to appear.

You'd want something like:

${objectid | format:"00000"}

0 Kudos