简体   繁体   English

在 Microsoft Dynamics CRM 中更改 html 代码的位置

[英]Where to change html code in Microsoft Dynamics CRM

Microsoft Dynamics CRM, custom iframe that currently has this code: Microsoft Dynamics CRM,当前具有以下代码的自定义 iframe:

<div id="mainContainer" class="classname_here" style="max-width: 1900px">

I was able to change 1900px to 100% using stylish browser extension:我能够使用时尚的浏览器扩展将 1900px 更改为 100%:

.classname_here {
    max-width: 100% !important;
}

I want to change this in Microsoft Dynamics CRM, is that possible?我想在 Microsoft Dynamics CRM 中更改此设置,这可能吗?

Or is the 1900px set by Microsoft Dynamics CRM set in stone and cannot be changed?还是 Microsoft Dynamics CRM 设置的 1900px 是一成不变的,无法更改?

Thanks!谢谢!

At onLoad event script try this:在 onLoad 事件脚本中试试这个:

var container = parent.document.getElementById("mainContainer");
if (container !== null)
    container.style = "max-width: 100%"; 

But this is unsupported way但这是不受支持的方式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何从Microsoft Dynamics CRM表单到html Web资源获取价值 - how to get value from microsoft dynamics crm form to html web resource 如何在 Dynamics CRM 中操作 HTML-Web 资源 - How to manipulate a HTML-Webresource in Dynamics CRM CRM Dynamics:将arraybuffer传递给html Web资源 - CRM Dynamics:To pass arraybuffer to html web ressource 将HTML按钮添加到Dynamics CRM 2016表单 - Adding HTML Button to Dynamics CRM 2016 Form 在Dynamics CRM的HTML Webresrouce中未定义GetGlobalContext - GetGlobalContext is not defined in HTML webresrouce of Dynamics CRM ms dynamics crm 2015 Web资源html正文onload函数 - ms dynamics crm 2015 web resources html body onload function 在 Dynamics CRM Online 中获取 HTML Web 资源的价值 - Get value into HTML web resource in Dynamics CRM Online 如何在Dynamics CRM 2011中将CRM联系人数据集成到HTML页面Web资源? - How to integrate CRM contact data to HTML page web resource in Dynamics CRM 2011? 在 Microsoft Dynamics CRM 4 的弹出窗口中打开电子邮件 window - Open E-mail in a pop up window from Microsoft Dynamics CRM 4 如何根据Microsoft CRM Code Review在HTML Webresouce中使用javascript document.createElement,document.body,$(document)? - How to use javascript document.createElement, document.body, $(document) in HTML Webresouce as per Microsoft CRM Code Review?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM