stimulsoft-designer-angular

Stimulsoft Ultimate discussion
Post Reply
swaraj
Posts: 7
Joined: Wed Feb 17, 2021 7:12 am

stimulsoft-designer-angular

Post by swaraj »

I'm trying to host seperate angular application and dotnet core application in different docker containers. when i try to load the designer, first API call will be same as the [requestUrl] provided in the stimulsoft-designer-angular. but after that all API calls are using localhost. Help me to fix this issue :!:
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: stimulsoft-designer-angular

Post by Vadim »

Hello.

Can you describe in details - what is in different docker containers ?
swaraj
Posts: 7
Joined: Wed Feb 17, 2021 7:12 am

Re: stimulsoft-designer-angular

Post by swaraj »

Capture1.JPG
Capture1.JPG (200.5 KiB) Viewed 2942 times
requestAbsoluteUrl, image Urls in Designer Get API response is coming as in the screenshot below. Is there any way to override it? It is not same as the url provided in the <stimulsoft-designer-angular [requestUrl]. report-web is the docker service name of report service
Vadim
Posts: 362
Joined: Tue Apr 23, 2013 11:23 am

Re: stimulsoft-designer-angular

Post by Vadim »

Hello.

You can access it in Designer (designerLoaded) event:
let viewerId = this.designer.designerEl.nativeElement.firstChild.jsObject.options.viewerId;
window["js" + viewerId + "Parameters"].options.requestAbsoluteUrl;
Post Reply