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: 

Difference Between DocumentService.AddUploadedFile and FileManager.AddFile?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
fcortes147
102 Views, 1 Reply

Difference Between DocumentService.AddUploadedFile and FileManager.AddFile?

Hi All,

 

What's the difference between these two methods?

  • WebServiceManager.DocumentService.AddUploadedFile
  • FileManager.AddFile

I understand that both are methods for when the file does not exist in Vault yet. A bit confused on which one to use.

 

Best,
Felix

1 REPLY 1
Message 2 of 2
Markus.Koechl
in reply to: fcortes147

FileManager.AddFile / CheckInFile are the recommended methods for uploading new files or file versions. DocumentService.AddUploadedFile is a second step after binaries are uploaded to the FileServer; it is not applicable as a single call.



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe

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

Post to forums  

Autodesk Design & Make Report