How to Deliver Pentaho CDE Dashboards to Client user Without accessing wcdf, cda files - pentaho

I am able to provide buttons for each Dashboard for specific users of Pentaho by editing
../pentaho-server/tomcat/webapps/pentaho/mantle/home/index.jsp file
for accessing Dashboard as shown Below.
on click action of button i provided Dashboard.wcdf file links and permission to accessing user.
but for these changes i have to login to Linux and update index.jsp file manually, is there anyway to automate or same changes can be done through any UI interface or any plugin available or I am doing it wrong way?

Related

Craft Pro 3.1.33 - Download PDF in admin user profile

In Craft 3 Pro i need to download a PDF file that a template form submits to active user profile.
The PDF submits from the front and goes to the admin area under the user account profile.
The problem is that in the user account profile i can see the PDF but cannot download it or even preview it (shows a white thumbnail image with PDF written).
The only way i find to download the pdf is going to the assets section and find it among the other file assets. I do not want this.
Is there a way of adding a download button, or click in the pdf preview to download the pdf, in the user account profile in craft 3 admin backoffice?
Well, the only i way i found to solve this was to made my custom plugin for craft 3 CP.
I build my template scafold here:
https://pluginfactory.io/
Then installed it via composer and started coding to achieve what i want.
Job done.

Create external link to BIM360 document

I am researching to see if this is possible. I am new to the Forge API and Revit/Bim360 in general so my apologies if I am not using the correct terminology. I have successfully made API calls using Postman to BIM360 to pull back project information.
What I would like to do is construct a URL from within our ERP application that passes the external project id and the sheet name into a web application and to have that web application take the user to the bim360 markup viewer of that item.
So user would be looking at a work order in our manufacturing system, click the link for "View Production Ticket" and a screen would pop up, ask the user to login to BIM360 if they haven't already, and open the bim360 viewer.
To do so, I would like to advise you to integrate the following Forge APIs instead in your ERP system, not embed BIM360 to the ERP system directly:
Forge OAuth API to fetch 3 legged-token with user login (their Autodesk account)
Forge Data Management API to obtain hubs, project, items, version, and derivative file links of the model file of your BIM360 account.
View your model (derivative urn) via Forge Viewer
Here is a tutorial for you http://learnforge.autodesk.io/ and hope it helps!

How to access BigCommerce internalapi?

I am trying to download (backup) images that customers upload for products that take custom logos (these are typically JPG, PNG, PDF, etc.) These customer files are downloadable by clicking on a hyperlink in the BigCommerce admin page for the order in question. The link is not a link to the image path but instead, a link to a service that sends the file to the browser. In other words, you have to be authenticated into the admin site to download the file. The URL looks like this:
https://mystore.com/internalapi/v1/orders/383945/products/251438/attributes/561518/download
https://mystore.com/internalapi/v1/orders/{order id}/products/{lineItem id}/attributes/{option id}/download
These are easily constructed in the API itself for a given order. If I use the link in a browser tab while I'm logged into the admin site, the file downloads.
But what I am trying to write an app to automatically download all the files (there are thousands). When I try to use this URL in an app, I get a authentication error. I tried at first using my regular API credentials but then used the credentials to log into the admin site. Both give me an authentication error.
I could not find anything documented on this so-called "internalapi." Anyone ever try to use this "internal" API that is used by the admin site?
I believe authentication is cookie based for that internal API, but there could be problems with using our non-publicly documented internal APIs in production, i.e. we may make future updates that would be breaking changes.
Images attached to orders through a file upload option also get copied to WebDAV, in the dav/product_images/configured_products folder. Another way to do this could be to use a WebDAV client library like easywebdav to connect and download the files.

Web Server for Upload files

I have a requirement where I want HTML FTP to be accessed by AD users. When users prompted to supply their AD credentials, the IIS/FTP should mapped them directly to their folders. What I want is, an HTML "Form" page/website when its accessed from internal/external it will prompt and users will supply AD credentials. Based on the permission set on the folders users will access only their folder and will upload to their folder only. The Upload as a Browse Button which will allow them to upload specified documents to their folder only. So, When they log into their computer at work they will be able to see what has been uploaded and will be able to open that document directly.
This is actually for Part Time Lectures, currently all the shared we have on a Windows 2008 R2 and permission set based on AD.
Is this doable via HTML or any other code or FTP itself. Even third party software which will be fine too.
It might be worth taking a look at plupload - depending on your usage, you might need to pay licensing: http://www.plupload.com

How to see CDE dashboard for external user in Pentaho

Hi I am a newbie in Pentaho I used Pentaho community version Using Pentaho CDE dashboard I created my own dashboard. My question is How do I get the dashboard URL to use in viewing the my developed dashboard outside of the biserver? for a external customer?
You may find this answer and this blog useful.
The problem you have here is the access to the URL, which is simple:
right-click the CDE file (blue icon)
click "Open In New Window"
the URL in the new browser window is the URL you're looking for
When adding to iframe, you may also find it convenient appending login-details (user_id=your_user_name, password=your_password) to the URL. Otherwise it requires you to log-in, which is painful to business users.
http://localhost:8080/pentaho/content/pentaho-cdf-dd/Render?solution=foo&path=&file=bar.wcdf&userid=your_user_name&password=your_password
double click on the dashboard tab in PUC.
This will open a new window with a direct url to the dashboard.
EDIT: If you want to be able to open a dashboard on an iframe without giving away authentication details, you can:
Create an user that can only access that dashboard. That way the credentials on the URL will be harmless
Define the dashboard accessible by the anonymous user.
Change the authentication method for your Pentaho server. There's a lot of information regarding that on Pentaho infocenter.