Skip to main content
Question

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

  • February 21, 2018
  • 2 replies
  • 18 views

annette2
Contributor
Forum|alt.badge.img+11

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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+11
  • Author
  • Contributor
  • March 16, 2018

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.