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 Apps / Hi , when i click the ...
Power Apps
Unanswered

Hi , when i click the button i created, it want work because the for is not in edit mode

(0) ShareShare
ReportReport
Posted on by

Hi ,

 

when i click the button i created, it want work because the form is not in edit mode

 

is there any way to get the form to go into edit mode when i click the button i created, 

 

I tried this 

 

SharePointForm1.Mode=FormMode.View;

SubmitForm(SharePointForm1);

Patch(
'list name',
LookUp('List name', ID = SharePointForm1.LastSubmit.ID),
{Status3: "Yes"}
);

 

Kind Regards 

 

 

help3_0-1701871470186.png

 

 

Categories:
I have the same question (0)
  • Mitanshu Profile Picture
    1,650 Moderator on at

    if you want to change an existing record, you use FormMode.Edit

    but if you want to create a new record, you use FormMode.New

     

    For more information, you can refer https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-form

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.

  • help3 Profile Picture
    on at

    that is amazing thanks you is there way to have the SharePoint list refresh when it goes back ? 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 88

#2
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 45

Last 30 days Overall leaderboard