Another way to append an object array
-
- Posts: 14
- Joined: Tue Oct 11, 2022 4:56 pm
Another way to append an object array
Hello everything is fine?
I need help, I want to put the 'List of Access Levels' column like this:
GENERAL DEV TEST, GENERAL SP LEVEL, MAIN LEVEL ACCESS, SHIFT 01
Not as in the attached form. There must be a way?
I need help, I want to put the 'List of Access Levels' column like this:
GENERAL DEV TEST, GENERAL SP LEVEL, MAIN LEVEL ACCESS, SHIFT 01
Not as in the attached form. There must be a way?
- Attachments
-
- R1PI-1022 (Example 2).mrt
- (26.36 KiB) Downloaded 70 times
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: Another way to append an object array
Hello,
You can use the JoinColumnContent function:
{JoinColumnContent(data_internalUser_nodes_permanentAccessLevels_accessLevel,"name",",")}
Thank you.
You can use the JoinColumnContent function:
{JoinColumnContent(data_internalUser_nodes_permanentAccessLevels_accessLevel,"name",",")}
Thank you.
-
- Posts: 14
- Joined: Tue Oct 11, 2022 4:56 pm
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: Another way to append an object array
Hello,
What product and version are you use?
Thank you.
What product and version are you use?
Thank you.
-
- Posts: 14
- Joined: Tue Oct 11, 2022 4:56 pm
Re: Another way to append an object array
Version 2021.2.4 from 22 abril 2021, JS
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: Another way to append an object array
Hello,
Please check the last release build.
Thank you.
Please check the last release build.
Thank you.
-
- Posts: 14
- Joined: Tue Oct 11, 2022 4:56 pm
Re: Another way to append an object array
Alright, now I'm on Release Version 2023.2.5 from 20 May 2023.
But this way it works with a JSON with only one item. When I use at least two items or more a bug happens with the list! Look:
My necessity is that each access level object has a different amount for each person. In this case, the person 'Daniel' has four levels and 'Eliano' has only two.
Can you help me with this please?
I tried this way:
{JoinColumnContent(data_internalUser_nodes,"data_internalUser_nodes.RelationAccessLevels.RelationAccessLevel.name",", ")}
But no success
Kind of like in this thread too:
viewtopic.php?t=56693
But this way it works with a JSON with only one item. When I use at least two items or more a bug happens with the list! Look:
My necessity is that each access level object has a different amount for each person. In this case, the person 'Daniel' has four levels and 'Eliano' has only two.
Can you help me with this please?
I tried this way:
{JoinColumnContent(data_internalUser_nodes,"data_internalUser_nodes.RelationAccessLevels.RelationAccessLevel.name",", ")}
But no success
Kind of like in this thread too:
viewtopic.php?t=56693
- Attachments
-
- R1PI-1022.mrt
- (27.19 KiB) Downloaded 58 times
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: Another way to append an object array
Hello,
Unfortunately, JoinColumnContent is not working with levels by relation, only all data source records.
You can add an additional band, on which prepare string will that level values as in the provided forum link in your post.
Thank you.
Unfortunately, JoinColumnContent is not working with levels by relation, only all data source records.
You can add an additional band, on which prepare string will that level values as in the provided forum link in your post.
Thank you.
-
- Posts: 14
- Joined: Tue Oct 11, 2022 4:56 pm
Re: Another way to append an object array
In the topic that I sent as an example, it is not explained in a clear way how it was done, because the mrt was just attached without explanations.
Could you please explain me better?
Could you please explain me better?
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: Another way to append an object array
Hello,
You can use the master-detail construction or an additional variable.
Thank you.
You can use the master-detail construction or an additional variable.
Thank you.
- Attachments
-
- JoinColumn.mrt
- (23.22 KiB) Downloaded 65 times