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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Color coded code snippets
Power Pages
Unanswered

Color coded code snippets

(0) ShareShare
ReportReport
Posted on by

For improved readability, please make powerapp script color coding available when inserting a new code snippet into this message board. 

TA

 

 

// This is powerapp code. Let's make it a bit more colorful
SortByColumns(
 If(isAdmin;
 If(filtraAdmin;
 Filter('helpdesk-ticketing';
 useremail in assegnato_lista;
 filtraAperti || !chiuso;
 StartsWith(Problema; TextSearchBox1.Text)
 );
 Filter('helpdesk-ticketing';
 filtraAperti || !chiuso;
 StartsWith(Problema; TextSearchBox1.Text)
 )
 );
 //notAdmin
 Filter('helpdesk-ticketing';
 'Richiesto da'.Email = useremail;
 StartsWith(Problema; TextSearchBox1.Text)
 )
 );
 "ticket";
 If(SortDescending1; Descending; Ascending)
)

 

Categories:
I have the same question (0)
  • v-siky-msft Profile Picture
    on at

    You said it!

    Reading code in the current code input box is so inconvenient.  Hope to change as soon as possible

     
    Sik

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard