acumatica 形式的 IFRAME

IFRAME in acumatica form

我正在尝试使用 iframe 从 Acumatica 调用外部 URL。

我试过了,没用

<asp:Content ID="cont2" ContentPlaceHolderID="phF" runat="Server">
<px:PXFormView ID="form" runat="server" DataSourceID="ds" DataMember="Document"
    AllowCollapse="False" Width="100%" Height="100%" TabIndex="100">
    <Template>
        <div>
            <iframe src="Site Url"></iframe>
        </div>
    </Template>
    <AutoSize Container="Window" Enabled="True" MinHeight="200" />
</px:PXFormView>

我在 table 中尝试过,它对我有用

<asp:Content ID="cont2" ContentPlaceHolderID="phF" runat="Server">
<px:PXFormView ID="form" runat="server" DataSourceID="ds" DataMember="Document" 
    AllowCollapse="False" Width="100%" Height="100%" TabIndex="100" CaptionVisible="false">
    <Template>
        <table runat="server" style="width: 100%;height=1000px">
            <tr>
                <td style="height=800px;width=100%">
                   
      
            <iframe id="myform" src="My Url" width="100%" height="800px" scrolling="no" ></iframe>
        
                    </td>
                </tr>
            </table>
    </Template>
    <AutoSize Container="Window" Enabled="True" MinHeight="200" />
</px:PXFormView>