- Home
- Forum
- Dashboard Platform
- Embedded Dashboard and Web Data Source
Embedded Dashboard and Web Data Source
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
SIGN IN To post a reply.
6 Replies
GA
Gangatharan Anandavel
Syncfusion Team
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
BR
Balasubramanian Ramanathan
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
GA
Gangatharan Anandavel
Syncfusion Team
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
VR
Varun Reddy
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
MK
Mukil Karunanithi
Syncfusion Team
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.
GA
Gangatharan Anandavel
Syncfusion Team
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
SIGN IN To post a reply.
- 6 Replies
- 4 Participants
-
BR Balasubramanian Ramanathan
- Nov 18, 2016 05:17 PM UTC
- May 26, 2017 11:45 AM UTC