Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

define multiple global variables inside the OnStart doesn't work

(0) ShareShare
ReportReport
Posted on by 6

In my OnStart function I try to define 3 global variables, but this doesn't seem to work.

 

What am I doing wrong?

 

 

 

 

Set(varBackgroundGreen, RGBA(232, 244, 220, 1));
Set(varHeaderGreen, RGBA(53, 91,14, 1));
Set(varCoreGreen, RGBA(78,132,22,1))

 

 

 

  • steven_noppe Profile Picture
    6 on at
    Re: define multiple global variables inside the OnStart doesn't work

    Found my problem.

    In my language settings I have to use ";" and ";;" instead of "," and ";" ...

     

    Set(varBackgroundGreen; RGBA(232; 244; 220; 1));;
    Set(varHeaderGreen; RGBA(53; 91;14; 1));;
    Set(varCoreGreen; RGBA(78;132;22;1))
  • Daved1 Profile Picture
    166 on at
    Re: define multiple global variables inside the OnStart doesn't work

    Looks good to me.

     

    There is an on-going PowerApps outage in my region - maybe this is affecting you too..

     

    Daved1_0-1700138330331.png

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard