Web api with Angular use case with different urls
Posted: Wed Apr 08, 2020 7:43 pm
So, I'm using more or less this,
just instead of Angular - it's plain Js.
Let's say API is at api.example.com, Js front at example.com/report.
On viewer I managed to get it working with static style in document and this "hack":
btw. useRelativeUrls is set to false.
On designer, I can't change the URL of loading images, which are referenced from CSS or dynamic Js I suppose.
And this one, which seems important:
Regards.
just instead of Angular - it's plain Js.
Let's say API is at api.example.com, Js front at example.com/report.
On viewer I managed to get it working with static style in document and this "hack":
Code: Select all
Stimulsoft.Viewer.parameters.requestUrl = Stimulsoft.Viewer.parameters.requestAbsoluteUrl;
On designer, I can't change the URL of loading images, which are referenced from CSS or dynamic Js I suppose.
And this one, which seems important:
Code: Select all
Designer?stiweb_component=Designer&stiweb_action=Resource&stiweb_cachemode=cache&stiweb_version=2020.2.1&stiweb_data=AllNotLoadedScripts
Regards.