Skip to main content

I am new to FME Server. 

 

I have a workspace that I published to FME Server. It reads from an Excel spreadsheet, and writes to a File Geodatabase and Access Database. 

 

The data for the reader and writers reside on separate servers, they are not loaded into FME Server. 

 

Can someone take a look at the screenshot and let me know if the Published Parameters are correct? I seem to recall that for the spreadsheet (see red arrow in the screenshot), does there need to be a parameter added to replace the UNC path? What you see in the screenshot is how the workspace was published into FME Server from FME Desktop.

 

Do I need to add the UNC paths shown in the screenshot as Resources? Can someone explain or point me to a link that explains this process?

 

Can I keep the UNC paths for the File Geodatabase and Database Path or do I need to replace these with an FME Parameter as listed here:

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/!Transformer_Parameters/FME_parameters.htm 

 

Parameters Question

Yes this looks correct, you probably don't need the quote marks in the path though.

 

What's important here, however, is that the user which is running the FME Engine service has access to the files - a default installation of FME Server will be running as the local system account which wont have access to the network. You can read more about that here: https://docs.safe.com/fme/html/FME-Flow/AdminGuide/Running_System_Services_Under_Different_Accounts.htm


Yes this looks correct, you probably don't need the quote marks in the path though.

 

What's important here, however, is that the user which is running the FME Engine service has access to the files - a default installation of FME Server will be running as the local system account which wont have access to the network. You can read more about that here: https://docs.safe.com/fme/html/FME-Flow/AdminGuide/Running_System_Services_Under_Different_Accounts.htm

Thank you. Do I need to add the File Geodatabase and Access database shown in the screenshot to Resources - New Resource Connection as a Network Based Resource? or can I keep using the UNC path shown in the screenshot? My FME Server account has access to the File GDB and Access database across the network.

 

In what circumstances would I need to add the path (as a Network Based Resource) for a File Geodatabase or Access database under Create New Resource Connection? as opposed to just doing what I did in the screenshot.


Thank you. Do I need to add the File Geodatabase and Access database shown in the screenshot to Resources - New Resource Connection as a Network Based Resource? or can I keep using the UNC path shown in the screenshot? My FME Server account has access to the File GDB and Access database across the network.

 

In what circumstances would I need to add the path (as a Network Based Resource) for a File Geodatabase or Access database under Create New Resource Connection? as opposed to just doing what I did in the screenshot.

You can keep the UNC paths as you have it.

 

Adding a network path as a Resource Connection enables you to navigate and pick files with the FME Server user interface. It should also enable you to upload (or download) files and folders directly to (or from) the Resource Connection via the FME Server User Interface.

I think in addition you can automate various tasks using the FME Server REST API. https://docs.safe.com/fme/html/FME_REST/apidoc/v3/index.html#!/resources

 

In the end it comes down to workflows and how you prefer working. One benefit of keeping the UNC paths as you have it already is that when you publish a workspace that should always use the same input data then the path remains consistent between desktop and FME Server. FME Desktop doesn't usually have knowledge of what the FME Server resource connections are. If you download a workspace from FME Server and try to run it in desktop then it might fail because it doesn't know about the resource connection.

 

If you find that you will often pick different inputs from the FME Server User interface then it might be worth adding the resource to avoid inputting a bad file path.


Reply