cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Power App canvas design close the form

After creating power app in canvas mode for submit data into sharepoint list.user able to submit the data but after that how to close the app/is there any way to show the custom message in between screen then close the app.please let me know.
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Tej7299 ,

Do you want to display  custom message after you submit the form and on this custom message you could close the app?

Well, you could set the form's OnSuccess to make the custom message visible, which means after the form is submitted successfully, the message will show.

I've made a similar test for your reference:

1)insert a Rectangle, a "x" icon, a button, a label. Group them together as the custom message.

Set the label's Text:

"You've submitted the form successfully!"

set the "x" icon OnSelect:

Set(var,false)

set the exit button's OnSelect:

Exit()

set this group's Visible:

If(var,true,false)

224.PNG

 

2)set the form's OnSuccess:

Set(var,true)

 

 

Then after you submit the form successfully, the custom message window will display, if you click the "x" icon, the window will disappear, if you click "exit" button, you will close the app.

 

 

Best regards,

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.

View solution in original post

2 REPLIES 2
Super User
Super User

@Tej7299 

For an exit message you would need to create this yourself then use the Exit() function. Scenario could be:

 

1. user submits form

2. start a timer eg 3secs

3. have a Label that displays via a variable, text is your choice eg "Thank you for your response"

4. timer ends

5. Exit()

 

There are plenty of YouTube videos on Timers & Pop-ups, here's a Timer one

https://www.youtube.com/watch?v=Xe2NI2aTGvY

 

 

 

Community Support
Community Support

Hi @Tej7299 ,

Do you want to display  custom message after you submit the form and on this custom message you could close the app?

Well, you could set the form's OnSuccess to make the custom message visible, which means after the form is submitted successfully, the message will show.

I've made a similar test for your reference:

1)insert a Rectangle, a "x" icon, a button, a label. Group them together as the custom message.

Set the label's Text:

"You've submitted the form successfully!"

set the "x" icon OnSelect:

Set(var,false)

set the exit button's OnSelect:

Exit()

set this group's Visible:

If(var,true,false)

224.PNG

 

2)set the form's OnSuccess:

Set(var,true)

 

 

Then after you submit the form successfully, the custom message window will display, if you click the "x" icon, the window will disappear, if you click "exit" button, you will close the app.

 

 

Best regards,

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.

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (4,413)