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 :
Customer experience | Sales, Customer Insights,...
Unanswered

How to override the default command in Associated View

(0) ShareShare
ReportReport
Posted on by 60

In my custom entity, I want to open the record item with web resource in entity view

use this method(https://www.youtube.com/watch?v=Jnkg9rOMXNo ), I resolved the issue.

I have overrided the Mscrm.OpenRecordItem command to resolve the issue.

But now, I also want to do same solution in Associated View.

what is the default command name in Associated View?

last post

community.dynamics.com/.../1089856

### Reference

docs.microsoft.com/.../override-default-open-behavior-grids

I have the same question (0)
  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Command's name is exactly the same. Here is the post I did that accompanies the YouTube video you shared - butenko.pro/.../ in the comments you can see following:

    I believe it’s due to the Ribbon Workbench using the same value for CustomUIAction ID and Button ID. If you manually edit the RibbonDiffXml in the customizations.xml according to the Microsoft article here, you can make it work for both instances. I added a console.log() line to alert when the custom method is called and it fired from both the HomepageGrid and the SubGrid contexts.

    I haven't tried it personally but I believe it should work so good luck.

  • Outcome Chain Profile Picture
    60 on at

    Hello Andrew, I tested the microsoft method, but it does not work for me.

    after I update the customization.xml, I found the method just added a command for this.

    has more details for this issue?

    pastedimage1600184055413v1.png

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I haven't tested that approach as I mentioned - I have no additional wisdom to share.

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans