Hello,
I am building in my Power Apps app, a system to customize theme for the user who is connected.
The way i do it :
- I created a Sharepoint List with two columns :
- User : populated with the function User().FullName
- ColorChosen : populated with the color in RGBA or Hex Value
The current problem is, i cannot user this formula if i replace the RGBA section with a variable wich contain the current RGBA value selected by the user) :
"
Set(ColorSelected;RGBA(24;114;114;1));;
Set(HEXColor;JSON(ColorSelected))
" -> This formula works and display the HEX value
-----
"
Set(ColorSelected;labelcontainrgba.text);;
Set(HEXColor;JSON(ColorSelected))
" -> This formula doesn't works, it display RGBA and not the HEX value.
My second question :
On App.OnStart, I have this :
Set(Recup_Couleur;LookUp(MySPList;Title=User().FullName;ColorChosen));;
When I want to use "Recup_Couleur" in Fill property, for example, I got an error message said it's text type.
Thank's for help ;-).