drupal 7 Displaying data from different content type in single row in views using relationships -
i have taxonomies group , category hobbies, cv , have 3 content types.
1st content type company has field project code , has field called cv of type term reference taxonomies cv.
there field called group , category both term reference of taxonomy group , category
similarly have field called rm entity reference of type user , account manager entity reference of type user.
another content type called cxo has fields name , number, , hobbies term reference taxonomy hobbies. in have field company entity reference of content type company created above person belongs 1 among companies.
last content type coordinator has same fields cxo , has hobbies term reference. cxo have field company entity reference of content type company.
so wanted view fields in 1 table.
like project code, company , cv , category , group , rm , name cxo , number cxo , hobby cxo , name coordinator , number , hobbies of coordinator.
all these data wanted come in single row, 1 project have these details.
please me this, think have relationships, can me this.?
in order gain access fields of other content types should add in relationships area appropriate entity reference field. example if want make available in companies view cxos should add in relationships referencing entity "a bridge content entity referenced via field company" . due many many relationships @ case 'll end many duplicates 'd suggest use distinct setting under "query settings" or "group by" in aggregation settings.
Comments
Post a Comment