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 / referencing data in json
Power Apps
Answered

referencing data in json

(0) ShareShare
ReportReport
Posted on by 31

We have some corporate branding for colour scheme. I've got in JSON to reference, and inside a PA Flow.to respond to the app.  However I'm just getting issues getting the references right.

The original data looks like (RGBA Codes aren't actually accurate):

{

"ColourSchemes":[{

"Scheme1":[{

  "MainColour":[{

  "Solid":"RGBA(33,23,23,1)",

  "70pc":"RGBA(33,23,23,0.7)",

  "30pc":"RGBA(33,23,23,0.3)"

  }],

  "Supplement1":[{ 

  "Solid":"RGBA(33,23,23,1)"

  "70pc":"RGBA(33,23,23,0.7)",

  "30pc":"RGBA(33,23,23,0.3)"

  }]...

}],

"Scheme2":[{....}]

}]

}

 

Then I want to put that in an array/collection so i can reference that in another collection/array so that I can set standard colors such as:

 

{

AppColourScheme_LightMode:[

{

  AppWindow:[{

    bgColour:colCorpColours.ColourSchemes.Scheme1.Supplement3.solid,

fgColour:colCorpColours.ColourSchemes.Scheme1.MainColour.Solod

}],

Screen3:[{

  Header[{

    bgColour:ColourSchemes.Scheme2.Supplementary2.Solid

 

etc.

 

I'm also trying to make 3 colour schemes, light mode, dark mode and high contrast.  That will feed a further collection col_AppMaster colour scheme, with that being used for the ultimate reference.  I've had that working okay it's just getting the initial references for the colour schemes, in to the colour schemes to start I'm getting issue with.

 

A little complex, but it means that when the team decide to change their branding again, I can update the Corp. scheme and thej all the apps etc. Will be updated at same time.

 

Anyone got any easy tools or references online they can suggest to get the correct way to handle this, and if this is even possible or just something that I'll have to update the apps when the scheme changes individually.

Categories:
I have the same question (0)
  • Verified answer
    NPPlatform Profile Picture
    606 Moderator on at

    You'll have to parse the JSON-data. I could try and explain it, but I thinks this video does a great job of explaining it with examples: video by Reza Dorrani. Try it out and let me know how it went!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard