I have created a dashboard in pentaho User console. I want to view it outside the User console.(Without logging in to user console) Is it possible ?
Yes. It is possible.
You need get two things.
1)Get URL for the dashboard
2)Allow URL authentication.
1)Dashboard URL
---------------
The dashboard url structure will be like this.
http://localhost:8080/pentaho/plugin/pentaho-cdf-dd/api/renderer/render?solution=RootDirectoryName&path=SubDirectoryName&file=your_dashboard.wcdf&userid=admin&password=password
if you have directory structure like this in your pentaho
-
Home
---->Admin
---->Suzy
---->tiffiny
Public
----->myDashBoard
----------->myDashboard.wcdf
----->SampleDashBoard
----->.....
----->.....etc
Public and Home are root directories, and Suzy,SampleDashBoard are sub Directories.
Example if you want to use myDashboard.wcdf dashboard then you use this link.
http://localhost:8080/pentaho/plugin/pentaho-cdf-dd/api/renderer/render?solution=home&path=suzy&file=iq_dashboard.wcdf&userid=admin&password=password
------------------------------------------------------------------------
2)Allowing URL Authentication
go to your pentaho directory ex:- **
D:\yourDirectory\pentaho-server-ce-7.0.0.0-25\pentaho-server\pentaho-solutions\system\
------------------------------------------------------------------------
**
open security.properties file in editor.
security.properties
change this code from false to true.
requestParameterAuthenticationEnabled=true
------------------------------------------
>save file and close it.
>restart pentaho server.
>Open your browser and enter the dashboard link as generated in step 1.
>Now your dashboard will render on browser.
------------------------------------------------------------------------
If your dashboard was created with the CDE, you can embedded it in your web applications in three ways:
Enabling the requireJS flag in settings within the CDE and embedding the same via a rendering plugin.
Using iframe and calling the dashboard link passing authentication via URL.
Using the components of the CDF and placing in the code of your application.
You can choose the best way according your requirements.
Yes and no : If you double-click on the tab (here, I mean the tab inside the PUC) of your dashboard, the PUC will ask you if you want to open it in a tab of your browser. Answer yes and then you get your dashboard in a tab. The url ens with something like ' generatedcontent/ts=...' : copy it up toand including 'generatedcontent' : you can now directly see the dashboard BUT an authentification is still required
To achieve this you first have:
Double click the dashboard to open it in a new tab in the browser, copy the entire url including the ts
Activate url authentication on the server activing url autentication
Access the link, which you copied in step 1 by adding the following to the end &userid=YOUR_USER&password=YOUR_PASSWORD
Another way to do this is configuring pentaho with cas Switch to Central Authentication Service (CAS)
I hope I help you
Related
I'm trying to detect the user browsing URL for showing my dashboard active user and their browsing url.
According to your description, I suggest you could do this kind of things, if the client user has go to the browser, you could put the signlar client library to call the server method(e.g sendClientInformation).
Inside this sendClientInformation server hub method, you could call your dashboard method to show the clinet user information.
I have written a selenium script to open the default portal to log in. I have successfully been able to log in by hardcoding portal login URL.
Eg:
String portal_Url = "My_default_portal_Login_url";
driver.get(portal_Url);
But, is there any way to get the portal URL dynamically?
Using the Bot Channels Registration created a Bot app, was provisioned successfully. I require the App ID and the Pwd so navigated to the Bot Resource , clicked on settings and then Manage next tp the App ID and gives ,me the following error.
Following the help on https://learn.microsoft.com/en-us/azure/bot-service/bot-service-quickstart-registration?view=azure-bot-service-3.0
Get Registration Password - Step 4 results in the error. any help much appreciated.
error 404 on clicking Manage App Id
This can be resolved by two steps :
1. When you click on manage, just add “/true” in the end of the URL that is opened and you will be able to access the page
2. Alternatively you can go to Azure active directory and click on app registration, then search in the personal account with your client ID/ Application id you will be able to access the page
Reason :
this issue happens because the bot is created using personal account, so when we click on Manage button the flow go and search the app registered from owned account. We can make use of above workarounds.
Hi I am using Keycloak for authentication. I have one separate service for forgot password. I want to redirect keycloak to that service when Forgot Password Link is clicked.
I dont want to use keycloak's forgot password service.
Please Help.
Keycloak's login page is built using Freemarker templates. These are stored in Themes folder inside Keycloak. You can edit these FLT files inside Keycloak's theme folder and make any changes you want - like adding a link to another URL/resource/etc.
The base login theme can be found here -
/standalone/configuration/themes/base/login/login.ftl
Themes can be deployed in multiple ways - as a folder/module/jar. They need to be dropped under -
standalone/configuration/themes
Under keycloak-9.0.3/themes/base/login/ you can find standard templates which names and content you can use for customization. E.g. login-reset-password.ftl.
Then it's recommended better to create a custom theme and under it copy/create your custom template.
At the end don't forget to change the "Login Theme" to your custom one on Keycloak Admin Panel under "Realm Settings" -> "Theme".
When I login to Alfresco it directly takes me to Dashboard. But I want to open Repository page when I get logged in. Please tell me in which file I need to change the link to redirect to Repository page,so that when I login, I can see only the documents i.e Data Dictionary, User Homes?. I have noticed that when i login using the username and password and on click of login button, the Rest Url is "share/page/dologin". In this dologin file the link to the Dashboard is mentioned. But I dont know the mapping of Dologin. Can Anyone help?
Thank you in Advance
You can modify site-index.jsp (in the root of the share webapp) to redirect to the document library instead of the user's dashboard.
Change the line
response.sendRedirect(request.getContextPath() + "/page/user/" + URLEncoder.encode(userid) + "/dashboard");
to
response.sendRedirect(request.getContextPath() + "/page/repository");
This should redirect everyone to the repository page on login.