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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Hyperlink button

(0) ShareShare
ReportReport
Posted on by 1,270

Is there a way to create a menu item / button in AX that points to and opens up a web hyperlink?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi

    I think not directly. But you can hook the menu item to a class or write the code to open the web site directly in a button. Then you can call WinApi::shellExecute and point to the URL. This will trigger the systems default web browser to open the link. msdn.microsoft.com/.../aa847349(v=ax.50).aspx

    Another way woul be to embedd the browser via ActiveX Control.

    Kind regards

    Andi

  • Verified answer
    David Rose Profile Picture
    1,270 on at

    Thanks Andi, that did the trick.  In fact ,I found that you don't even need to go to the bother of creating a class and code to hook the button into.  There is already a SysShellExecute Class in AX that facilitates the calling of WinAPi ::ShellExecute.  All you need to do is fill out the address in the Parameters.

    Great link here: kdynamics.blogspot.com.au/.../run-external-application-from-dynamics.html

  • Community Member Profile Picture
    on at

    Hi DavidR, can you provide detail as to what steps I need to take to add a URL link in AX2012. I looked at the link you provided but unfortunately I couldn't figure out where to start in AX. I basically want to add a hyperlink anywhere in AX to a SSRS report.

    Kind regards

  • Community Member Profile Picture
    on at

    Never mind, I figured it out.

    Thanks!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans