Forum Discussion
christopher_gillis
8 years agoCommunity Manager
Hi Angela,
While it's not possible to use the checkout function with multiple files, the IOM.dll does define a CheckoutManager object specifically for this functionality. Please see the updated code below for an example of how to use the CheckoutManager.
Item files = this.newItem("File", "get");
files.setAttribute("idlist", idlist);
files = files.apply();
IomFactory iom = new IomFactory();
Aras.IOME.CheckoutManager cm = iom.CreateCheckoutManager(files);
cm.DownloadFiles(@"C:\Temp\test", 1);
You can find more details about the CheckoutManager in the .NET API Reference within Innovator.
Chris
_______________________________________
Christopher Gillis
Aras Labs Software Engineer