web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Creator Kit - TagList ...
Power Apps
Unanswered

Creator Kit - TagList - how to format to achieve goal

(0) ShareShare
ReportReport
Posted on by 678

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.

sasrsc_0-1709039324266.png

I am displaying the tags column right now, but working on the same version but as an embedded table...

sasrsc_1-1709039353457.png

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
 ) & " ]"
 )
 )
 )
)





Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard