New-UDIFrame sizing

Hi,

Is there any way to size a new iframe? I also tried with a layout but that didn’t work either

New-UDPage -Name "Calls" -Icon home -Content {
New-UDGridLayout -Content {
    New-UDIFrame -Id callsframe -Uri http://10.129.100.35/bsd/agentwb/view/miniindex2.asp
} -Layout '{"lg":[{"w":12,"h":17,"x":0,"y":0,"i":"grid-element-callsframe","moved":false,"static":true}]}'

}

Look at @artvandelay440 response in Embed webpage on one of my pages as he shows a solution:-

New-UdHtml -Markup "<iframe
                    src='https://my.amazing.iframe' 
                        style=
                            'background-color:white;
                            border:none;
                            width: 100%;
                            min-height: 500px;'>
                    </iframe>"
2 Likes