I want to add a created element in JS into CRM form. 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. Instead it's recommended to build a custom HTML web resource, build the table there.
The web resource can be embedded in the Xrm entity form section. This is totally supported.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.