1

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 
1
  • Your question is very incomplete! What is XRM, what do you want to achieve? ... Commented Mar 15, 2019 at 15:40

1 Answer 1

2

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.

HTML webresource in CRM

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you for the answer. But then the question is if i can manipulate with the CRM fields from HTML web resource file, because i want to build the table based on CustomAcion output result.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.