Skip to main content
Solved

Viewing dashboards outside of FME Server/Cloud admin pages

  • December 16, 2020
  • 5 replies
  • 74 views

dbaldacchino1
Enthusiast
Forum|alt.badge.img+14

 

Hello,

 

Is it possible to view the html dashboard pages outside of the FME Server admin pages? For example I am intrested in writing a custom dashboard to FME Cloud and would like to share a direct link to it with some users, without requiring them to log in to FME Cloud/Server etc. and dealing with the UI. Is this possible? Thanks.

Best answer by dbaldacchino1

So I tested this options and it looks doable. The page is generated with a slight delay as a workspace has to run. Here's what I did:

  • Created a simple workspace to read the html "dashboard" as a text file - all at once - then write it back to another html file. A separate workspace creates the original dashboard (an html summary table with links). I used the FME Server built-in parameters to locate these files:DashboardStream
  • I then created a Server App for the above workspace, which has no published parameters, and set it to run immediately: RunImmediately

I can now share the Server App URL, which will stream the "dashboard" to the user's browser. Are there alternative ways that don't require a workspace to run to just display a static web page on FME Server?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

hkingsbury
Celebrity
Forum|alt.badge.img+63
  • Celebrity
  • 1632 replies
  • December 16, 2020

Could you setup a streaming service that streams back an html page. This would need to be configured using anonymous access

https://docs.safe.com/fme/html/FME_Server_Documentation/AdminGuide/Configuring-Authentication-for-Security-Resources.htm


dbaldacchino1
Enthusiast
Forum|alt.badge.img+14
  • Author
  • Enthusiast
  • 136 replies
  • December 16, 2020

Hmmm I suppose that's a possibility: make a simple workspace that reads and streams the web page, then make it into a shared server app that is open...will give that a shot and see if it works. Thanks!


dbaldacchino1
Enthusiast
Forum|alt.badge.img+14
  • Author
  • Enthusiast
  • 136 replies
  • Best Answer
  • December 16, 2020

So I tested this options and it looks doable. The page is generated with a slight delay as a workspace has to run. Here's what I did:

  • Created a simple workspace to read the html "dashboard" as a text file - all at once - then write it back to another html file. A separate workspace creates the original dashboard (an html summary table with links). I used the FME Server built-in parameters to locate these files:DashboardStream
  • I then created a Server App for the above workspace, which has no published parameters, and set it to run immediately: RunImmediately

I can now share the Server App URL, which will stream the "dashboard" to the user's browser. Are there alternative ways that don't require a workspace to run to just display a static web page on FME Server?


hkingsbury
Celebrity
Forum|alt.badge.img+63
  • Celebrity
  • 1632 replies
  • December 16, 2020

So I tested this options and it looks doable. The page is generated with a slight delay as a workspace has to run. Here's what I did:

  • Created a simple workspace to read the html "dashboard" as a text file - all at once - then write it back to another html file. A separate workspace creates the original dashboard (an html summary table with links). I used the FME Server built-in parameters to locate these files:DashboardStream
  • I then created a Server App for the above workspace, which has no published parameters, and set it to run immediately: RunImmediately

I can now share the Server App URL, which will stream the "dashboard" to the user's browser. Are there alternative ways that don't require a workspace to run to just display a static web page on FME Server?

A dashboard is just a static html page, but that takes us back full circle 😂 😅

Not really unfortunately. Unless you have access to a webserver where you could host your own page seperate to FME server. You then would need to setup an FME process to periodically update that page


dbaldacchino1
Enthusiast
Forum|alt.badge.img+14
  • Author
  • Enthusiast
  • 136 replies
  • December 16, 2020

A dashboard is just a static html page, but that takes us back full circle 😂 😅

Not really unfortunately. Unless you have access to a webserver where you could host your own page seperate to FME server. You then would need to setup an FME process to periodically update that page

Yeah I guess I'm looking into turning FME Server into a webserver, especially FME Cloud 😂 We have an extensive sync process that runs on FME Cloud and I'm building logging to easily troubleshoot or spot issues etc. At least the solution you suggested is very close to making FME Server/Cloud an on-demand web server :) At least I can write detailed html summary logs with this method and create server apps to act as the URL (I can make the workspace shown above have a published parameter to select the appropriate dashboard). Thanks for the tip!