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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Canvas visible in stud...
Power Apps
Answered

Canvas visible in studio but not in live app

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I just can't figure this out. I have built a version of the template Onboarding app, including screen that displays the users team. Peers, Managers and Reports are held within collections and sit in galleries within a canvas. 

 

It all looks fine in the editor:

 

 

But does not display in the live app:

 

I have confirmed that:

  • The collections contain data
  • The canvas, data cards and galleries all have the visible set to true, all have the correct heights and X/Y coords (as evidenced by the little test labels in both screenshots above)

Can anyone suggest what I might be missing?

 

Thanks for your help!

Joel

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The images above didn't upload again.

     

    In Studio:

    Screenshot 2020-11-11 122940.png

     

    Live app:

    Screenshot 2020-11-11 123304.png

  • timl Profile Picture
    37,346 Super User 2026 Season 2 on at

    Hi @Anonymous 

    This might be an obvious thing, but have you definitely published your app?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It's always worth checking the obvious 😁 Yes I've published. It was working previously, but the canvas control has disappeared for some reason

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    How are you controlling visibility on the Canvas?  AND, is it really the Canvas or the DataCard in the Canvas?

    If you are using a variable to control visibility, you might have a value not getting set initially (I've seen this exact issue with datacards/canvas controlled by variable).

    Simple solution if it is a true/false variable is to wrap it in a Coalese - Coalesce(myVisibilityVariable, true) (or false if necessary).

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @RandyHayes, thanks for your message.

    No, I'm not using any variables I'm afraid. Both the Canvas and the DataCard are set permanently to true. 

    Previously, I tested whether it was the DataCard or the Canvas by adding a second DataCard to the canvas, which contained a dummy label. This did not appear when the app was live either, so I'm leaning towards it being the Canvas that is causing issues.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    It was a shot...I chimed in because it sounded identical to an issue I saw before in regard to the visibility.

     

    It's always painful to diagnose a play-time issue - as you have to tinker and then publish then play, then rinse and repeat.

    However, I would try to put some diagnosis labels on the screen and set the text properties to things about your Canvas - things like Canvas1.Visible (should show true), Canvas1.Y (and X, Height, Width, etc. should all show the proper values).  I'd start to see if you find any anomalies in that which might lead to an answer.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes, yep tried all that too. All values returned as expected, even the visible property showing true, but the canvas was still not visible.

     

    What's even weirder is that I've just deleted the troublesome canvas and added a whole new canvas with just one dummy label in it. Even this isn't showing when live! 🤔

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Solved it. The issue was with the height of my canvas.

     

    I had set the height to 538, which is the distance from the top of the control to the bottom of the screen. I instead changed the height property of the canvas to Parent.Height - Self.Y. What I don't understand is that it calculates the exact same value as I had set before...538! But this works and using a set height doesn't!?

     

    I've spent three hours on this 🤣

  • Reinier Profile Picture
    77 on at

    I experience the exact same problem. However, changing the height or width of the data cards seemed to work the first time but it stopped working all together all of a sudden. Any suggestions? 

     

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Reinier, yeah mine had stopped working all of a sudden as well. I found it was the Canvas that was the problem, rather than the DataCard

    Did you try adding the formula to dynamically determine the height of the canvas?

    hantsjoel_0-1605257891579.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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard