Hi,
Yes this should be possible with custom coding on the ArcGIS Mobile side, this may not be possible to be done on the server side using a python script.
I personally use the old 10.0 apk for now.
Here's basically how to do it.
- When the user collects a feature to the following below
- Get the MapLayer that you are working with
- Get the FeatureLayer in the map
- Loop through the Read the entire data table
- Look at the SampleID field
- Find the last number, and add one
- Keep that number and store it into the new feature that the user will collect.
So yes I do believe this is possible, just need to read the data table of the entire layer and save the value into the new feature's SampleID field.
This is roughly what you need to do, I hope this helps.