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

How to manage different screen ?

Hello ,

 

I am a new PowerApps user and I have already created a custom form from SharePoint. It works but I would like to know how to create multiple view types when I check or edit items in the list.

 

What I tried :
I have a basic "NewForm" form
Create a second screen with a new "EditForm" form. Then I changed in SharepointIntegration OnEdit: EditForm(EditForm)

But it's not working.

 

If you have a solution, don't hesitate.
Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: How to manage different screen ?

Insert 3 buttons
1. On Button1 put this on the OnSelect:
NewForm(NameofYourForm) This will enable you to make new enteries.

2. On Button2 put this on the OnSelect:
EditForm(NameofYourForm) This will enable you to edit enteries

3. On Button3 put this on the OnSelect:
ViewForm(NameofYourForm) This will enable you to view the details as you have shown

Replace NameofYourForm with the actual name of your form

View solution in original post

5 REPLIES 5
Highlighted
Super User III
Super User III

Re: How to manage different screen ?

For edit put this on the Button:
EditForm(NameofForm)
NewForm(NameofForm)
ViewForm(NameofForm)

I edited it.

Additional resources:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-form

If you like this post, give a thumbs up. Where it solved your issue, Mark as a solution
Highlighted
Helper I
Helper I

Re: How to manage different screen ?

Hi thank's for you answer,

 

I don't understand. Where and which button ?

Highlighted
Super User III
Super User III

Re: How to manage different screen ?

if I understand you, your objective is to change the form type or mode from example New form to edit form so you can view record or edit it.
If that is the case then Insert a Button and put the formula on the OnSelect property of the button
Highlighted
Helper I
Helper I

Re: How to manage different screen ?

My objective is:

 

When I'm on my SharePoint list and I want to create a new item, I want it to be this form:

 

 

https://zupimages.net/up/20/08/0k91.png 


Then when I save or when I'm on my list and when I want to look at the detail of the item I want it to display this screen:

 

2020-02-21_13-47-55.png

Highlighted
Super User III
Super User III

Re: How to manage different screen ?

Insert 3 buttons
1. On Button1 put this on the OnSelect:
NewForm(NameofYourForm) This will enable you to make new enteries.

2. On Button2 put this on the OnSelect:
EditForm(NameofYourForm) This will enable you to edit enteries

3. On Button3 put this on the OnSelect:
ViewForm(NameofYourForm) This will enable you to view the details as you have shown

Replace NameofYourForm with the actual name of your form

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

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

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (9,754)