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

No Data Source Provided/No Item to Display on Main screen that does not contain a form

I have created an app that contains multiple screens with multiple forms. I can preview the app without issue when editing it, but when I try to run the app, I get a screen with an empty form with a check box that starts saying "No Data Source Provided" which quickly changes to "No Item To Display." The starting screen is just a navigation page. It has no forms, on controls to navigate to other screens that do have forms. The datasource connections look okay for all of the forms on other screens, and the Item property for each of the forms is correctly filled out with the "Defaults(datasource)" information, as is the data source property. The exception would be forms that link to galleries, but those galleries are correctly linked to the correct datasources. Any assistance would be greatly appreciated, and I woul dhappy to provide whatever information would make diagnosing this issue easier.
2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @HawkinsGabriel,

Could you please share a bit more about the issue within your app?

I have made a test on my side, and don't have the issue that you mentioned. Based on the error message that you mentioned, it seems to tell that there is something wrong with the data source your Edit form connected to.

Please check if you have specified proper data source within the DataSource property of the Edit form control.

 

In addition, I think there may have something issue with the formula you provided within the Item property of the Edit form. Please modify the formula within the Item property of the Edit form to following:

Gallery1.Selected  /* <-- Gallery1 represents the Gallery control the Edit form relates/links to */

Note: If you don't set a default value for any field in your data source, the Defaults(datasource) formula would return a empty record.

More details about Defaults function in PowerApps, please check the following article:

Defaults function

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

The Item property for the edit forms that link to galleries are set up as you describe.

 

So my problem is that the only way I can run the app is to open it in edit mode and preview it.  If I try to just open the app normally I get the error messages I describe.

 

Here is the set up for the app - It's a tool used to add employees to project numbers so that they can log time appropriately.  The only data sources linked to are -

  1. An Excel table (PN_Requests) containing the assignment requests submitted by employees through the app.  So it starts blank and has rows added as employees make submissions.
  2. An Excel table containing a single project number for each of our clients.  This table is made up of rows for each client/project number, and it is not edited, only referenced.
  3. An Excel table (ProjTeamPNs) containing multiple project numbers for each of our clients, broken down for specific tasks.  This table is made up of rows for each task for each client and the corresponding project number.  It is not edited, only referenced.

