Skip to main content
Solved

Deployment parameter - Local value doesn't work


sam_appleton
Contributor
Forum|alt.badge.img+7

Hi,

I have a deployment parameter (Text) that is pointing to an SDE file on FME flow in my shared resources. When I try to set a local value in form, it ignores this value and throws an error saying it can’t access the share resources file path. I’ve tried creating a deployment parameter that is  type: database connection, but this doesn’t work either. Here’s the error:

This was working a week ago and now it refuses to acknowledge the local value.

 

Many thanks,

 

Sam

Best answer by sam_appleton

Hi @david_r ,

I was using a text value that was pointing to the location of an SDE file. A fix for this was creating a deployment parameter of type ‘database connection’ which allowed me to use a local value.

 

IT seems FME form didn’t let me use a local value of type “text” to point at database files

 

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

4 replies

david_r
Evangelist
  • July 8, 2024

In the error message it looks like a path relative to the root of your file system. Is this really correct? Does the folder “/SDE_Files” and all subfolders exist?


sam_appleton
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • July 8, 2024

Hi @david_r my local value that I set is DEV SDEFILE .The FME Flow value is $(FME_SHAREDRESOURCE_DATA)/SDE_Files/GISICOMSQLDV_YWSEWER_USER.sde . I assume flow is trying to read this in, and it;s dropping the shared resources part as it’s enclosed in brackets. Either way, it’s completely ignoring my local value that i’ve set


david_r
Evangelist
  • July 8, 2024

Interesting, perhaps FME Flow can’t resolve other macros in the context of deployment parameters? Sounds like a question for Safe support.


sam_appleton
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • Best Answer
  • September 2, 2024

Hi @david_r ,

I was using a text value that was pointing to the location of an SDE file. A fix for this was creating a deployment parameter of type ‘database connection’ which allowed me to use a local value.

 

IT seems FME form didn’t let me use a local value of type “text” to point at database files

 


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