I'm using Date for this field.

To get "nid" I can use $node->nid; if using "Execute custom PHP code" as Action.

But if in Action I choose "Set a data value", and then inside it using "Data Selection" getting "nid" looks impossible.
Right now, I'm still struggling getting nid to be available. Use $node->nid; gives an error.

So what is the exact code to get "nid" in this area?

Comments

Rockland Steel’s picture

Issue summary: View changes

add

Rockland Steel’s picture

Issue summary: View changes

add more

TR’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Assuming node is in context, node:nid should be available in the data selection. Or use [node:nid] in direct input.