Vault Customization

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

Checkout

181 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: 796
Registered: ‎12-12-2006
Message 2 of 3 (176 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: 233
Registered: ‎12-15-2011
Message 3 of 3 (165 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community