Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Export only selected/marked rows

Posted on by 26

Hello,

since a lot of people already asked this years ago, here is my new question to that problem: Is it possible in CRM 2016 on-premise to export only marked rows to a Excel?

Like here: https://atinkerersnotebook.com/2018/06/02/exporting-selected-rows-to-excel/

Since this feature seems not to be availible for the on-premise version, I had the following plan:

1. Create a custome button.

2. Get the selected rows with Xrm.Page.getControl("<grid name goes here>").getGrid().getSelectedRows()

3. Pass that information to the Function that is creating the Excel

But how is the name of the function? Or is there maybe an easier solution?

Our management wants that feature.

Thanks

EDIT: How can I see the function behind the Command Mscrm.ExportToExcel.StaticXlsx?

*This post is locked for comments

  • Bernhard S Profile Picture
    Bernhard S 26 on at
    RE: Export only selected/marked rows

    Hi,

    thanks for you answer.

    I was able to solve this quicker with a custom report. The management seems to be happy with it, so we will use it as workaround until MS releases the same functionality like in the 365.

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Export only selected/marked rows

    Hi , it would be difficult to know the internal CRM function. What i would suggest you is to get the guids of the select records - call an action pass array of these guids & register your plugin on that action.

    in the plugin - prepare CSV file using guids to retrieve the data & find a way to push that as an action output and present it using the internet explorer blob function.

    Thats all i can think of untill someone else has any other suggestion otherwise.

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