I have the parent DV table and I can filter to get the children. In the attached example I can get the tags to appear as a text string and it renders OK, but I would like to use the TagList idea from the Creator Kit which needs an array.
See what it should look like...
powercat-code-components/DetailsList at main · microsoft/powercat-code-components (github.com)
And attached is my image showing the text string version.
I am displaying the tags column right now, but working on the same version but as an embedded table...
The component wants a column like this ["Bombers Blue", "Sky the Cat"]
and not like "Bombers Blue, Sky the Cat"
My current code is this ... and the tag2 is not correct in the output ... I was using an idea that was provided by @RandyHayes in another post. I know it's close to what I want... but I think I'm making this harder than it is.
ClearCollect(
colCompanies,
AddColumns(
Companies As _i,
"tags",
Concat(
Filter(
AttributeMaps,
CompanyLookup.Company = _i.Company
),
AttributeLookup.Name & ", "
),
"expand",
false,
"tags2",
Substitute(
JSON(
Table({Items: "SUBST"}),
JSONFormat.IndentFour
),
"""SUBST""",
With(
{
_str: Concat(
Filter(
AttributeMaps,
CompanyLookup.Company = _i.Company
),
"""" & AttributeLookup.Name & ""","
)
},
"[ " & Left(
_str,
Len(_str) - 1
) & " ]"
)
)
)
)

Report
All responses (
Answers (