[英]How to add a created element in the CRM section using JavaScript?
I want to add a created element in JS into CRM form. 我想将JS中创建的元素添加到CRM表单中。 How could I do it and is it possible?
我该怎么办?有可能吗?
var body = Xrm.Page.ui.tabs.get("Tab").sections.get("Section");
var tbl = document.createElement('table');
body.appendChild(tbl); // I need to add created tbl into CRM section but feiling here
Whatever you are trying is unsupported in Xrm context. Xrm上下文不支持您尝试执行的任何操作。 Instead it's recommended to build a custom HTML web resource, build the table there.
相反,建议构建一个自定义HTML Web资源,然后在此处构建表。
The web resource can be embedded in the Xrm entity form section. 可以将Web资源嵌入Xrm实体表单部分。 This is totally supported.
完全支持。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.