简体   繁体   中英

Is there a way to disable X-Frame options from SSRS Report Manager URL?

I am trying to integrate SSRS reporting manager URL into an Iframe (Using ZK framework). src of Iframe is ' https://localhost/Reports_MYSQL2014/Pages/Folder.aspx '

The page is getting rendered properly but clicking on some links (Upload File, security link on folder) getting error message as

"Refused to display ' https://localhost/Reports_MYSQL2014/Pages/Import.aspx?ItemPath=%2f&&Redi .........................................' in a frame because it set 'X-Frame-Options' to 'SameOrigin'."

How can i disable the 'X-Frame-Options' from SSRS response headers?

I don't think the mgmt portal is designed/extensible enough to be embedded.

Use the SSRS v2.0 REST API and create your own list of the reports, folders, etc. inside "Pages/Folder.aspx" to render to the user however you see fit.

Explore it here: https://localhost/Reports/api/v2.0

Sample usage of REST API to get SSSR items for display on a custom UI: https://kpitsimpl.blogspot.com/2020/01/ssrs-rest-api-v2.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM