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
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.
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156