I can get the field collection in views.
I can get the complete value, but not the seperate values in the field collection, not by using relations or tokens.
The fact the whole field collection is loaded, it means its loaded and the fields are fetched, it would be nice to get the separate field in the fields in the field collection.

the structure is like this

user(
----location
----with field collection with (
---- ----field collection (with location field, text field,...)
---- ----txt field)
)

Comments

jmuzz’s picture

Status: Active » Fixed

Try the entity token module for accessing the inner fields of field collection items.

If you have the ID of a field collection item you can use entity_load or field_collection_item_load to get the field collection item entity with its field data loaded.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.