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)

Does anyone know why URL in D365 SSRS report doesn't work?

(0) ShareShare
ReportReport
Posted on by 85

I added a field with Go to URL Action and specify a URL on D365 SSRS report like below image. but when I click the hyperlink on the report, it doesn't work. I don’t know if there is any setting to allow URLs within SSRS report viewer or the default behavior. Does anyone know why?

url1.png

URL.png

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Sukrut Parab Profile Picture
    71,710 Moderator on at

    Here is new way to generate hyperlinks for SSRS reports in D365O

    For the action on the textbox:

    =Microsoft.Dynamics.Framework.Reports.BuiltInMethods.GenerateDrillThroughLink(

    Parameters!AX_ReportContext.Value,

    Parameters!AX_UserContext.Value,

    <drill target menu item>,

    <drill target menu item type>,

    <table name>,

    <field name>,

    <field value>

    [, <field name>, <field value>])

    <drill target menu item>

    The name of the menu item target for the hyperlink

    <drill target menu item type>

    The type of the menu item target for the hyperlink (e.g. “Display”)

    <table name>

    The name of the table referenced by the target menu item

    <field name>

    The name of the field in the table to restrict

    <field value>

    The value of the field in the table to restrict

    Optional

    Additional <table name> and <field name> pairs as needed

    Example:

    =Microsoft.Dynamics.Framework.Reports.BuiltInMethods.GenerateDrillThroughLink(

    Parameters!AX_ReportContext.Value,

    Parameters!AX_UserContext.Value,

    "Menuitemname",

    "Display",

    "CustInvoiceJour",

    "InvoiceId",

    Fields!InvoiceId.Value)

    Also, you must add this method to the form that the menu item opens (the error message doesn’t tell you this):

    public boolean isRootNavigable()

    {

    boolean ret;

    ret = true;//Allow reports to open this form

    return ret;

    }

  • Fred Xu Profile Picture
    85 on at

    Sukrut, Thanks for your response!

    Is there a way to open a direct URL(e.g. http://google.com) instead of the D365 form?

    Thanks in advance.

  • Community Member Profile Picture
    on at

    Do you know how to get these to open in a new window?

  • Suggested answer
    Srini Ramidi Profile Picture
    2 on at

    Hello,

    In SSRS Go To Url expression try

    javascript:void(window.open('http://www.google.com&#39;,'_blank'))

    Best,

    Srini

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi guys, yes there is a way - you can use the HTML notation in the field value itself and leave the Action set to None.

    Like this:

    0624.Report_5F00_StaticHyperlink.png

  • AndriyGorshkov Profile Picture
    20 on at

    Has anyone found the solution?

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