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 Pages / Toggle switch in Power...
Power Pages
Unanswered

Toggle switch in PowerApps Portal

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello Experts,

I have a requirement where I need to create a Toggle switch in PowerApps Portal to trigger a Power Automate flow. I need to save the state of the toggle switch on checking and unchecking. If a user logs into the portal and turns the toggle switch to on state, the status of the switch should be saved until he turns off the switch again. Could anyone please help me on achieving this?

Your help is greatly appreciated..

Thank you

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

    Hi @Anonymous ,

     

    The following blog describe how to trigger Microsoft Flow on click of custom ribbon button, I believe it's much helpful and can inspire you.

    https://www.inogic.com/blog/2018/12/trigger-microsoft-flow-on-click-of-custom-ribbon-button-in-dynamics-365/ 

    Sik

  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @Anonymous,

     

    Do you want to trigger flow immediately after user toggles the switch or user will save the record first? If we are talking about second option - just create regular flow that will be triggered on the field update and that's it. First scenario is more complicated - you can trigger your flow from the Portal (see more details here) but regarding saving status might be an issue - you can try to use web form steps or local storage to save it.

  • Fubar Profile Picture
    17 Super User 2026 Season 1 on at

    If you need to save state without saving the form, look into the Web API (preview) that is now available - you can capture on change and then call the Web Api to update (via Ajax) the value in CRM/CDS.

     

    https://docs.microsoft.com/en-us/powerapps/maker/portals/web-api-overview

    https://docs.microsoft.com/en-us/powerapps/maker/portals/web-api-perform-operations#update-and-delete-entities-by-using-the-web-api

     

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 Pages

#1
Fubar Profile Picture

Fubar 47 Super User 2026 Season 1

#2
sannavajjala87 Profile Picture

sannavajjala87 16 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 14 Super User 2026 Season 2

Last 30 days Overall leaderboard