Skip to main content
Question

second shared resourced folder - how do I access the paramater?


annette2
Contributor
Forum|alt.badge.img+10

Hi

I have made a second shared resource folder in the fmeServerConfig.txt file.

SHAREDRESOURCE_TYPE_8=FILE

SHAREDRESOURCE_NAME_8=FME_SHAREDRESOURCE_DATAADA

SHAREDRESOURCE_DISPLAYNAME_8=DataADA

SHAREDRESOURCE_DESCRIPTION_8=This shared resource is the Server data directory

SHAREDRESOURCE_ISMIGRATABLE_8=true SHAREDRESOURCE_DIR_8=G:/apps/ada

SHAREDRESOURCE_SECURITY_DEFAULT_ROLES_8=fmeadmin|fmeauthor|adaauthor

SHAREDRESOURCE_SECURITY_DEFAULT_OWNER_8=admin

I can see the resource in the GUI and give authorusers access etc. But I cannot figure out how to access the resource as an FME Server Parameter.

  • I cannot add a new FME Server Parameter in FME Desktop.
  • And if I just use the parameter FME_SHAREDRESOURCE_DATAADA I get an error when I run the workspace on FME Server:

Undefined macro `FME_SHAREDRESOURCE_DATAADA' dereferenced in file `BI\\ADADataSharetestd\\ADADataSharetestd.fmw'

Thanks,

Annette

2 replies

richardatsafe
Safer
Forum|alt.badge.img+10

Hi @annette2,

I believe you will need to also add a line in the fmeEngineConfig.txt to allow your resource to be accesses that way.

MACRO_DEF FME_SHAREDRESOURCE_DATAADA"G:/apps/ada"


annette2
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • March 16, 2018
richardatsafe wrote:

Hi @annette2,

I believe you will need to also add a line in the fmeEngineConfig.txt to allow your resource to be accesses that way.

MACRO_DEF FME_SHAREDRESOURCE_DATAADA"G:/apps/ada"

Thanks Richard. This worked.

 

 


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