How to present Reports in an iFrame?

Hi,

as far as I know, published reports can be accessed by an URL. Is it possible to integrate this via an iFrame into another Webpage?

Thanks
Michael

Hello Michael,
If you have a KNIME Server, you can access the report generated by a job via the REST API: https://<serverurl>/knime/rest/v4/jobs/{job-id}/report. However, you need to know the job id and the user has to log into the KNIME Server to access the report.
Kind regards,
Alexander

Hi Alexander,

thanks for your information. Some other analytic tools provide an extra iFrame friendly layout when using a special querystring parameter.

Example:
The iFrame is usally not the full Window, but only a part.

I need to reduce the needed window size so that it perfectly fits into the frame.

Authentication:
That is an important factor. I think that KNIME server supports single sign with Kerberos and LDAP which should be doing it, correct?

Thanks
Michael

Hi there @Michael9561,

welcome to KNIME Community!

Have seen you opened two additional topics (1 & 2). Are they regarding same issue/task?

See here for more on authentication possibilities with KNIME Server:
https://docs.knime.com/2019-12/server_admin_guide/index.html#user-authentication

Also have changed category to KNIME Server as seems it belongs there.

Br,
Ivan

1 Like

Hello Michael,
the URL should point directly to the report. You can add the query string &format=pdf to retrieve a PDF directly, which should be displayed with your browser’s PDF viewer. The KNIME WebPortal can be run in a iFrame friendlier format using the suffix &single in the URL. This is explained here: https://docs.knime.com/2019-12/webportal_user_guide/index.html#_available_workflow_parameters.
Single-Sign-On with Kerberos should work for that.
Kind regards,
Alexander

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.