Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Associated View Custom Button

Posted on by Microsoft Employee

Hello everyone,

I have a third party grid and I would like to add a button which open the associated view of the record. In my case the associated view between Account and Opportunity.

I already add the image:

<img class="ui-button" id="createOpportunity"  onclick="openAssociatedView()" src="../webresources/aut_associatedview.gif">

But I don't what to write in my function openAssociatedView(). My button should have the same action as the button represented by: associatedview.gif

Do you have any idea?

Thanks a lot.

Léo

*This post is locked for comments

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Associated View Custom Button

    Hi Leo ,

    Associated view button is system button , and its completely black box for us to use the OOB code and its not supported at all accessing DOM and copy the same.

  • Verified answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: Associated View Custom Button

    You can check what’s the command being used in that existing button & re-purpose but this is highly unsupported.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans