Vault Customization

Reply
Mentor
amitk_189
Posts: 242
Registered: ‎12-15-2011
Message 1 of 3 (190 Views)
Accepted Solution

Checkout

190 Views, 2 Replies
12-17-2012 02:18 AM

Hello,

Am stuck up in file check out event, actually slightly modified my code so that the current proccess is FileCheckOut-Update-FileCheckin. 

 

I used

 mgr.DocumentService.CheckoutFile(folder.Id,file.Id,CheckoutFileOptions.Master,"DUMMY","D:\\Temp\\Test\\","",DownloadOptions.Download,false,

 

Issue: what should i specify the last option, that is Out ByteArray FileContents and will this option checks out a file

You create a new ByteArray variable and pass that in.  For C# you use the 'out' keyword.

The CheckinFile page has some exampe code.

Employee
Redmond.D
Posts: 814
Registered: ‎12-12-2006
Message 2 of 3 (185 Views)

Re: Checkout

12-17-2012 05:14 AM in reply to: amitk_189

You create a new ByteArray variable and pass that in.  For C# you use the 'out' keyword.

The CheckinFile page has some exampe code.



Doug Redmond
Software Engineer
Autodesk, Inc.
http://justonesandzeros.typepad.com/

Mentor
amitk_189
Posts: 242
Registered: ‎12-15-2011
Message 3 of 3 (174 Views)

Re: Checkout

12-17-2012 08:36 PM in reply to: amitk_189

Ok Doug, I will work on It. Thanks for Information.

 

 

Thanks and Regards

Amit

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.