Forum Discussion

North's avatar
North
Ideator I
6 years ago

Can't do a bulk ALM code input.

Hello, not sure if anyone is having this problem but I seem to not be able to do a bulk item creation with AML.

I'm using Nash which has worked before but when I put this code in for example:

<AML>
<Item type='Part' action='add'>
  <item_number>234-17351-0001</item_number>
    <description>A test assembly</description>
</Item>
<Item type='Part' action='add'>
  <item_number>131-87171-0001</item_number>
    <description>Another test assembly</description>
</Item>
</AML>

All that gets added is the first part number and the second number is never created. Is there something I am missing from my code?

5 Replies

  • Hi North

    I believe the issue is because the action in nash is set to applyItem instead of applyAML.

    In Nash, ensure that Action: = applyAML instead of applyItem

    Thank You

    Gopikrishnan R

    • North's avatar
      North
      Ideator I

      Hey Gopikrishnan,

      It is currently in the ApplyAML and I am still getting the same problem.

      • Gopikrishnan's avatar
        Gopikrishnan
        Ideator I

        Hi North

        I used the same AML and able to create two parts. Try with different item_numbers or try create two documents. If one part is created, are you getting any error in AML output ?

        Thank You

        Gopikrishnan R