Check-In files by API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I'm trying to create an addin to make my life a bit easier. Addin will generate PDF and AutocadDWG files from selected DWG files. One of the features is to check-in files automatically at the end.
My question is - how to to this properly to not make mess inside the Vault.
On the method ChekinFile there are lot o fields to fill:
File CheckinFile (
Long fileMasterId,
String comment,
Boolean keepCheckedOut,
DateTime lastWrite,
Long [] dependFileIds,
String [] dependSources,
Long [] attachFileIds,
String [] attachSources,
BOM bom,
Boolean copyBom,
String newFileName,
FileClassification fileClassification,
Boolean hidden,
System.Byte [] fileContents
);
So, what I should be aware of? How to put a correct file associations to have everything correct in Vault Explorer. And do I have to create DWF file by my self and upload it to?
I will appreciate any help.


