cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
SeanTambling
Level: Powered On

Canvas App, inserted form doesn't display when in play mode

I've created a canvas app that has 6 screens. On two of the screens i have forms that i've added to the screen. I've connected the data, and set all the fields and when i'm editing the app everything looks correct. When i click the play button though the form area is black and says "No Item to Display" 


I've attached images of what i'm referring to.

 

What am I doing wrong?

NotesForm.JPG

Below is the image that shows the app with out the form showing.

NotesForm-Notshown.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Canvas App, inserted form doesn't display when in play mode

Hi @SeanTambling ,

Well, I think you need to know more about form's mode.

Let me explain about this.

1)Edit form's Default mode is Edit.

2)If you want to create a new record, you need to set the form's DefaultMode: New

3)If you want to edit an existing record, you need to set the form' Item to the item that you want to edit.

For example, Gallery1.Selected.

Or else, the form will display "No item to display".

4)After you submitting the form, the form's mode will change back to Edit.

If your form's Item is blank, you will see "No item to display" again.

 

In your issue, I think that you want to edit an existing record. So you need to make that your form's DefaultMode is FormMode.Edit, and set your form's Item to one spefic record.

 

Here's a doc about form's mode for your reference:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-form-detail

 

 

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

3 REPLIES 3
Super User
Super User

Re: Canvas App, inserted form doesn't display when in play mode

@SeanTambling 

You are seeing a No Item To Display error because the Item property of your form is blank.  To change this, click on the form in the left navigation panel.  Next, select the Item property dropdown menu on the top.  The formula field will be blank.  Assuming the user navigates to your form by selecting an Item from a gallery, use the following code below.  Of course, you should replace myGalleryName with the actual gallery name in your app.

 

myGalleryName.Selected

 

---

Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly.  If your thought the post was helpful please give it a "Thumbs Up."

 

 

 

Community Support Team
Community Support Team

Re: Canvas App, inserted form doesn't display when in play mode

Hi @SeanTambling ,

Well, I think you need to know more about form's mode.

Let me explain about this.

1)Edit form's Default mode is Edit.

2)If you want to create a new record, you need to set the form's DefaultMode: New

3)If you want to edit an existing record, you need to set the form' Item to the item that you want to edit.

For example, Gallery1.Selected.

Or else, the form will display "No item to display".

4)After you submitting the form, the form's mode will change back to Edit.

If your form's Item is blank, you will see "No item to display" again.

 

In your issue, I think that you want to edit an existing record. So you need to make that your form's DefaultMode is FormMode.Edit, and set your form's Item to one spefic record.

 

Here's a doc about form's mode for your reference:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-form-detail

 

 

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

SeanTambling
Level: Powered On

Re: Canvas App, inserted form doesn't display when in play mode

Thank you!

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,678)