Hi Team,
I am trying to Checkout/Download the File from CAD operation, here is my code, it seems working fine till line 11, but it finally checkout the file as "vaultserver.aspx"?? Any ideas? Thank you!
Hi Team,
I am trying to Checkout/Download the File from CAD operation, here is my code, it seems working fine till line 11, but it finally checkout the file as "vaultserver.aspx"?? Any ideas? Thank you!
It finally checkout the file like this,
"Checkout" is an old concept, I don´t think it still works for Innovator 12. This one is a more modern variant:
// Get file
var fileItem = aras.getItemById("File", "1234566....");
// Download file
aras.downloadFile(fileItem, "myfile.zip");
Thanks Angelalp for always being here!
I tried downloadFIle function and turns error. Actually if I change the suffix of "vaultserver.aspx " as it is, such as(.dwg), then open it, which I found out it is the file I exactly downloaded. And now the question is why the checkout file is named "vaultserver.aspx by using checkout fuction.
Thanks,
Jen
Thanks Angelalp for always being here!
I tried downloadFIle function and turns error. Actually if I change the suffix of "vaultserver.aspx " as it is, such as(.dwg), then open it, which I found out it is the file I exactly downloaded. And now the question is why the checkout file is named "vaultserver.aspx by using checkout fuction.
Thanks,
Jen
Copyright © 2024 Aras. All rights reserved.