Innovator inn = this.getInnovator();
string path ="E:\\Aras\\MyVault\\MyDB\\A\\06\\123348FBF4AB2A5B12B53EB0933B7\\MyFile.txt";
var x = File.Exists(path);
return inn.newResult("File exists: "+x);
When you have to use a URL, you propably have to chance the user credentials parameter in the Vault config to get direct access. Then your URL have to look somehow like this:
myplm/.../vaultserver.aspx
You can build your url string with the filename and id property of the File item.Innovator inn = this.getInnovator();
string path ="E:\\Aras\\MyVault\\MyDB\\A\\06\\123348FBF4AB2A5B12B53EB0933B7\\MyFile.txt";
var x = File.Exists(path);
return inn.newResult("File exists: "+x);
When you have to use a URL, you propably have to chance the user credentials parameter in the Vault config to get direct access. Then your URL have to look somehow like this:
myplm/.../vaultserver.aspx
You can build your url string with the filename and id property of the File item.