In this example, here's what I did:

I have a content type called "event" that references another type called "meetup". The field's machine name is "field_community_event" - it's important to know this machine name for this module. I created an event node with nid 1230 that references a meetup node.

I created a view and added Node: Title as a field. I then added a Node: Nid argument.

Under "Validator", I chose "Replace nid with referenced nodes". Under "The node reference to use:" I chose "field_community_event". Make sure you check the "Allow multiple terms per argument."

This works as is. The mental mistake I made in trying to get this to work was to try and add a Filter to the "Event" type. This causes the view to return nothing, because it is actually trying to return Meetup nodes, not Event nodes.

I have added a sample view here using Views Bulk Operations. Not sure how useful it will be unless you have a field on your site called field_community_event (in fact the content type names don't matter, just the field name, it seems).

Comments

itangalo’s picture

Status: Active » Fixed

Sweet! I'm linking to this on the description page.
Thanks for taking the time to write this down.

Status: Fixed » Closed (fixed)

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

docwilmot’s picture

for my use case under argument i needed to also select 'action to take if argument is not present' then 'provide default' then 'node id from url'.
fantastic work.