Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get an Item Revision Ids'

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
1064 Views, 5 Replies

Get an Item Revision Ids'

Is there a function within the 2009 API to get an item's revision ids?  Also, is there a safe way to restore an item's revision id to an earlier point, not just the file's version, the item's entire rev id, the rev number.

5 REPLIES 5
Message 2 of 6
Redmond.D
in reply to: Anonymous

The RevId property on the Item object will tell you the revision ID.

 

You cannot move back to an earlier revision number.  There is a restore feature that allows you to copy data from an earlier item revision, but the revision number does not change.



Doug Redmond
Software Engineer
Autodesk, Inc.

Message 3 of 6
Anonymous
in reply to: Redmond.D

If a revision ID becomes corrupt,  meaning you cannot see where the item is used for that specific revision, but all other revisions for that item show where it is used, via the slider, is there a way to fix this?

Message 4 of 6
Redmond.D
in reply to: Anonymous

GetItemsByItemMasterId will get you all the revisions for the item.  However I'm guessing it will give you the same thing you see on the slider.  If you can't find the revision you want, then it is inaccessible.



Doug Redmond
Software Engineer
Autodesk, Inc.

Message 5 of 6
Anonymous
in reply to: Redmond.D

On the slider it says "Latest", "Effective", then gives a few revisions.  All the options on the slider work except the "Latest" option, which gives me 1404 error when using the "Where Used" tab.  Also when I try to change the state it gives an error 0 "Contact your system administrator."  What would cause the error 1404 for the Latest revision, is there a fix?

Message 6 of 6
Redmond.D
in reply to: Anonymous

This is a problem with the client application itself, right?  This is not an API issue?

If you search this newsgroup for "1404" you should come across helpful information.  After that you would need to contact our Product Support team.



Doug Redmond
Software Engineer
Autodesk, Inc.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report