Exercise 1.6 Daily Database Updates: Workspace Sharing
Data Firehalls (GML)
Neighborhoods (KML)
Overall Goal Create a workspace to read and process departmental data and publish it to FME Server
Demonstrates Share a workspace so that anyone can run it
Start Workspace None
End Workspace None

You have already (in Exercises 1, 2, and 3) created a workspace to carry out this translation, published it to FME Server, run it to confirm it works, and committed it to version history.

In the last exercise, you shared the Training repository you created in Exercise 1 with other authors on FME Server. Now you have gotten requests from other users who do not have FME Server accounts to be able to run the translation on demand.

Let's create an FME Server App so that anyone with the URL can run this workspace to update the database whenever they need to.


1) Connect to Server
Browse to the login page of the FME Server interface, and log in using the administrator account (admin/admin).


2) Open Server Apps
Click on Server Apps from the Server menu, then click on Create to begin configuring a new FME Server App.


3) Configure Server App
Set a Name and Description for your new Server App. Then select the Training Repository and Basics-Ex1-Complete.fmw Workspace.

You can leave the expiration time at its default value which will allow the API Token to expire after 10 years. You could set this to a shorter time if you only want to grant access for a smaller time window.

Keep the User Can Upload option turned on, this will allow your users to upload their own datasets to send as input to the workspace. Notice under Additional Parameters, you can give the users access to browse for data within folders in Resources. We won't touch that setting now either.


4) Customize Server App

Below the workspace selection area, you will see sections for Additional Permissions and Parameters.

  • Additional Permissions will let you decide if you want the users who will access your Server App to be able to access items within the FME Server Resources.
  • Parameters will allow you to configure which published parameters should be displayed for your users to set when using the Server App.

Leave those with their default values and move on to Customize Appearance. Expand that section and change the Title and Background Color for the App.

Click OK to create the Server App.


4) Test the FME Server App
Now that your App has been created, you'll see that a URL was generated for it.

Click on the URL to open it. You will see that it opens a webpage very similar to the Run Workspace page in FME Server, but it has no options other than to run this one workspace and it does not require a user to enter a username and password to access it. The styling for the page will also match what you selected within the customization options.


CONGRATULATIONS
By completing this exercise you have learned how to:
  • Create an FME Server App to share a workspace with users who do not have FME Server accounts

results matching ""

    No results matching ""