How to automatically add default attribute values for added features
Hi everyone,
I use VertiGIS Studio Mobile.
In my app the user is able to create features with the standard tools or workflows, which are started both manually and automatically.
No matter which method is fired, I want to add default values to the features that have just been created. The default values consist of username and timestamp. So there is no constant but variable values.
How can I do this? I tried to realise this example: https://developers.vertigisstudio.com/blog/2023/03/01/mobile-generic-event-listener/
Unfortunately it didn't worked.
Hope you guys can help me!
Regards
Yannik
-
I think that example should work when listening to the edit.feature-added and / or edit.feature-updated event. What exactly did not work?
That said, if it's just about username and timestamp, you could consider enabling editor tracking on these featureclasses
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar