{Quick Tip} Increasing height of Web resource rendered in a PowerApp Portal

In one of our recent projects, there was a requirement to put a Web resource which is available on Contact entity form and need to be display some static information for Membership sign up.

To our surprise, even after aligning the width of the web-resource it will not show up with proper height on the Entity form once published to the PowerApp portal:

clip_image002

The workaround is to go to Custom JavaScript in Addition Settings tab under your Entity Form and use the following script:

clip_image004

$(document).ready(function () {

$( “#WebResource_WebResourceName”).height(‘200px’);

});

//Change the height as per your requirement

Hope it helps and Power 365ing as usual!

Hope it helps and Power 365ing as usual!

Any problem in Power Platform or Dynamics 365 – end user, Microsoft partner or an individual?

Problem Area – Technical, Functional, Training, Development or consulting?

I am here to help, get in touch here: Click here

clip_image006