Page 1 of 1

MvcCore Web Designer not list my Data sources

Posted: Mon Jan 28, 2019 11:58 pm
by alireza_s_84
Hi
I add a StiSqlDatabase to report as below:

Code: Select all

public StiDatabase GetDatabase()
{
    return new StiSqlDatabase("Database", Options.ConnectionString);
}

// In Controller
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(ReportHelper.GetDatabase());
this work fine but in Dictionary panel under Data sources my connection not shown but it Exists.
Pleas see attached images.

Re: MvcCore Web Designer not list my Data sources

Posted: Tue Jan 29, 2019 8:39 am
by Lech Kulikowski
Hello,

We couldn't reproduce the issue. Please send us a sample project which reproduces the issue for analysis.

Thank you.

Re: MvcCore Web Designer not list my Data sources

Posted: Tue Jan 29, 2019 11:46 pm
by alireza_s_84
Lech Kulikowski wrote: Tue Jan 29, 2019 8:39 am Hello,

We couldn't reproduce the issue. Please send us a sample project which reproduces the issue for analysis.

Thank you.
Thanks for your answer, please see attached video. the table element that show data sources is display:none

Re: MvcCore Web Designer not list my Data sources

Posted: Wed Jan 30, 2019 8:20 am
by Lech Kulikowski
Hello,

We couldn't reproduce the issue on our samples. Please send us a sample project which reproduces the issue for analysis.

Thank you.

Re: MvcCore Web Designer not list my Data sources

Posted: Wed Jan 30, 2019 9:45 am
by alireza_s_84
Lech Kulikowski wrote: Wed Jan 30, 2019 8:20 am Hello,

We couldn't reproduce the issue on our samples. Please send us a sample project which reproduces the issue for analysis.

Thank you.
Thanks, You can change ConnectionString in Startup.
Sample project: http://www.mvcmagic.com/reports.zip

Re: MvcCore Web Designer not list my Data sources

Posted: Thu Jan 31, 2019 3:39 pm
by Lech Kulikowski
Hello,

Your connection is hidden in your code:

Code: Select all

Dictionary =
                {
                    PermissionResources = StiDesignerPermissions.None,
                    PermissionBusinessObjects = StiDesignerPermissions.None,
                    PermissionDataConnections = StiDesignerPermissions.None
                },
Thank you.

Re: MvcCore Web Designer not list my Data sources

Posted: Thu Jan 31, 2019 5:55 pm
by alireza_s_84
Lech Kulikowski wrote: Thu Jan 31, 2019 3:39 pm Hello,

Your connection is hidden in your code:

Code: Select all

Dictionary =
                {
                    PermissionResources = StiDesignerPermissions.None,
                    PermissionBusinessObjects = StiDesignerPermissions.None,
                    PermissionDataConnections = StiDesignerPermissions.None
                },
Thank you.
Oh it's true, thanks very much. :D

Re: MvcCore Web Designer not list my Data sources

Posted: Fri Feb 01, 2019 5:58 am
by Andrew
You are welcome!