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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Adding HTML page form

(0) ShareShare
ReportReport
Posted on by

Hello,

I want to create form in AX that is totally referred to HTML page (Such as Enterprise Portal - also, is there any elegant way doing that for a page of EP).

Need to be a form of AX (from AX full client).

How can I do that?

Thanks :)

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    236,394 Most Valuable Professional on at
    RE: Adding HTML page form

    Use either the HTML form control (look at cross-references for FormHTMLControl class to find many examples in AX), or use a managed control (with WPF WebBrowser, for example).

  • Community Member Profile Picture
    on at
    RE: Adding HTML page form

    I added a 'HTML' (in my form -> design -> new control -> html).

    In init() method, I added line :

    HTML.url("....");

    The HTML open as a separate web page (on internet explorer).

    I want that the HTML will be opened in the form - same result as I open it on internet explorer but on form).

    Also, need that the form will be shown as full form.

    Also, only the web part shall be shown (no extra buttons, etc, which EP shows).

    Thanks :)

  • Verified answer
    Martin Dráb Profile Picture
    236,394 Most Valuable Professional on at
    RE: Adding HTML page form

    Please open tutorial_Form_Control form and look at the last tab (HTML). That's an example of the HTML control.

  • Community Member Profile Picture
    on at
    RE: Adding HTML page form

    OK. You can consider this as close issue.

    WebBrowser.Navigate(url) is for setting url.

    WinAPI::forceMaximizeWindow(element.hWnd()); is for setting window as maximum width+height available.

  • Community Member Profile Picture
    on at
    RE: Adding HTML page form

    Hi Eitan,

    Did you manage the HTML control inside AX form to display external web page using URL?

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#3
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans