Forum Discussion

AngelaIp's avatar
AngelaIp
Ideator I
5 years ago

Upload Files with AML - does it still work this way?

Hi Community,

in many forum posts samples are shown how to upload files via AML. Typical one:

<Item type='Document' action='add'>
  <item_number>uploadtest</item_number>
  <name>myName</name>
  <description>myDescription</description>
  <Relationships>
    <Item type='Document File' action='add'>
      <related_id>
         <Item type='File' action='add'>
           <actual_filename>c:\temp\uploadtest.txt</actual_filename>
           <filename>uploadtest.txt</filename>
           <Relationships>
           <Item type='Located' action='add'>
           <related_id>67BBB9204FE84A8981ED8313049BA06C</related_id>
           </Item>
         </Relationships>
       </Item>
     </related_id>
   </Item>
 </Relationships>
</Item>

I remember that I was able to use this script successfully in the past. But in Innovator 12 it doesn´t seem to work anymore. Does anyone know if we need a different approach now?

Thanks and best regards!

Angela

No RepliesBe the first to reply