Skip to main content
Solved

FME Server REST API: return the SDE connection string?


annette2
Contributor
Forum|alt.badge.img+10

I am using the API to generate an inventory of our server FME workspaces for an upcoming migration

Can you return an SDE connection string that isn't a published parameter?

 

Example call:

http://stdcap-koaa-001/fmerest/v3/repositories/BASISDATA/items/KLIC.fmw/datasets/destination

Response:

[  {    "format": "GEODATABASE_SDE",    "name": "GEODATABASE_SDE_1",    "location": "",    "source": false,    "featuretypes": [      { 

The location is "".

 

For an Oracle Spatial connection:

http://stdcap-koaa-001/fmerest/v3/repositories/BASISDATA/items/KLIC.fmw/datasets/source

 Response:

[  {    "format": "ORACLE_SPATIAL",    "name": "ORACLE_SPATIAL_1",    "location": "BI@PDB1",    "source": true,    "featuretypes": [      { 

 

Dgn and Excel readers/writers also have a filled location string.

Am I missing something?

Thanks,

Annette

Best answer by david_r

I'm not quite sure that's possible. If you need more information about a specific workspace, you may want to consider downloading the workspace and analyze it further using the FME workspace reader:

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/fmw/Feature_Representation.htm

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

2 replies

david_r
Celebrity
  • Best Answer
  • August 14, 2019

I'm not quite sure that's possible. If you need more information about a specific workspace, you may want to consider downloading the workspace and analyze it further using the FME workspace reader:

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/fmw/Feature_Representation.htm


annette2
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • August 14, 2019
david_r wrote:

I'm not quite sure that's possible. If you need more information about a specific workspace, you may want to consider downloading the workspace and analyze it further using the FME workspace reader:

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/fmw/Feature_Representation.htm

Thanks David. Great tip. Got it working. I was going to resort to reading the workspace in a text file. I didn't know this was an option.


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