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

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
Resident Rockstar
Resident Rockstar

@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

View solution in original post

3 REPLIES 3
KroonOfficeSol
Resident Rockstar
Resident Rockstar

@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

View solution in original post

samuelJ
Responsive Resident
Responsive Resident

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

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Users online (45,513)