Page 2 of 2
Re: API Controller in a different domain location
Posted: Mon Feb 22, 2021 3:16 am
by swaraj
Yes. the URL is
https://my-domain/reportservice/designer. controller Route is given as [Route("designer")] in designer controller
Re: API Controller in a different domain location
Posted: Mon Feb 22, 2021 3:20 am
by swaraj
Yes. <stimulsoft-designer-angular [requestUrl]="'
https://my-domain/reportservice/designer'"..
In Designer controller Route is given as [Route("designer")]
Re: API Controller in a different domain location
Posted: Mon Feb 22, 2021 7:58 am
by swaraj
yes
Re: API Controller in a different domain location
Posted: Wed Feb 24, 2021 9:33 am
by Vadim
Hello.
Please add to designer (designerLoaded) event:
let viewerId = this.designer.designerEl.nativeElement.firstChild.jsObject.options.viewerId;
window["js" + viewerId + "Parameters"].options.requestAbsoluteUrl = ...
will it help you ?
Re: API Controller in a different domain location
Posted: Wed Aug 17, 2022 2:17 pm
by hassanbardan
I have the same problem. Is there another solution?
Thanks
Re: API Controller in a different domain location
Posted: Thu Aug 18, 2022 1:52 pm
by Lech Kulikowski
Hello,
Unfortunately, no.