web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

HTMLEditor Control

(0) ShareShare
ReportReport
Posted on by 931

Hi All,

I have a HTML template saved in the table.

I have created a new form with HTMLEditor control to view/edit the HTML content using a display method.

If i edit the HTML in htmleditor control, it should save back to the table, how can i achieve this.

I followed this post, https://startspacers.wordpress.com/tag/ax7/

How to save the data in the HTMLEditor control to a table field?

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,833 Most Valuable Professional on at

    Did you try the solution described in the article ("To save the data while using a data method we can override the setHtmlContent method of HTML editor")?

  • ThivaKar Profile Picture
    931 on at

    Can u give me an example for this?

    for instance, in the init method of my form , i use HTMLEditorcontrol.parmHtmlContent(MyTable.HtmlCOntent);

    how to use this method for saving the edited data int he HTmlEDitorControl

  • Martin Dráb Profile Picture
    237,833 Most Valuable Professional on at

    If you ask me, I wouldn't bother writing any code at all. I would simply set Data Source and Data Field properties of the control.

  • ThivaKar Profile Picture
    931 on at

    Hi Martin, im trying to open the form while clicking a button, so in the clicked method, i can open the form and pass the record to it,,

    But if it is a datasource field, how can i do that

  • Martin Dráb Profile Picture
    237,833 Most Valuable Professional on at

    I'm sorry, but I don't understand what problem you have with it. Please give us a more detailed explanation.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans