Hi Thanks for your reply.I am using database sequence to generate unique number (sequence.nextval). So its really 'unique'. Any other thoughts apart of this suggestion.Rohit Pathak
The only valid ID for an DCR in Teamsite is the file path&name...
Every TS Object has a unique numeric Object ID. To get one on the SFS Element (File/Directory/Symlink): iwattrib vpath objidWhether it's a good idea to store this information in a Database, etc is a different issue.
Remember, that while it is unique - it is unique per server (if you have multiple servers the same id could be used on each - but I suppose it is unlikely that you'll deploy content from both servers to the same DB) - and if you migrate / re-migrate the content into a store you're not guaranteed that the same id will be associated with each object, so the value of the ID could change (this also isn't all that likely to happen, but ....)