The app's make up breaks down like this -

  • The main screen just contains a number of links to other screens that contain various forms and galleries.  It has no galleries or forms of it's own.
  • The second screen (linked to from the main screen) contains a single edit form (Item property - Defaults(PN_Requests)) that adds a single row to Data Source #1.  There is also a link back to the first screen.
  • The third screen is designed to add multiple associates to a single project number.  It contains two edit forms: one to enter a single project number, and one to enter up to 10 employees.  Both have the "Defaults(PN_Requests)" Item property.  A submit control pulls information from both edit forms to add multiple rows (to Data Source #1) for however many employees are entered into the second edit form.  There is also a link back to the first screen.
    • The second edit form (where you enter the multiple employees) is contained in a data card which is contained in a canvas, so that whoever is using the app can scroll.
  • The fourth screen is almost exactly like the third, except it is designed to add a single employee to multiple project numbers.  So it also has 2 edit forms, one two enter a single employee, and one to add up to 10 project numbers.  Both have the "Defaults(PN_Requests)" Item property.  A submit control pulls information from both edit forms to add multiple rows (to Data Source #1) for how ever many project numbers are entered into the second edit form.  There is also a link back to the first screen.
    • The second edit form (where you enter the multiple project numbers) is contained in a data card which is contained in a canvas, so that whoever is using the app can scroll.
  • The fifth screen contains a control to enter in information for any large/strange requests, which would be emailed to a support inbox.  There are no forms or galleries.  There is also a link back to the first screen.
  • The sixth screen contains 3 links to 3 tools for use by those people who actually complete the assignments requested in the above screens.  There is also a link back to the first screen.
  • The seventh screen is the first tool referenced in the sixth screen.  It contains a gallery that pulls in rows from Data Source #1 that have not been completed (Items property - Filter(PN_Requests, IsBlank(Status)), and an edit form (IncAssignGal.Selected) that displays all of the information for whichever row/record is selected in the gallery and a control where you can enter notes.  You can either submit the form to change a row/record to a completed status or a pending status.  There is also a link back to the sixth screen.
  • The eighth screen is the second tool referenced in the sixth screen.  It contains a gallery that pulls in rows from Data Source #1 that have been given a pending status (Items property - Filter(PN_Requests, Status= "Pending")), and an edit form (PendAssignGal.Selected) that displays all of the information for whichever row/record is selected in the gallery and a control where you can enter notes.  You can submit the form to change a row/record to a completed status.  There is also a link back to the sixth screen.
  • The ninth screen is the third tool referenced in the sixth screen.  It contains a gallery that pulls in rows from Data Source #1 that have been given a completed status (Items property - Filter(PN_Requests, Status= "Complete")), and an edit form (CompAssignGal.Selected) that displays all of the information for whichever row/record is selected in the gallery and a control where you can enter notes.  You can submit the form to change a row/record to a pending status.  There is also a link back to the sixth screen.
  • The tenth screen has a gallery (Items property – (ProjTeamPNs) displaying rows/records from Data Source #3 and 2 edit forms: an edit form (ProJTeamPNsGal.Selected) that displays information from the row/record selected in the aforementioned gallery, and an edit form (Defaults(PN_Requests)) for inputting employee information to add a row/record for an assignment request.  An employee could select a row/record for a particular task for a particular client in the gallery (from Data Source #3) and add a row to Date Source #1 using the information from the first edit form (referencing the gallery displaying info from Data Source #3) and information about themselves that they enter in the second edit form (whose data source is Data Source #1).  There is also a link back to the twelfth screen.
  • The eleventh screen is exactly like the tenth screen, except the gallery references Data Source #2 information.  So, it has the gallery (Items property - (NonProjTeamPNs)), the first edit form (NonProJTeamPNsGal.Selected) displaying data for the row/record selected in the aforementioned gallery, and the second edit form (Defaults(PN_Requests)) for inputting employee information.  This second form again uses Data Source #1 as its data source.  There is also a link back to the twelfth screen.
  • The twelfth screen is another screen that just contains links to other screens.  It links to the tenth, eleventh, and thirteenth screen, as well as a link back to the first screen.  It has no galleries or forms.  There is also a link back to the first screen.
  • The thirteenth and final screen just has a control for entering in the name of a client that cannot be found in the tables from Data Sources #2 and #3.  Submitting will send an email to a support inbox making a request for a project number for the client entered into the control.  There are no galleries or forms, but there is a link back to the twelfth screen.

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!   This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions in the Forums to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersNumber of SolutionsSuper UsersNumber of Solutions @anandm08  23 @WarrenBelz  31 @DBO_DV  10 @Amik  19 AmínAA 6 @mmbr1606  12 @rzuber  4 @happyume  7 @Giraldoj  3@ANB 6 (tie)   @SpongYe  6 (tie)     Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Community MembersSolutionsSuper UsersSolutions @anandm08  10@WarrenBelz 25 @DBO_DV  6@mmbr1606 14 @AmínAA 4 @Amik  12 @royg  3 @ANB  10 @AllanDeCastro  2 @SunilPashikanti  5 @Michaelfp  2 @FLMike  5 @eduardo_izzo  2   Meekou 2   @rzuber  2   @Velegandla  2     @PowerPlatform-P  2   @Micaiah  2     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 3:Community MembersSolutionsSuper UsersSolutionsPower Apps anandm0861WarrenBelz86DBO_DV25Amik66Michaelfp13mmbr160647Giraldoj13FLMike31AmínAA13SpongYe27     Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Week 4:Community MembersSolutionsSuper UsersSolutionsPower Apps DBO-DV21WarranBelz26Giraldoj7mmbr160618Muzammmil_0695067Amik14samfawzi_acml6FLMike12tzuber6ANB8   SunilPashikanti8

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (1,155)