Questions
Unanswered
Tags
Users
Ask a Question
Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
Categories
All categories
Analyses
(469)
End-user Environment
(158)
Document Browser
(56)
Workspace
(66)
Admin and Developer Functionalities
(386)
Settings
(180)
Integration
(84)
Installation
(273)
Source code
(43)
Most popular tags
cockpit
dataset
error
chart
datasource
installer
datasets
installation
widget
parameters
business-model
olap
knowage
knowage_7_1
integration
login
knowage_7_1-ce
report-designer
cross-navigation
analyticaldriver
use iframe without login
+1
vote
1
view
Hello,
How can i use an iframe and don't ask a user to login, for example to have a chart that is open to everybody. Or how can i provide authentification in the url of the iframe?
Environment
awas Ec2 container Ubuntu 16 Knowage 6.1.1
chart
iframe
asked
Dec 4, 2017
in
End-user Environment
by
eslem
(
130
points)
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
Dear Eslem
at the time being, there is no "public user" functionality, but you can define a guest/guest user (for example) and then exploit the JavaScript SDK methods to authenticate the user and display the document within an iframe. See documentation here
https://knowage.readthedocs.io/en/latest/user/JS/README/index.html
As an alternative, you can also send guest user's credentials within the request with USERNAME and PASSWORD parameters, but it must be a POST request, not a GET request: in order to publish a POST request into an iframe, you can create a hidden FORM element within the HTML page, with POST method and specifying the iframe as the "target" attribute, and then submit the form automatically by JavaScript code.
Hope this helps
Best regards
answered
Jan 16, 2018
by
davide.zerbetto
(
2.3k
points)
Please
log in
or
register
to add a comment.
...