Skip to main content
Question

Write Source Pathname to SHP file Attribute

  • December 11, 2012
  • 4 replies
  • 36 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
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.

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+21
  • 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+25
  • 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.