yashag2255 / iframePCF

PCF to enable an iframe functionality in canvas apps for Power Apps.
42 stars 41 forks source link

Height Width #29

Open NPCQuestion opened 1 year ago

NPCQuestion commented 1 year ago

Hello,

Is there a posibility to change the height and widht of the embeded page other than changing the Bundle.js? Can you please explain how to change Bundle.js correctly and repack? Thanks

andresgd7 commented 1 year ago

Im looking for the same, the solution of https://github.com/VinnyDyn/Iframe4Canvas have some problems running javascript

andresgd7 commented 1 year ago

Nevermind, use this solution instead. It's responsive https://github.com/nghiemdoan-msft/PCF-ResponsiveIFrameControl

NPCQuestion commented 1 year ago

when I import the solution you posted this is what I get image

I am pretty sure that - downloading .zip file named ResponsiveiFramePCFSolution_1_0_0_1_managed.zip,importing it to my enviroment and opening it in my app - should be enough, but unfortunately does not work for me.

Could you please explain how you did it, since no OPs on git is answering to any questions anymore

andresgd7 commented 1 year ago

when I import the solution you posted this is what I get image

I am pretty sure that - downloading .zip file named ResponsiveiFramePCFSolution_1_0_0_1_managed.zip,importing it to my enviroment and opening it in my app - should be enough, but unfortunately does not work for me.

Could you please explain how you did it, since no OPs on git is answering to any questions anymore

Well, you have to set some options in power apps. How are you importing that component?