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: 

Assign File to Existing Item

1 REPLY 1
Reply
Message 1 of 2
dvsmiller9
552 Views, 1 Reply

Assign File to Existing Item

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

Tags (2)
1 REPLY 1
Message 2 of 2
dvsmiller9
in reply to: dvsmiller9

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

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

Post to forums  

Autodesk Design & Make Report