cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
colbyc
Helper IV
Helper IV

Open List item directly into Edit form/mode

When items are opened from my SharePoint list, I'd like the form to open directly into edit mode. Previously they were opening to the View Form, but now after some changes the Edit Form is the one that opens, but I am still required to click "Edit All" at top of the page before making changes. If I don't click the Edit All, I can't change any items. I'd like to be able to make changes directly after clicking the list item. Below is the current forumla I have in the SharePoint Integration "On Edit" and "On View" screens.

Set(SharepointFormMode,"EditForm")&EditForm(SharePointForm_Edit)&Navigate(FormScreen1_1,ScreenTransition.Fade)

 

Also, the DefaultMode is Edit. 

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@colbyc 

Please consider changing your Formula to the following:

 

Set(SharepointFormMode,"EditForm");
EditForm(SharePointForm_Edit);
Navigate(FormScreen1_1,ScreenTransition.Fade)

 

You are using the & which concatenates strings.  If you want multi line commands, separate with the semicolon.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

3 REPLIES 3
RandyHayes
Super User
Super User

@colbyc 

Please consider changing your Formula to the following:

 

Set(SharepointFormMode,"EditForm");
EditForm(SharePointForm_Edit);
Navigate(FormScreen1_1,ScreenTransition.Fade)

 

You are using the & which concatenates strings.  If you want multi line commands, separate with the semicolon.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

That worked! Thank you.

NM4
Frequent Visitor

Are there other settings that can affect this? I have the same formula in OnEdit and OnView under SharePointIntegration, with: 

Set(SharePointFormMode,"EditForm"); EditForm('My Form Name'); Navigate('My Screen Name',ScreenTransition.None)

but when I open a list item from SharePoint it still always opens with the "Edit All" button at the top. It's a real problem because my users can edit the fields, and if they don't then click "Edit All" and then "Save", they lose all their information. 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (4,715)