Add DropdownList with values

I  added a dropdownlist on a form, I am unable to make reference to the dropdownlist object via name or type in Javascript. And the object doesn't seem to exist when viewing HTML source. I am trying to populate the dropdownlist  with some values when the form is loaded. But I haven't been able to get the object. Can anyone help?
Parents
  • Hello, You can get a comma-separated list of all of the Identities that a user belongs to in JavaScript by using aras.getIdentityList(). You can then run an AML query like below in order to get all of the Teams that have a member in that list.
    <AML>
    <Item type='Team' action='get'>
    <Relationships>
    <Item type='Team Identity' action='get'>
    <related_id condition='in'>PASS_IDENTITY_LIST_IN_HERE</related_id>
    </Item>
    </Relationships>
    </Item>
    </AML>
    You can call this AML query using aras.applyAML(aml) or aras.IomInnovator.applyAML(aml) and use the results to populate your list of Teams. Chris
    Christopher Gillis Aras Labs Software Engineer
Reply
  • Hello, You can get a comma-separated list of all of the Identities that a user belongs to in JavaScript by using aras.getIdentityList(). You can then run an AML query like below in order to get all of the Teams that have a member in that list.
    <AML>
    <Item type='Team' action='get'>
    <Relationships>
    <Item type='Team Identity' action='get'>
    <related_id condition='in'>PASS_IDENTITY_LIST_IN_HERE</related_id>
    </Item>
    </Relationships>
    </Item>
    </AML>
    You can call this AML query using aras.applyAML(aml) or aras.IomInnovator.applyAML(aml) and use the results to populate your list of Teams. Chris
    Christopher Gillis Aras Labs Software Engineer
Children
No Data