Rank: Newbie
Groups: Registered
Joined: 11/20/2017(UTC) Posts: 11 Thanks: 1 times
|
I want to open seal report in an iframe. I publish and host seal report in one domain. How to open one particular report in an iframe? I try to pass "https://sealreport.org/demo/SWExecuteReport?path=\Dashboard - Sales.srex" in iframe src but it's not working. So how to load seal report in an iframe?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/20/2017(UTC) Posts: 11 Thanks: 1 times
|
For SWILogin, what are username and password? also, I have web server report license.
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
By default, there is no security defined, so you can use a blank user name and password.... You can define custom security using the Server Manager -> Configuration -> Configure Web Security...
It has nothing to do with the license.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/20/2017(UTC) Posts: 11 Thanks: 1 times
|
My code: <iframe id="Companyiframe" src="" style="width:100%;" height="600" frameBorder="0"></iframe>
var sealServer = "https://sealreport.org/demo/"; var form = $('<form method="post" />').appendTo("#Companyiframe"); form.attr('action', sealServer + "SWExecuteReport"); form.append($('<input />').attr('type', 'hidden').attr('name', 'path').attr('value', "\\Search - Orders.srex")); form.submit();
Problem is that it's not open in the iframe but its redirect I want to open in any div or iframe.
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
Sorry no experience on this, but these are mainly JavaScript/HTML issue: Perform an Ajax call and fill the result in a iframe
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/20/2017(UTC) Posts: 11 Thanks: 1 times
|
The same problem generated when performing an Ajax call. Who we need to ask for a solution because support said to ask the forum.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 11/20/2017(UTC) Posts: 11 Thanks: 1 times
|
When I perform Ajax call Failed to load https://sealreport.org/demo/SWILogin: Redirect from 'https://sealreport.org/demo/SWILogin' to 'https://sealreport.org/demo/SWILogin?AspxAutoDetectCookieSupport=1' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://abc.com' is therefore not allowed access. This error generated that's why seal report not execute. There is any way to execute seal report without performing SWILogin? Edited by user Friday, March 9, 2018 5:08:48 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
No, you have to call SWILogin before executing a report to initiate your Session... That is just an additional Ajax Call. You have also to solve your CORS problem, there is a lot on the web on this.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.