Views contexual filter based on nid (not from URL) I am using Viewfield module to display taxonomy terms of a node is referencing to. I am not using the default taxonomy field available in views because I want more freedom on manipulating the rendered taxonomy terms.

When I am in the node page I use contextual filters and I provide the default value from the URL. Easy. But...

For listing nodes of a taxonomy term I use views also and I want the same functionality in there.

The only way I can do this is by providing the default value from the nid of every node (row). So how can I get the nid as a contextual filter in such case?

Thanks
Use the Views Field View module and add Content: Nid as a field and check mark ☑ exclude from display.

Add Global: View a field and pass [%nid] token/replacement pattern as an argument as contextual filter. 

Note: make sure it's arranged above your View field view so you have access to the [%nid] replacement pattern/token.