exporting Dashbaord in PDF on schedule basis

Hi 

i want to export dashboards in PDF (as it is ) on schedule basis.

  1. Export dashboard as it is to PDF
  2. code behind to bind data to dashboard and convert it to pdf



3 Replies

KR Keerthana Rajendran Syncfusion Team July 20, 2021 01:15 PM UTC

Hi Jitendra, 
 
Thanks for contacting Syncfusion support.  
We checked your requirement with Dashboard Layout and would like to let you know that we do not have inbuilt exporting support in the Dashboard Layout component. However, we can export the controls inside Dashboard Layout by exporting an  
entire HTML page/URL into PDF document by using HTML to PDF conversion using URL to PDF conversion. Please refer below links for more information,  
Please let us know if you need any further assistance.   
Regards, 
Keerthana R. 



JC Jitendra Chaudhari July 29, 2021 05:18 AM UTC

How could we generate a dashboard on our server side with data fetching from APIs?



SA Shameer Ali Baig Sulaiman Ali Baig Syncfusion Team July 30, 2021 08:46 AM UTC

Hi Jitendra, 

We would like to let you know that DashboardLayout is a simple, independent UI component which will contain the collection of empty panels in the grid structured layout. . In DashboardLayout component, using this serialize() method, you can get the only the panel position properties ( SizeX, SizeY, Row, Col, Id ). Since, content within the panels will vary based on the different user’s need and it might be any HTML elements regardless of Syncfusion controls, we cannot determine the content inside the dashboard panels and their respective configurations.  

So, we have no in-built functionality in Dashboard Layout to handle the content inside the panels. Therefore, we suggest you to manually save the panel content using general angular based approach based on your requirement.  So, DashboardLayout does not handle its panel content. Therefore, we suggest you to manually save the panel content using general angular based approach based on your requirement. 

We can declare the content to the DashboardLayout in two ways. 

  • Mapping the component id to the content div element. Refer the below sample link.


  • Declare the content in separate angular component and load its content into a dashboard panel based on your requirement.



Please, let us know if you have any concerns. 

Regards, 
Shameer Ali Baig S. 


Loader.
Up arrow icon