3

Gents, I have two fields that accept multiple file uploads. One of those fields has file descriptions enabled. I need to access those field descriptions in my view, but I don't see the file description field popping up in the list of available file fields.

I've added the relationship fid for the field that has multiple files associated with it.

So, I'm confused as to how I'm supposed to get the file description view exposed. How do I do so?

Let me know if I need to clarify further.

list of file fields available in view

views config

2 Answers 2

6

You can get the file description to display by adding your file field (just as Content: fieldname), then choosing to 'Rewrite Results'. For the Replacement Text, there is an option to use [field_fieldname-description].

Reference: http://drupal.org/node/1128270#comment-5253600

0
0

It does not show up when you are choosing the field in your view but it will once you choose the file field itself and see your preview. (see my screen capture.)Access description field for file in a view. This is all assiming you enabled "descriptions" in the content type field itself but you implied you have already done that.

Does this help?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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