Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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:
  • help3 Profile Picture
    on at
    Re: Hi , when i click the button i created, it want work because the for is not in edit mode

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

  • Mitanshu Profile Picture
    1,614 Super User 2025 Season 1 on at
    Re: Hi , when i click the button i created, it want work because the for is not in edit mode

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard