cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BenDenBlanken
Advocate I
Advocate I

Embedded Canvas App - Extended white space under different user / business unit

Hi All,

 

I'm having a hands in hair moment while developing an embedded canvas app for a customer.

We've created a simple app which shows some colors based on records in CDS. The app should be only 100 pixels in height and that's what we've selected as our screensize.

 

We have a business unit structure as follows:

  • Parent
    • Child 1
    • Child 2

 

Below a screenshot with a user in the parent Business unit (Our canvas app is in the topright):

dev1.jpg

 

 

 

When looking at this record with a user in the business unit "Child 1" the scaling of the canvas app is all wrong as seen in the screenshot below. The large white space is all app related.. The record is assigned to the business unit Child 1, so that should not be the issue

 

 

 

dev2.jpg

 

 

We've checked all security and both users have the same security levels. When moving the user of the second example to the parent business unit the app scales correctly again. When giving the user admin rights the app also scales correctly.

 

I do not know which rights are in the way of the scaling.. Any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions

Found it!

 

Is was indeed a rights issue in the model app. The entire organization needs read rights on Customization -> Canvas App.

CanvasAppRights.jpg

View solution in original post

5 REPLIES 5
v-xida-msft
Community Support
Community Support

Hi @BenDenBlanken ,

Could you please share a bit more about your scenario?

Do you mean that the scaling of the embedded app would be in different size when you open a record in parent Business unit and  business unit "Child 1"?

Have you taken a try to custom the screen size of a embedded canvas app on your Model-Driven form?

 

Based on the issue that you mentioned, it seems that this issue is related to the screen size of a embedded canvas app on your Model-Driven form. Please consider custom the screen size of a embedded canvas app, then re-publsih it, then check if the issue is solved.

More details about customing the screen size of a embedded canvas app on a Model-Driven form, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/embedded-canvas-app-customize-scr...

 

Please consider turn off the "Scale to fit" option within "Screen size + orientation" settings of App settings, then re-publish your app, check if the issue is fixed.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

Thanks for your respons. We've indeed tried different scenario's with scaling. The canvas app is scaled to 100 height inside the canvas app. We've played around with scale to fit but to no avail.

Concerning your question: When the logged in user is in the child business unit, the scaling problem exists. When we assign the logged in user to the parent level business unit the scaling issue is no longer apparant.

Also the admin user has no problems with scaling. Not even when in the child business unit.

All signs point to "roles and rights" but that doesn't make sense to me..

@BenDenBlanken I see some differences in the screenshot below. Looks like in one case the canvas app is going across the columns but in the other case it is in half that space. Is it possible to put a border that takes up the whole screen in the canvas app to see where that appears?

 

Thanks

Anees

Found it!

 

Is was indeed a rights issue in the model app. The entire organization needs read rights on Customization -> Canvas App.

CanvasAppRights.jpg

SD_PowerUser
Frequent Visitor

@BenDenBlanken 
Seems like you found the solution for this. I also encountered a similar issue with the extra space below my embedded canvas app. 

As per your recommended solution, you are saying to change the rights for the Canvas app to Read. Currently, I am logged in as a System Admin and I have full rights for Canvas app as you can see below.

SD_PowerUser_0-1643939091564.png


Unfortunately, this doesn't work for me as the extra blank space is still there on the form. I have changed the scaling of the app, played with permissions, changed the orientation too etc. But this doesn't work!

SD_PowerUser_1-1643939293586.png

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,467)