I added a file to FME Server resources and now I want to provide a link to it. How can I do that?
Currently, the only way to share a resource file via a link or URL is via REST.
You can generate a REST link to the file. It should be noted that the REST link must have a valid token sent with it. The token ties to a user, that ties to a role, that needs to have the correct permissions to access the resource folder.
Here is an example:
http:///fmerest/v2/resources/connections/FME_SHAREDRESOURCE_TEMP/folder/folder/filename.ext?detail=low&token;=TH3TOK3NNUMB3RH3R3
Perhaps in the future there will be an easier way of doing that? If you'd like to see that, head on over to the Ideas exchange and create that idea or if it's been created, vote it up to show support!
@aaronkoning, can I do this with an FME Server cloud instance as well? Is there a new approach to this with 2017?
Hi, another solution would be a direct filesystem reference to the file, for example, \\\\<host>\\<share>\\FME Server\\resources\\data\\resourcemap\\filename.ext, that is, if you share your ProgramData as <share> (and you like to do that).