Clarification: Dashboard Integration Sever vs Service

Greetings;

Im having some difficulty understanding the architecture of integrating dashboards in an external application (CMS)

If I have an instance of the webserver (not the dashboard service) on 'ServerHost' and I want to consume the dashboards with an individual username password managed in The Server, can I use the Dashboard Service SDK to accomplish this on my CMS?

Clarification greatly appreciated.

Dave


1 Reply

MA Mohamed Aslam Mohamed Iqbal Sulthan Syncfusion Team June 5, 2018 12:06 PM UTC

Hi Dave,  

Thanks for using Syncfusion products.  

You can integrate our Syncfusion dashboards into your application in two ways,  

  1. Embed the Dashboards from Dashboard Server.
  2. Embed the Dashboards using Dashboard SDK.

Embed the Dashboards from Dashboard Server:  
 
You can integrate the dashboard from Dashboard Server into your application by using Embedding Dashboards concept. Please refer the online help documentation link below,  

To make use of this, you will need to pass username and password for authenticating the user. In case, you are using Windows authentication or Azure AD authentication in Dashboard Server, then the dashboards can be authenticated without passing the username and password.  

Please refer the corresponding help documentation links below,  

Windows AD Authentication 
Azure AD Authentication 

Embed the Dashboards using Dashboard SDK: 

You can integrate and render the Dashboards in your application using Dashboard SDK. To achieve this, you will need user credentials for authentication and the Dashboard path. 

To get the Dashboard location of the respective Dashboard, which is published in Dashboard Server, you have to access the Getitems API to get the list of Dashboards and pick the ‘itemlocation’ property to get the Dashboard location of your respective Dashboard. Please check the below link to access the API,     

We have also created a sample application to get the dashboard path and you can download it from the below link, 
      
In GetItems() method, you need to provide the dashboard name as shown in the below screenshot to get the dashboard path.      
      
 


Please follow the below steps to render the Dashboard:      
      
  1. Download the sample file from the below link.
 
  1. Pass the username of the Dashboard Server in the apiRequest.userid
  2. Pass the Password of the Dashboard Server in the apiRequest.password
  3. Replace the Dashboard path which is returned from the getitems API in the ‘window.DashboardPath’ variable as below.
      
      
        
      
  1. Now you can render the dashboard.

Thanks, 
Mohamed Aslam 


Loader.
Up arrow icon