Skip to main content
Solved

FME Flow (Server 2020) - read/search all workspaces


john_galt
Contributor
Forum|alt.badge.img

Is there a method to read all workspaces on a server ex. list all workspaces that have specific transformer or list all workspaces that have specific parameter.

 

Also, where are workspaces on a server? Is there a Folder for workspaces? Are they ascii readable?

 

Thanks in advance

Best answer by sanaeatsafe

The workspaces are stored locally in the FME Server System Share's 'repositories' folder, e.g. C:\\ProgramData\\Safe Software\\FME Server\\repositories\\Samples\\austinApartments

You could use the Directory and File Pathnames Reader in combination with the FME Workspace Reader on these System Share folders to get similar kinds of information about each workspace.

 

Alternatively, the FME Server REST API repositories endpoints could also programmatically search the published workspaces. Use this with the HTTPCaller or another API application, with JSON transformers to parse the returned results.

 

Hope that helps!

 

View original
Did this help you find an answer to your question?

3 replies

sanaeatsafe
Safer
Forum|alt.badge.img+7
  • Safer
  • Best Answer
  • July 26, 2023

The workspaces are stored locally in the FME Server System Share's 'repositories' folder, e.g. C:\\ProgramData\\Safe Software\\FME Server\\repositories\\Samples\\austinApartments

You could use the Directory and File Pathnames Reader in combination with the FME Workspace Reader on these System Share folders to get similar kinds of information about each workspace.

 

Alternatively, the FME Server REST API repositories endpoints could also programmatically search the published workspaces. Use this with the HTTPCaller or another API application, with JSON transformers to parse the returned results.

 

Hope that helps!

 


john_galt
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • July 28, 2023

Great answer thank you very much!


john_galt
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • August 1, 2023

@sanaeatsafe​ I am able to retrieve repositories and items for every repository, but I have a difficulty retrieving an item (the .fmw to search for a specific Translator/Parameter)

As in this example

imageI tried Accept=contents and disposition=inline in the Headers section, but all I get is information about the items and not the item itself

imageCan you give me example of configuring the HTTPCaller to retrive de item

 

Thanks in advance!


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