Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Serilization #523

Open
rfeuerstein opened this issue Dec 21, 2016 · 2 comments
Open

Feature Serilization #523

rfeuerstein opened this issue Dec 21, 2016 · 2 comments

Comments

@rfeuerstein
Copy link

GeoForm is great for replacing legacy paper and/or email reporting. Is there a way to implement a field that assigns sequential and custom unique identification numbers? For example, a six digit report code 100001, 100002, 100003, etc...

@driskull
Copy link
Member

Hi @rfeuerstein . The layer's objectId field is a unique field that is apart of every feature service. Could that be used?

@randomblink
Copy link
Contributor

I feel like you could edit the geoform/config/default.js and add minor javascript that creates that serialization ID and then add it in the 'defaultValue' attribute and maybe use the new 'locked' attribute to stop users from changing the new ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants