I tried using the autoconnect field and am a bit baffled as to what to use in Entity type and Entity ID.

My best guess is that each is part of the path, so if I'm on node/2 then %1 would be the EntityID I want, and Entity type would be the machine name of the entity I would like to create a relation to.

The field is not shown in a page regardless of the formatter. Because of the bug #1536114: Error when adding node with Relaion autoconnect-field I have to first create the first entity, then add the field to the entity type, before viewing the entity in hope of getting something to use.

Comments

busla’s picture

Same here. It would be nice to get an example in the docs.

node/add/mycontenttype/node/1 is not working when I add replacement holders %0 or %1 or even when I try to use fixed values like "node" or "1" (where 1 is obviously any id that can be used as the other endpoint)