Skip to main content
Question

Source files for reading

  • January 14, 2025
  • 5 replies
  • 34 views

fmesafe.podpora
Contributor
Forum|alt.badge.img+11

Hey. I have created a workspace on my desktop where I used source data from a local disk as part of my testing. Now I would like to have the data for all WS that use these sources in one place on the FME server, specifically on the Resources\Data path. The specific file path is "$(FME_SHAREDRESOURCE_DATA)/TopSky/AirportHeliport.BASELINE". Before publishing WS to the server I set this path on the reader as well, see attachment, however the file cannot be found when running WS from the server. Do you know where could be the problem?

Thank you

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

Did you upload the file to the FME Flow resources?


fmesafe.podpora
Contributor
Forum|alt.badge.img+11
redgeographics wrote:

Did you upload the file to the FME Flow resources?

Of course, the data is contained in the resources on the server.


fmesafe.podpora
Contributor
Forum|alt.badge.img+11
fmesafe.podpora wrote:

Hey. I have created a workspace on my desktop where I used source data from a local disk as part of my testing. Now I would like to have the data for all WS that use these sources in one place on the FME server, specifically on the Resources\Data path. The specific file path is "$(FME_SHAREDRESOURCE_DATA)/TopSky/AirportHeliport.BASELINE". Before publishing WS to the server I set this path on the reader as well, see attachment, however the file cannot be found when running WS from the server. Do you know where could be the problem?

Thank you

I forgot the attachment.


virtualcitymatt
Celebrity
Forum|alt.badge.img+35

Could it be a permissions issue? does the user/token you’re using to run the workspace have permission to read data from the data repository? 

Are you able to share the specific error or a log file?


fmesafe.podpora
Contributor
Forum|alt.badge.img+11
virtualcitymatt wrote:

Could it be a permissions issue? does the user/token you’re using to run the workspace have permission to read data from the data repository? 

Are you able to share the specific error or a log file?

I don't really understand what happened, but with the above, the workspace now runs without error - I just made a new publication. However, there is a new problem. I need to write the result of the passed workspace to the database - I have writers set up on the database that write locally in the FME workbench. The log tells me that the WS ran fine, but the data does not appear in the database. If I look at the ws detail on the server, I see paths to the source files only, nowhere do I see the parameters of writing to the database, the so called writers.

One more question on the side - if I have locally in FME workbench set paths to the server on the readers e.g. "$(FME_SHAREDRESOURCE_DATA)/TopSky/coord_nove_FRA.xlsx" , can FME workbench read the source files on this path? Because with these paths WS will not run due to unavailability of source files see attachment. Thank you


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings