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)

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

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

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans