Skip to main content

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

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"


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.

 

 


Reply