Home Analyst Portal

OData Table Show Related Object

Jan_SchulzJan_Schulz Customer Adept IT Monkey ✭✭

Hi,

i have a custom CI Class with some Relationships. We want to show a ODataTable with some properties of the object and some relatedObjects. I dont know how to show the related objects in the table.

For Example our class has a relationship to the cireson Location class. We want to show the locationname in the Costum class Odatatable.



regards,

Jan

Answers

  • Geoff_RossGeoff_Ross Cireson Consultant O.G.

    Hi @Jan_Schulz ,

    You should see this 'property' in the columns available in the oData table.For each relationship, you see 5 properties.

    • <RelationshipName>_BaseManagedEntityId
    • <RelationshipName>_DisplayName
    • <RelationshipName>_BaseManagedTypeId
    • <RelationshipName>_LastModified
    • <RelationshipName>_LastModifiedBy

    In your case, the DisplayName column will contain the Location Name.


    Geoff

  • Jan_SchulzJan_Schulz Customer Adept IT Monkey ✭✭
    edited March 2020

    Hi @Geoff_Ross ,

    unfortunately in my case the relationship is not available. You can see this in the following screenshots.

    Only the first of These Relationships are listed. Is it because the source Element is the Zugangsobjekt?

    But how we can select the Source Relationships and not only the Target ones?

  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭
Sign In or Register to comment.