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)

How to get html source code in axapta?

(0) ShareShare
ReportReport
Posted on by

Hi All,

I am wondering if there is a way that we can get the html source code in axapta from a file, the thing is iam saving my report document as a htm document and am trying to get the source code of that file in order to put it in the sysmailer.htmlbody() so that file can be in the body of the email instead of being an attachment,  anyone have an idea???

Regards,

Yousef Shawareb

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    236,394 Most Valuable Professional on at
    Re: How to get html source code in axapta?

     Hi, what about TextBuffer.fromFile() + TextBuffer.getText()?

  • Community Member Profile Picture
    on at
    Re: Re: How to get html source code in axapta?

    Hi Martin,

    Thanks for your reply, actually i just figured that out and i was to reply for my post but you replied first anyway thanks alot it's working :) .

    Regards,

    Yousef Shawareb

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