Customer Engagement & Dynamics CRM Forum

 View Only
  • 1.  Size of Canvas App in CE

    Posted May 11, 2020 11:57 AM
    It seems no matter the app size or canvas size when embedding into a D365 form the PowerApp wants to occupy tremendous amount of real estate.  Anyone have this same issue and how did you fix in a supported way?..aka no "documentgetElementById" DOM hacks. I have tried deleted the placeholder field(with Canvas app as control) and still no luck.  I need to stack two canvas apps on top of one another with the user having to do copious scrolling.

    #PowerApps ​​

    ------------------------------
    Scott Philips
    Consultant
    Lightholder Consulting LLC
    ------------------------------


  • 2.  RE: Size of Canvas App in CE

    Posted May 11, 2020 12:51 PM

    Hey Scott have you looked at this documentation from MSFT?


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

    Could you post a screenshot? Only 1 embedded canvas app can be enabled per form at a time so stacking them might not have the desired UX you were looking for. Thanks.



    ------------------------------
    Doug Apicella
    Solution Architect
    Hitachi Solutions
    SC
    ------------------------------



  • 3.  RE: Size of Canvas App in CE

    Posted May 11, 2020 01:01 PM
    Understood about multiple canvas apps.  I did try taking the steps suggested in the link you provided.  The app itself is the correct size but looks like on the page the height of the DIV Dynamics provides as the container for the Canvas App is too generous. It does not render the same height as the canvas app as you design and configure in PowerApps.

    ------------------------------
    Scott Philips
    Consultant
    Brandywine Global Investment Management, LLC
    Philadelphia PA
    ------------------------------



  • 4.  RE: Size of Canvas App in CE

    Posted May 11, 2020 01:26 PM
    Scott is it the height specifically that is the issue or the width as well? What type of tab/section are you placing the control in? You might want to try the experimental feature under "Advanced Settings" of the app  and set the "Optimize Embedding Appearance" and see if that works.



    ------------------------------
    Doug Apicella
    Solution Architect
    Hitachi Solutions
    SC
    ------------------------------



  • 5.  RE: Size of Canvas App in CE

    Posted May 11, 2020 01:34 PM
    I figured it out.  I set the screen size(Height and Width) to App.DesignHeight and App.DesignWidth and I in App settings I set a custom Height and Width. Published and now it shows properly.

    ------------------------------
    Scott Philips
    Consultant
    Brandywine Global Investment Management, LLC
    Philadelphia PA
    ------------------------------



If you've found this thread useful, dive deeper into User Group community content by role