Coder Social home page Coder Social logo

xrm.reportscheduler's Introduction

Report Renderer

Archived

This solution is no longer the recommended approach. Please use a Power BI Premium (per user or per capacity) license to create a Paginated Report connected to Dataverse which can be scheduled. Please see these links for more information.


Overview

Out of the box, Dynamics 365 does not provide a method to schedule reports.

This solution installs a Report Renderer plugin in your environment which allows you to render any report (SSRS) or document template (Word or Excel). Using this, you can create flows to email reports/documents on a recurring basis.

Render Report

Available Formats: PDF, CSV, XML, Word, Excel, HTML 5.

Render Template - Word

Render Template - Excel

Configuration

Please refer to the installation and usage documentation.

Parameters

In order for the reports to render successfully, you must pass in the proper parameters (if the report requires them). If you pass in invalid parameters, you will get an error.

Parameters are passed in as a JSON object where the keys are the parameter names. If the report has default parameters defined, you do not need to pass in the parameters.

Out-of-the-box Reports

These reports use FetchXML for the report parameters. The parameter names generally follow a format of CRM_Filtered{Entity} where {Entity} is the "Logical Name" of the entity the report is based on.

Here's an example from the "User Summary" report. Note that the FetchXML has the quotes escaped.

{
  "CRM_FilteredSystemUser": "<fetch version=\"1.0\" output-format=\"xml-platform\" mapping=\"logical\" distinct=\"false\"><entity name=\"systemuser\"><all-attributes /></entity></fetch>"
}

Report Wizard

These reports are effectively the same as the out-of-the-box reports. See the previous section.

Custom Reports

These are reports created through Visual Studio/BIDS. Because they are custom, the parameters will depend on how the report author configured the report. In the screenshot above, the "Weekly Report" has a custom parameter named "Color".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.