Hello all. I have created a page in my app where I'd like to send an HTML formatted email where cels in the table are filled with colors found in text boxes within my PowerApp.
I have a Text Box called TextSales that contains the following conditional formula in the Fill field
If(TextSalesMessage.Text="Proceed with growth",Color.Green,
If(TextSalesMessage.Text="Stop!",Color.Red,Color.Orange))
The condition current evaluates to Orange based on the inputs. I've tried to use Set(Param1, TextSales.Fill) using the OnVisible for the main page with the expectation that Param1 would have a color value that I can use in my outbound email HTML to set the fill color in a table cel. Unfortunately no matter what I do I cannot get Param1 to work. It appears to have a Color data type, but when I try and inspect it with ColorValue I get an error. I can't seem to trouble shoot this and it is driving me mad. Any help you can give will be greatly appreciated.