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)

How to add hyperlink on field in grid which has datasource view in AX2012?

(0) ShareShare
ReportReport
Posted on by 950

Hi,

I want to add hyperlink on grid field or if user double-click grid row, it should open another form with

selected row details.

How can i achive this?

 

Regards,

Rahul$

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    239,932 Most Valuable Professional on at

    The latter approach is well supported by AX (and widely used in list pages).

    You just have to do few simple steps:

    • Create a button to open the target form (just drop the menu item if you don't have additional requirements)
    • Set grid's properties:
      • AllowEdit to No (this is really required)
      • DefaultAction to the name of your button (you can use lookup)
      • DefaultActionLabel - name of the action in grid's context menu

    If you can't use this approach, you should prefer buttons to hyperlinks - don't build GUI inconsistent with the rest of AX without a good reason.

  • SaverioT Profile Picture
    330 on at

    Thanks Martin, it works also inside a FormPart.

  • Community Member Profile Picture
    on at

    Hi Saverio,

    Can you help what exactly have you done to achieve this as I have same requirement that I have custom fieled in the list page and the fieled have the EDT as InvenTransRefId..an it can have the Sales Order or planned order or production order.

    Please assist

  • Suggested answer
    SaverioT Profile Picture
    330 on at

    Hi Hari, your case seems more complex than mine. In my case I had one type of form to open and I set Dafault Action property on the  grid as described by Martin. I think  you can create a menu item action and in the class open the right form, base on the data in the current record.

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sanhthosh.Kumar.K Profile Picture

Sanhthosh.Kumar.K 2

#2
Raed Salah Bzour Profile Picture

Raed Salah Bzour 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans