Skip to main content

Notifications

Announcements

No record found.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,966 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans