how to read .csv file to upload to aras vault in C#

how to read .csv file to upload to aras vault in C#

Parents
  • Maybe something like this?

    string fileString = "test.csv";
    string path = @"C:\\temp\\myupload\\" + fileString;

    // Check-in File to Aras Vault
    Item fileItem = inn.newItem("File", "add");
    fileItem.setAttribute("doGetItem", "0");
    fileItem.setProperty("filename", fileString);
    fileItem.attachPhysicalFile(path);
    Item checkin_result = fileItem.apply();

Reply
  • Maybe something like this?

    string fileString = "test.csv";
    string path = @"C:\\temp\\myupload\\" + fileString;

    // Check-in File to Aras Vault
    Item fileItem = inn.newItem("File", "add");
    fileItem.setAttribute("doGetItem", "0");
    fileItem.setProperty("filename", fileString);
    fileItem.attachPhysicalFile(path);
    Item checkin_result = fileItem.apply();

Children