I am using Drupal 8.3.1 and using the module File (Field) Paths to define the path and filename. I want to use the value of a taxonomy field (Entity reference in CCK) in the same content type as part of the filename. The machine name of the field is field_organization and doing [node:field_organization] produces an href link where I want is just the name of the single value it contains. How do I get only the term's name instead?

1 Answer 1


Try to append :value to the field:


For a reference field something like this:


If you want to look up all available tokens install the Token module and go to /admin/help/token.

  • Thank you! Is there any way to have tokens be transformed (spaces removed for example)? I want to avoid PathAuto as to not affect both filenames and urls. Apr 20, 2017 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.