Vault Customization

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

Checkout

185 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

Employee
Redmond.D
Posts: 806
Registered: ‎12-12-2006
Message 2 of 3 (180 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: 238
Registered: ‎12-15-2011
Message 3 of 3 (169 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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

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