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 |
|
69763a0a-af67-48b8-adf2-470c1cdf6196 |
22 |
JimDaly |
nabuthuk |
|
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]
[!includecc-how-to-run-samples]
The DownloadReportDefinitionRequest
message is intended to be used in a scenario where it contains the data that is needed to download a report definition.
In order to simulate the scenario described in What this sample does, the sample will do the following:
Checks for the current version of the org.
- The
QueryByAttribute
method queries for an existing report. - The
DownloadReportDefinitionRequest
method downloads the report definition.
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]