Hope it makes sense.
Original Message:
Sent: 03-13-2024 13:31
From: Nidheesh R
Subject: Recommended approach for Nested - Reference attribute combinations
Hi @Chris Detzel, our actual implementation was exactly the same as you mentioned. But one requirement we had was, that attribute1 and attribute2 should be visible under entityA.
Let's consider this use case where we need to provide flexibility for the tenant users to add their own custom attributes without touching the L3 configuration. That is where the thought of this approach came into the picture, where this specific attribute of the profile(attributeA which is nested), can hold all the additional custom attributes(attribute1) along with their values(attribute2) that our users are willing to add. The catch here is, attribute1 should either be added as a lookup/reference pointing to the other entity(entityB) which I specified in my question.
Adding a new facet/card for displaying this new attribute as a relationship would satisfy the first ask. But the second ask of assigning a value to this attribute that should be visible in the entityA profile would not be addressed.
I know this might sound a little complex. But I have an instinct that Reltio has an option or workaround to achieve this.
------------------------------
Nidheesh R
EPAM Systems
Original Message:
Sent: 03-13-2024 12:18
From: Chris Detzel
Subject: Recommended approach for Nested - Reference attribute combinations
@Nidheesh R, does this help?
Nested attributes must not contain reference attributes. This is because reference attributes point to other entities, and nested attributes are meant to contain data that is directly related to the parent entity.
An alternative approach to this would be to create a separate entity for the reference data and then use a relationship attribute to link the two entities. This would allow you to keep the data organized and would also make it easier to manage the relationships between the entities.
Here are the steps on how to create a separate entity for the reference data and then use a relationship attribute to link the two entities:
- Create a new entity for the reference data.
- Add the attributes that you need to the new entity.
- Create a relationship attribute in the parent entity that points to the new entity.
- Add the reference data to the new entity.
- Link the parent entity to the reference data using the relationship attribute.
Check this out for more details: Configuration Best Practices
------------------------------
Chris Detzel
Director of Customer Community and Engagement
Reltio
Original Message:
Sent: 03-13-2024 06:20
From: Nidheesh R
Subject: Recommended approach for Nested - Reference attribute combinations
I have an entity called entityA. I also have another entity entityB.
entityA has an attribute attributeA(should be nested because this attribute can come with multiple entries). Within this attributeA, there should have 2 sub attributes. Where one of the sub-attribute should allow me to add/pick the profiles of entityB and another sub-attribute as a String.
I know the below structure helps achieving that. But is it a good/recommended approach to have Reference attribute under Nested attribute? Is there an alternative approach to this?
entityA (Entity) - attributeA (Nested) - attribute1 (Reference) - attribute2 (String)
------------------------------
Nidheesh R
EPAM Systems
------------------------------