We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Embedded Dashboard and Web Data Source

Thread ID:

Created:

Updated:

Platform:

Replies:

127492 Nov 18,2016 05:17 PM UTC May 26,2017 11:45 AM UTC Dashboard Platform 6
loading
Tags: Dashboard SDK
Balasubramanian Ramanathan
Asked On November 18, 2016 05:17 PM UTC

Hi,

We have designed a Dashboard that uses a web data source and DashBoard designer preview it is working fine. But when we embed the report in asp.net application using platform sdk we are getting the error the widget has not been configured and data retrieval error.

Cant we use web data source in embedded dashboards?

Thanks

Gangatharan Anandavel [Syncfusion]
Replied On November 21, 2016 10:45 AM UTC

Hi Balasubramanian,   
  
Thank you for your interest in Syncfusion products.   
  
We have already fixed the reported issue ‘Dashboard is not rendering properly when we create dashboard using web data source in Dashboard SDK and it will be available in our upcoming release which is planned on mid of December, 2016.   
   
Regards,   
  
Gangatharan   


Balasubramanian Ramanathan
Replied On November 21, 2016 10:48 AM UTC

Thank you for the update.

And i have one more request. Is it possible to change the web data source url by passing querystring parameters before rendering happens?. Is it supported?

Thanks

Gangatharan Anandavel [Syncfusion]
Replied On November 22, 2016 11:43 AM UTC

Hi Balasubramanian,   
  
As, we mentioned in the previous update, web data source issue fix will be available in our upcoming release along with that we will provide an option to change the web data source URL before rendering the viewer.   
  
Regards,   
Gangatharan   


Varun Reddy
Replied On April 14, 2017 07:43 AM UTC

Hi,
  Could you please let us know how to change the url for web data source at the time of load?

Regards

Varun Reddy

Mukil Karunanithi [Syncfusion]
Replied On April 17, 2017 11:29 AM UTC

Hi Varun, 

Thank you for contacting Syncfusion product.   
  
Changing the url for web data source at the time of load is an issue from our side. The fix for this issue will be available in our upcoming release which is expected at end of April,2017.   
  
For more information about changing the connection string using the API ‘onApplyconnection’, please refer to the below link.  
 
 
Also, we have sample shipped with the Dashboard Platform SDK. Please refer to the below sample on how to change the connection string at the runtime.   
  
%localappdata%\Syncfusion\Dashboard\Samples\ASP.NET MVC\TabbedViewDashboards    
   
Please use the following code example to change the connection string.    
  
In DashboardController.cs file:   
  
DashboardCryptoProvider provider = newDashboardCryptoProvider(EncryptionTypes.AES);    
            Connection D1C1 = new Connection { DataSources = newList<DataSourceConnectionString>() };    
            D1C1.DataSources.Add(new DataSourceConnectionString    
            {    
                Name = "DataSource1",    
                ConnectionString = "Data Source = .; Trusted_Connection = true; Initial Catalog = North; MultipleActiveResultSets = True"    
            });    
            ViewBag.Dashboard1DS1 = provider.DoEncryption(Converter.SerializeObject(D1C1));    
   
In aspx/cshtml file:   
  
dashboardObj.model.onApplyConnection = 'modifyConnectionString1';    
function modifyConnectionString1(e) {    
                       var changestring = '@ViewBag.Dashboard1DS1';    
                       e.data.modifiedConnectionStrings = JSON.stringify(changestring);    
                   }    

Regards, 
Mukil K. 


Gangatharan Anandavel [Syncfusion]
Replied On May 26, 2017 11:45 AM UTC

Hi Varun, 
 
We are glad to announce that our Syncfusion Dashboard Platform v2.2.0.31 is rolled out and it contains fix for the issue “Dashboard is not rendering properly when we create dashboard using web data source in Dashboard SDK. Please download it from:    
   
   
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you require any further assistance.    
 
Regards, 
Gangatharan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;