Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

On Click of custom ribbon button

(0) ShareShare
ReportReport
Posted on by 104

Hi All,

I have a custom ribbon button on home page of entity. On click of this ribbon button i am opening a dialog box using xrm.internal.opendialog. When selecting multiple records in the homepage, I am using "SelectedControlSelectedItemReferences" crm parameter to get the id, name and type name. As the retrieved value is getting as an array, i am not able to pass this values as parameter to the url passing in xrm.internal.opendialog  . can someone help me how to pass this object array as a parameter to the url to open the html dilaog.

Thanks

  • Suggested answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,615 on at
    RE: On Click of custom ribbon button

    Using CRM platform internal methods like “xrm.internal.opendialog” is unsupported which means it will break in future when product team change it.

    Better to use documented (supported) methods like openEntityForm, openWebresource which is giving you option to send parameters & will not break.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans