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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Register override form data-source field method 'jumpRef' not working.

(0) ShareShare
ReportReport
Posted on by 166
//
 
I just want add the View details link on display method fields and out bound field on form. I think the code written above is correct, when I attach debugger it did not hit the overridden method ? The code is not complete but first just verifying that whether or not overridden is triggering. It is not in my case.
  • Martin Dráb Profile Picture
    241,637 Most Valuable Professional on at
    LedgerJournalTable_Name doesn't use a display method. It's bound to a table field (LedgerJournalTable.Name).
  • GirishS Profile Picture
    27,845 Moderator on at
    Hi,
     
    In addition to the Martins comment, I need to ask you one thing. 
    Why are you using registerOverride method?
    You can either write COC for the particular control or write event handler for that control?
    I know the jumpRef method is not available under events node, but you can copy any of existing events - Paste it in class and in code you can change the event type Enum to JumpRef.
     
    Thanks,
    Girish S. 
  • itlabnarmi_ivoruk Profile Picture
    166 on at
    Ok Martin Dráb you are right. 
     
    What I actually trying to do is I want to add view detail link which will take me to that form.
     
     
    What I want is to just add link to description field 
     
     
    Thanks for your quick response !
  • itlabnarmi_ivoruk Profile Picture
    166 on at
    Yes GirishS there are two ways 
     
    • Control Event handler
    • Chain of Command
    But I want to do it with Chain of Command.
     
     
    Thanks for your quick response !
  • Martin Dráb Profile Picture
    241,637 Most Valuable Professional on at
    View details for fields that have a relation to another table. This is not the case of Name field; that's just a text field. Don't you actually want to use JournalName field instead?
  • itlabnarmi_ivoruk Profile Picture
    166 on at
    Hi Martin Dráb the issue is not using Name or Journal name, Issue is that the debugger is not triggering overridden method.
     
    I am following this Just what I want to do is below but want to do this through chain of command !
     
     
    Thanks for your quick response !
  • Martin Dráb Profile Picture
    241,637 Most Valuable Professional on at
    Well, it does matter whether you're doing a wrong thing or not.
     
    Trying to go to the related table of Name doesn't make a good sense, because no such table exists. You can type anything to the field, not just values from another table that you can could them navigate to.
     
    Also, overriding the logic of the individual control sounds wrong to me, if the control is bound to a data source field, because it would miss other instances of the field. You mentioned a display method, so maybe you took code for a display method and now you're incorrectly trying to use it in a different context.

    If you give us your code as text, we might test it on our own.
  • Suggested answer
    Waed Ayyad Profile Picture
    9,228 Super User 2026 Season 2 on at
     
    In the jumpRef code replace 
     
    name = LedgerJournalName::Find(LedgerJournalTable.JournalName);
    with
     name = LedgerJournalName::Find(YourControlName.valuestr());
     
     
    Thanks.
    Waed Ayyad
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
     

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

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 271 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 217

#3
Subra Profile Picture

Subra 200 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans