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

Data Cards Smashed Together in App, works fine on Computer.

I have an issue loading our apps on IPads and phones. When they are loaded on a computer, there is no problem. Please see the picture attached. I have tabs dividing data cards so they are only seen when a certain button is selected. For each button, OnSelect uses a formula UpdateContext({visible1:true}); UpdateContext({visible2:false}); UpdateContext({visible3:false}). Each button is only true in the visible tab for the data card that should be seen. Wondering if this is the reason that the data is not collected? Need some help determining why the app is not loading and why the computer is. 

 

Error Loading Screen.jpg

 

1 ACCEPTED SOLUTION

Accepted Solutions
KroonOfficeSol
Level 10

Re: Data Cards Smashed Together in App, works fine on Computer.

@bierstedt1

 

Do you use one form?
- Option is to create three forms all connected to the same datasource. In this way you don't have to show/hide the datacards. I found that this is not always working fine and sometimes the datacard gets re-arranged.

 

How do you make the datacard visible? Do you use the .height or .Visible? 

 

Is the Height off the datacard related to the height off the both controls?

- If so set the height to a absolute height and try if it then works fine.

 

Also disable the AutoHeight for the label.

 

For controlling visibility you can better use one number variable. So on your Button.OnSelect you get

UpdateContext({MShow:1}) // on the first
UpdateContext({MShow:2}) // on the second
UpdateContext({MShow:3}) // on the third

Then on you galleries.Visible/DataCard.Visible you do

MShow = 1 // to show on one possible value
MShow in [1,3] // to show on multiple possible values

Less variables to mantain and easier syntac on the visibility (instead off Visible1 && Visible2) 

 

Hope this helps.

 

Paul

3 REPLIES 3
KroonOfficeSol
Level 10

Re: Data Cards Smashed Together in App, works fine on Computer.

@bierstedt1

 

Do you use one form?
- Option is to create three forms all connected to the same datasource. In this way you don't have to show/hide the datacards. I found that this is not always working fine and sometimes the datacard gets re-arranged.

 

How do you make the datacard visible? Do you use the .height or .Visible? 

 

Is the Height off the datacard related to the height off the both controls?

- If so set the height to a absolute height and try if it then works fine.

 

Also disable the AutoHeight for the label.

 

For controlling visibility you can better use one number variable. So on your Button.OnSelect you get

UpdateContext({MShow:1}) // on the first
UpdateContext({MShow:2}) // on the second
UpdateContext({MShow:3}) // on the third

Then on you galleries.Visible/DataCard.Visible you do

MShow = 1 // to show on one possible value
MShow in [1,3] // to show on multiple possible values

Less variables to mantain and easier syntac on the visibility (instead off Visible1 && Visible2) 

 

Hope this helps.

 

Paul

samuelJ
Level 8

Re: Data Cards Smashed Together in App, works fine on Computer.

Are you using Auto Height for these?  Many people see this error with auto height.  Turning off improved rendering has helped us.

bierstedt1
Level: Powered On

Re: Data Cards Smashed Together in App, works fine on Computer.

I ended up creating multiple screens, as one screen with the visible function just seemed to be too much for the app to handle on apple products. 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 175 members 5,373 guests
Please welcome our newest community members: