1

I am using rules to create nodes. Whenever a specific field on my target node-type is changed, a new new will be created and linked to the target node via entity reference field. I would like to know, when setting an entity reference field using rules, should I use the data selector 'node' or the data selector 'node:nid'?

  • 1
    Have you tried either option? – Felix Eve Apr 29 '14 at 14:55
  • The answer: just the node. Anyone want to explain for the win? – Hoytman May 29 '14 at 21:32
1

When setting an entity reference with rules, there is no need to specify the nid field. setting the value to the node itself will work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.