Aras Community

Welcome to Aras Community Sign in | Join | Help
Aras Community
Please Also Visit the Project Site to Download Add-Ons and Solutions
Jump to Projects

Re: Get Property Item

  •  11-27-2007, 7:34 AM

    Re: Get Property Item

    Please pay attention that there is no tag Item inside tag source_id. Thus getPropertyItem is not applicable.

    If you try

    IOM.Item itemProp = result.getPropertyItem("related_id");

    textBox1.Text = itemProp.dom.InnerXml;

    this should work.

    Since you know ItemType id you may request the ItemType. For example:

    string id = result.getProperty("source_id");
    IOM.Item it = Inn.newItem("ItemType", "get");
    it.setID(id);
    it = it.apply();
    

    Also I noticed that you specified incorrect type name. That should be RelationshipType and not relationshipType.

    Filed under:
View Complete Thread
Powered by Community Server, by Telligent Systems