Unique ID

Discussion created by afcon on Jul 3, 2013
Latest reply on Jul 11, 2013 by MBranscomb-esristaff
I am writing an app. which get from the user URI for map services (can be online or offline) which their content is unknown.
I then investigate to collect all Graphic objects on those map services layers and let the user declare some settings which relates my app. those settings will be stored on DB.
My problem is that i can't find any unique ID for the graphics (i know they have attribute dictionary - but i can't ensure they will have an ID field). if there is no id - i can't really apply/connect the setting to a specific graphic.
maybe i can add those attributes a custom MY_APP_UNIQUE_ID field of my own and save it to map service, so the next time i will
open my app i could apply the settings for the correct graphic?
any ideas?