web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / The published app does...
Power Apps
Unanswered

The published app doesn't show items, but in edit mode it does.

(1) ShareShare
ReportReport
Posted on by 4

My data source is Dataverse. In PowerApps Studio (edit mode), the data loads correctly. However, when I publish the application, nothing appears, and I'm forced to use the latest version of the app. In other words, I can't publish any changes. 
I'm sure it's a problem with the authoring version because previously I could switch to the published working version in order to make it work. Now it doesn't even appear; I tried all versions (not just the recommended one), but the problem persists."

I

've been debugging and found the following in the monitor. In the edit mode of the application, the getRows method is present, as shown in the following screenshot:

ssgalo_1-1720811300162.png

 

 

But when I debug in the published version, it's not there. For some reason I don't know, it does not bring the data from Dataverse.

 

Please, I need help as I require to publish changes in my application."

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,360 Super User 2025 Season 2 on at

    Hi @ssgalo 

     

    Several things

     

    1. So you are publishing in the Same environment and data is not loaded, both for yourself and everyone else? 

     

    2. How are you loading the data, is there a gallery, or Form, or Controls, when the screen you are referencing (having no data) loads?

     

    3. If you have a specific DataSource, that you expect to see but don't, I would do this as a test.

     

    Several things

    A) Add a Text label, and set the Text to Text(CountRows('DataSource')) and ignore the delegation warning - verify that it doesnt show blank or 0

     

    B) Add a Button, and in the Button run whatever filter, you are doing that should show data above and then do a CountRows on that like

     

    Notify(Text(CountRows(Filter('My Source', Field = Value))));

     

    Now, as for the getRows not being run, can you please share the Code around it, as in if there is a Condition of If statement or Check that you are using, to filter, or decide and in fact that code never runs.

     

    So I would Add Trace statements all over the place, near before, after, the code that should get the data so you can see them in Monitor and find out what is NOT firing.

     

    Trace("My Debug Message Here");

     

    If you follow those things you'll figure it out. In the end it could be Permission issues (as I dont know if its the same environment or not), as well as, are people Agreeing to the Connection work etc.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • ssgalo Profile Picture
    4 on at

    Thank you very much for the response! I really appreciate it.

    Answering your questions:

    1. Not only me, but no one can see the data once the app is published. It is an error that affects all users.

    2. Gallery

    3. By doing what you recommended, I found something that might help.

    Apparently, the error is in the following code snippet. In this situation, I did a ClearCollect for testing purposes, but in the application, that section of code is in the items property of the gallery which has the problem.

    ssgalo_0-1721059650592.png

    What happens is that in edit mode, it does not throw any errors.

    ssgalo_1-1721059696861.png

     

    But when I publish the app, it does, although it does not specify why the error occurs.

    ssgalo_2-1721059756577.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard