Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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."

  • ssgalo Profile Picture
    4 on at
    Re: The published app doesn't show items, but in edit mode it does.

    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

     

  • Michael E. Gernaey Profile Picture
    40,272 Super User 2025 Season 1 on at
    Re: The published app doesn't show items, but in edit mode it does.

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard