Skip to main content
Question

Write Source Pathname to SHP file Attribute

  • December 11, 2012
  • 4 replies
  • 8 views

Hi....I need to figure out how to write the source path name of a file to the attribute table of a SHP file. I wanto to do this to generate field hyperlinks in the SHP file.....I can expose the format attribute "fme_basename" to get the filename, but I need to write the entire path out.....can anyone point me in the right direction.....Thanks....Scott

4 replies

  • Author
  • December 11, 2012
Wow....I post the question and then the light bulb comes on......you use the format_attribute "fme_basename" to get the full path.....Scott

  • Author
  • December 11, 2012
sorry again....."fme_dataset".....:)

fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • December 12, 2012
Hi,

 

 

Have a look at the Directory and File Pathnames reader too.

 

Hope this helps.

 

Itay

sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • December 12, 2012
You can use a ParameterFetcher to fetch Published Parameters. So if you convert the INPUT-file on the READER to a Published Parameter you can fetch this in the workspace.

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