cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

"Edit" button not showing after Editing and Saving form

I have a form set up with multiple screens for new, edit, view etc...

 

From the View screen, I use the "Edit" ribbon button to get to the Edit screen.

After completing my edits I use the "Save" ribbon button to save my form

In my Edit screen Edit forms OnSuccess property I navigate back to the View screen, and refresh the datasource

 

Navigate(ScreenHome,ScreenTransition.None); Refresh(Events);

When I am back at the View screen, the ribbon buttons still show "Save", "Cancel" etc... not "Edit All" etc...

 

Have I done something wrong here?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: "Edit" button not showing after Editing and Saving form

@Sandie 

You are circumventing the buttons again like your last post. 

What you need is to not go back to the view form.  The normal action of the Save button in the ribbon is to save and close the item.

In your OnSuccess of your form you are saving, you should have a RequestHide() function. 

That will set your buttons properly.  Otherwise, there is no way to control what is in the button list. 

 

I hope that is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

4 REPLIES 4
Highlighted
Super User III
Super User III

Re: "Edit" button not showing after Editing and Saving form

@Sandie 

You are circumventing the buttons again like your last post. 

What you need is to not go back to the view form.  The normal action of the Save button in the ribbon is to save and close the item.

In your OnSuccess of your form you are saving, you should have a RequestHide() function. 

That will set your buttons properly.  Otherwise, there is no way to control what is in the button list. 

 

I hope that is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Highlighted
Community Support
Community Support

Re: "Edit" button not showing after Editing and Saving form

Hi @Sandie ,

Could you show me your screenshoots and settings of button?

Normally, different screens have different buttons. But in your issue, it seems like you use different mode in the same screen and want to diaplay different buttons according to mode.

I suggest you use two standalone screens, one for viewing, one for editing.

Here's a doc about gallery,editform,displayform for your reference:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-forms

 

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper II
Helper II

Re: "Edit" button not showing after Editing and Saving form

@RandyHayes  Thanks, it seems like an unnatural flow to me, to not be able to go to the view page after editing... anyway...

 

So can I have it close and redirect the browser to a specific URL?  My default list view is "upcoming events", after someone has submitted a new event I would like them to see the "pending events" list view (otherwise they may think their event didnt submit properly if they cant see it in the list!)

Highlighted
Super User III
Super User III

Re: "Edit" button not showing after Editing and Saving form

@Sandie 

The list *should* update once the person submits.

 

However, in general, hearing what you are saying, perhaps doing just a customized form is not what you want.  The "flow" of that process is pretty much how any form in SharePoint works - you "new" a record, "view" a record, or "edit" a record.  Perhaps you are looking for more of an app where you can control all the aspects of what the user sees.  This would be separate from the view of the list and that normal flow.

In other words, perhaps not have people interact with the SharePoint list through the "standard" way at all and just put them in an App you have designed where all the conditions you want happen the way you want.

Just a thought...

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Come join us today! Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,524)