Page 1 of 1

Blazor designer doesn't store headers for JSON connections

Posted: Tue Jul 30, 2024 2:57 pm
by InnoM
When using the Blazor/WASM Stimulsoft libraries, I load a report that has a JSON connection with headers specified (Auth/Bearer for dev)

However, when loading the report, the headers aren't visible at all in the designer, and I receive an error message when testing locally.

This can be reporoduced in the demo designer, see attached.

Go to https://designer.stimulsoft.com/, create a new report or dashboard, add a json data source, I use the nuget api https://api.nuget.org/v3/index.json to test.
Add a header in the headers, and add/save the data source.
Go back to edit the data source, open the headers, and the list is blank.

When testing locally, the json datasource doesn't work at all.

Are the headers not supported for Blazor?

Re: Blazor designer doesn't store headers for JSON connections

Posted: Wed Jul 31, 2024 10:01 am
by Max Shamanov
Hello,

We require more time to investigate the issue thoroughly.
We will let you know when we get any result.

Thank you.

Re: Blazor designer doesn't store headers for JSON connections

Posted: Fri Aug 02, 2024 10:36 am
by Max Shamanov
Hello,
Go to https://designer.stimulsoft.com/, create a new report or dashboard, add a json data source, I use the nuget api https://api.nuget.org/v3/index.json to test.
Add a header in the headers, and add/save the data source.
Go back to edit the data source, open the headers, and the list is blank.
We have reproduced the issue and need some time to make an improvement.
We will let you know when we get any results.
However, when loading the report, the headers aren't visible at all in the designer, and I receive an error message when testing locally.
When testing locally, the json datasource doesn't work at all.
Are the headers not supported for Blazor?
Could you please explain your issue in more detail?

Thank you.

Re: Blazor designer doesn't store headers for JSON connections

Posted: Thu Aug 08, 2024 3:12 pm
by InnoM
Hi Max,

Apologies for the delay, hectic week and I lost track of this.

The message is attached as a screenshot.

To reproduce, I created a project in ASP.NET Blazor using webassembly (standalone), added the StiBlazorDesigner control, loaded a sample report with a JSON source with the same test header in it.
The message appears when I right-click -> "View Data" on the Json Data source.

Kind Regards

Re: Blazor designer doesn't store headers for JSON connections

Posted: Fri Aug 09, 2024 8:56 am
by Max Shamanov
Hello,
Go to https://designer.stimulsoft.com/, create a new report or dashboard, add a json data source, I use the nuget api https://api.nuget.org/v3/index.json to test.
Add a header in the headers, and add/save the data source.
Go back to edit the data source, open the headers, and the list is blank.
We have made an improvement.
Please, check your issue and let us know about the result.
To reproduce, I created a project in ASP.NET Blazor using webassembly (standalone), added the StiBlazorDesigner control, loaded a sample report with a JSON source with the same test header in it.
The message appears when I right-click -> "View Data" on the Json Data source.
We have reproduced the issue and need some time to make an improvement.
We will let you know when we get any results.

Thank you.
#15047

Re: Blazor designer doesn't store headers for JSON connections

Posted: Fri Aug 09, 2024 1:44 pm
by InnoM
Hi Max,

That works great now! Haven't tested in my project yet, just the one at designer.stimulsoft.com, but the disappearing headers are definitely all appearing now.
Thanks also for looking into my other issue

Kind Regards

Re: Blazor designer doesn't store headers for JSON connections

Posted: Mon Aug 12, 2024 7:19 am
by Max Shamanov
Hello,

Ok.
We let you know about the results of a problem in the Blazor designer.

Thank you

Re: Blazor designer doesn't store headers for JSON connections

Posted: Mon Sep 16, 2024 11:08 am
by Max Shamanov
Hello,

We have made an improvement.
Please, check your issue in the Blazor designer and let us know about the result.

Thank you.