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 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

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard