Vault Customization

Vault Customization

Reply
Contributor
dmiller
Posts: 108
Registered: ‎09-21-2006
Message 1 of 2 (281 Views)

Assign File to Existing Item

281 Views, 1 Replies
06-20-2012 06:39 AM

Has anyone had success assigning a file to an existing item? I'm using the sample code in the SDK under Itemservice.ReassignComponentsToDifferentItems to do this.  PromoteFiles seems to work OK but the ReassignComponentsToDifferentItems keeps throwing error 1415.  Looking at the exception in VS2008 doesn't give me any more detail as to why.

 

A little background: I'm trying to create items with some history to them. Create an Item, set properties, attach and pin CAD files (but not assign yet) and scans for that revision, release, revise and repeat until I get to current revision.  At current revision while in WIP assign CAD file.  If I do this manually through the GUI Vault client it works in the wizard, so I'm probably mising a step or setting when doing it thru the API.

 

Thanks

Contributor
dmiller
Posts: 108
Registered: ‎09-21-2006
Message 2 of 2 (278 Views)

Re: Assign File to Existing Item

06-20-2012 06:44 AM in reply to: dmiller

I'm using Vault Pro 2011 Update 2 with current hotfixes.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.