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'?

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

1 Answer 1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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