Pankaj Thakur - Thursday, July 12, 2012 4:00 AM:
Hello Community,
I am new on ARAS Innovator. I want to add a pdf file in item type file but when i add it through Nash or AML Studio with help of AML query. File was created and shown in Itemtype File but it doesn't save in vault . when I try to Open it doesn't open.
Also when I run the AML query it show a message after Result that is
<Message>
<event name="ids_modified" value="AABF8396D1F44D7C8B0BFA83AE9F8B81" />
</Message>
My AML Query is :
<AML>
<Item type="File" action="add">
<checksum></checksum>
<classification></classification>
<file_type keyed_name="ACROBAT" type="FileType">7869D76D50ED4BD4985BECB20B1102F7</file_type>
<filename>UserGuide Aras NX.pdf</filename>
<checkedout_path>C:UsersCovenantDesktop</checkedout_path>
<file_size></file_size>
<mimetype>applicationpdf</mimetype>
<Relationships>
<Item type="Located" action="add">
<classification></classification>
<related_id keyed_name="Default" type="Vault">67BBB9204FE84A8981ED8313049BA06C</related_id>
<sort_order>128</sort_order>
<source_id keyed_name="UserGuide Aras NX.pdf" type="File"></source_id>
</Item>
</Relationships>
</Item>
</AML>
When I run this AML Query file is created and shown in in Item Type File but when I want to open it it shows me the error that is :
<SOAP-ENV:Envelope xmlns:SOAP-ENV="schemas.xmlsoap.org/.../">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault xmlns:af="www.aras.com/InnovatorFault">
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>ProcessGetFile: Error reading file [C:ArasVault\PKPAABF8396D1F44D7C8B0BFA83AE9F8B81UserGuide Aras NX.pdf] (Could not find file 'C:ArasVault\PKPAABF8396D1F44D7C8B0BFA83AE9F8B81UserGuide Aras NX.pdf'.)</faultstring>
- <detail>
<af:legacy_detail>ProcessGetFile: Error reading file [C:ArasVault\PKPAABF8396D1F44D7C8B0BFA83AE9F8B81UserGuide Aras NX.pdf] (Could not find file 'C:ArasVault\PKPAABF8396D1F44D7C8B0BFA83AE9F8B81UserGuide Aras NX.pdf'.)</af:legacy_detail>
<af:legacy_faultactor />
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
and also its not saved in vault .
please help me
Thanks and Regard
Pankaj Thakur
Hrishikesh - Wednesday, August 1, 2012 6:56 AM:
Hi Pankaj,
I also stuck on above issue, if you have any solution please post it,
It will be helpfull.
Thanks
Hrishikesh
gks by TSI - Thursday, August 2, 2012 2:30 AM:
As far as i know, neither nash nor AML Studio ar capable for file transfer.
For file actions, you have to communicate with the vault. And both send their requests to the InnovatorServer.
There are some examples in this forum how to do it with some coding. The best i have seen is by Rob McAveney: www.aras.comhttp:/.../7219.aspx
Pankaj Thakur - Tuesday, August 7, 2012 1:47 AM:
Hi ,
Many thanks for taking time to answer to my question.
I'll try to use such a solution and thanks for the link May be it would help me .
Thanks & Regard
Pankaj Thakur