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

DEVELOPERS FORUM - How to get new itemtype using AML language by import?

savan - Friday, March 26, 2010 1:59 AM:



I am trying to generate item type using AML by importing the AML code .but I am getting an error because of ID of item i dont know how to get id for item type even i have tried using id="{@id}" but i am getting error

so please suggest me how to generate itemtype using AML code

 <Item type="ItemType" id="{@id}" action="add">
  <label xml:lang="en">worked</label>
  <label_plural xml:lang="en">worked</label_plural>




RobMcAveney - Wednesday, March 31, 2010 11:32 AM:

Simply omit the id attribute and an id will be generated for you:

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

The id that was auto-generated will be returned in the response.