Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.85 KB

sample-download-report-definition.md

File metadata and controls

52 lines (35 loc) · 1.85 KB
title description ms.custom ms.date ms.reviewer ms.suite ms.tgt_pltfrm ms.topic applies_to ms.assetid caps.latest.revision author ms.author search.audienceType
Sample: Download report definition | MicrosoftDocs
This sample shows how download report definition.
01/28/2020
pehecke
sample
Dynamics 365 Customer Engagement (on-premises)
69763a0a-af67-48b8-adf2-470c1cdf6196
22
JimDaly
nabuthuk
developer

Download report definition

This sample shows how to download a report definition (.rdl) file by using the DownloadReportDefinitionRequest message. You can download the sample from here.

[!includecc-sample-note]

How to run this sample

[!includecc-how-to-run-samples]

What this sample does

The DownloadReportDefinitionRequest message is intended to be used in a scenario where it contains the data that is needed to download a report definition.

How this sample works

In order to simulate the scenario described in What this sample does, the sample will do the following:

Setup

Checks for the current version of the org.

Demonstrate

  1. The QueryByAttribute method queries for an existing report.
  2. The DownloadReportDefinitionRequest method downloads the report definition.

Clean up

Display an option to delete the sample data that is created in Setup. The deletion is optional in case you want to examine the entities and data created by the sample. You can manually delete the records to achieve the same result.

[!INCLUDEfooter-include]