Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Power Apps Portal - Change Entity Form's Mode dynamically

(0) ShareShare
ReportReport
Posted on by 40

Hello,

via Javascript, Is it possible to change a Power Apps Portal Entity Form's mode to be "Read-Only" based on the value of a form field?

My form is initially set to "Edit" mode.. I want the form to be in "Edit" mode and filled out only once (the first time it's filled out and submitted).   On submit, I then change a field to Complete=Yes.

From then on out, I want the form to be "read only" mode every time the user loads it. I'm hoping to check for value of "Complete" field... if "yes", then I'd like entire form mode to be "Read-Only" instead of "Edit".  Note, I'd like to set this on Form level, not the individual fields level. 

Or, is there a better way to do this? 

Thank you!

Terry

  • naptownblue Profile Picture
    naptownblue 40 on at
    RE: Power Apps Portal - Change Entity Form's Mode dynamically

    Hello Shihu, thank you for advice. Do you have syntax for how to set form as read-only? Thank you!

  • Suggested answer
    Shiho Fujita Profile Picture
    Shiho Fujita on at
    RE: Power Apps Portal - Change Entity Form's Mode dynamically

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans