This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SUPPORT Q&A - How to upload a file through Aras NASH?

pokedoke - Monday, October 17, 2011 1:31 PM:

Hi all,

I'm trying to upload a file through AML, but I cannot seem to upload the file. With the code below, all the connections are made but when I try to open my file, I get a "The Webpage cannot be found" error.

Is there something I'm missing in my code to create the link? I can see the file in the Files section of Administration, but there is nothing connected.

Thank you!

 

<AML>

<Item type="Document" action="add">

  <item_number>TEST</item_number>

  <Relationships>

    <Item type="Document File" action="add">

<related_id>

<Item type="File" action="add">

<filename>TEST.xlsx</filename>

<checkedout_path>C:UsersTESTDesktop</checkedout_path>

<actual_filename>C:UsersTESTDesktopTEST.xlsx</actual_filename>

<file_type>3F3FCF1E77CB48F384F1A1FADD5F45E4</file_type> //EXCEL file type

<Relationships>

<Item type="Located" action="add">

<related_id>67BBB9204FE84A8981ED8313049BA06C</related_id> //Default Vault ID

</Item>

</Relationships>

</Item>

</related_id>       

</Item>

  </Relationships>

</Item>

</AML>