Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
ids
rugged
Does anyone know if there is a unique id for objects within Teamsite that is the same across all versions of the object ?
(It looks like the object id changes for different version )
Find more posts tagged with
Comments
Migrateduser
According to the iwattrib docs, prevversion will give you the objid of the previous version, so from any given version of a file you could walk back along the chain - but there's no way to go forward that I can see.
Hope that helps
Rob
rob@bagpipe.com
file.pdf
rugged
Thanks.
However, I am looking for an id that is the same for all versions of an object.
Following the "chain" implies that each link of the chain has a different object id.
Edited by rugged on 08/09/02 05:37 AM (server time).
Migrateduser
I understood your question. From my experience, and the little bit of extra reading I did last to try and give you an answer, it does not seem that there is. I tried to suggest an alternative approach that might solve your problem.
Perhaps if you specify exactly what you are trying to do I can give you a better answer.
If you think about it, logically there will not be an id that is valid across versions of an object, because there are not multiple versions of an object. There are multiple versions of files (and presumably directories) - each version is a different object. That said, I can see some value in what you're looking for, so perhaps you should put in an RFE to have them add an attribute called famid or something which could collect related versions into a group.
Cheers,
rob@bagpipe.com
rugged
Thanks for your help. I think I might make that request, although I need the feature now, not later.
Once again thanks.
smigster
I've got the same requirement. What I wound up doing was saving the "original" objid as an extended attribute of a DCR. When the DCR gets submitted and the staging version of the DCR gets a new objid the original objid remains intact in the extended attribute. When someone does a Get Latest, and yet another objid is created for the new copy, it is still associated with the original objid through the extended attribute. The only thing you have to deal with is the Copy option on the File menu. You have to either disable or replace it because using it winds up with two different files with the same extended attribute "ID" -- which is a no-no.