0

By default 'Entity Reference' field uses 'Title' field to resolve Nodes. Is there any good way to change that behavior so it use another field to do that?

What if I want to use URL field or my own custom field what should I do?

I just would like to know what are the good ways to do that.

Thanks.

0

If by "resolve" you mean what is searchable in the entity reference autocomplete field, then yes you can change the entity selection mode in the fields settings from simple to view and create a custom view to populate options. There is a good step by step tutorial on how to do that here: http://www.jackrabbithanna.com/articles/creating-entity-reference-view

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.