web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

D365 OnPrem - Historical Data Button Presentation Options

(0) ShareShare
ReportReport
Posted on by

Hi there,

I have a situation where an onprem client is integrating sales transactions.

We will present recent sales transactions in an entity related to a customer, 2 years worth.

Anything beyond 2 years, the user will click a custom button in the ribbon to present a dialog that the user can enter a data range to bring historical records beyond two years.

The data would live outside of the D365 database in a separate database.

What kind of options for the presentation would I have for an on-prem implementation?

Thanks in advance!

I have the same question (0)
  • Rebel Leader Profile Picture
    on at
    RE: D365 OnPrem - Historical Data Button Presentation Options

    Thanks Wahaj.  

    I ended up coming to the same SSRS conclusion; easiest way to do it.

    Virtual entities I'd caution you on as Microsoft appears to no longer be investing in this feature.

  • Verified answer
    Wahaj Rashid Profile Picture
    11,321 on at
    RE: D365 OnPrem - Historical Data Button Presentation Options

    Hi,

    Thank you for your query.

    In my opinion, you have the following options:

    • Report: Create an SSRS report that connects with your external DB. Load this report with the click of a ribbon button. Show limited data using a parameter, for example, add a multi-value parameter to limit data based on date. In my suggestion, this is a cleaner approach and requires left error. See the following post to call a report from a ribbon button:

    https://www.cloudfronts.com/open-report-from-custom-ribbon-button-on-entity-form/

    Please note, because you have an on-prem environment, you can upload a report on Report Server with a data source that connects outside CRM.

    • External Data Source: create a virtual entity and fill it using a plugin or bind it with an OData endpoint, please note virtual entities hold read-only data, but displaying this in your way could be troublesome. 
    • HTML webresource: consume an API to retrieve data from external DB and list records in an HTML table (or JQuery table).

    https://carldesouza.com/dynamics-365-html-web-resource-example/

    • Canvas App: depending on your version, you can embed a PowerApps Canvas app to retrieve and show data from an external resource (you might need a premium license for this).

    Again, I would recommend an SRRS report and if the user has to do some action on data, build an HTML web resource.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 179

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 129 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans