Hi, There used to be a LinkField and UUIDLinkField not sure what the state of those are in Magnolia 5.
With the these Fields you could select a JCR node, and it would store a "weak" reference to that node in a string property, containing either the Path (Link) or the UUID (UUIDLink). There was also a UUIDMultiSelect field for choosing lists of nodes. Regards from Vienna, Richard > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:dev-list-owner@magnolia- > cms.com] Im Auftrag von Gediminas Zalys (via Magnolia Forums) > Gesendet: Mittwoch, 04. November 2015 03:40 > An: Magnolia Dev List > Betreff: [magnolia-dev] Relational field > > I am trying to figure out how to create a field that would show > relationship between two objects. > > Lets say i have a product, this product has related products, so i > link (using link field etc.) these related products to this product. > Then i go to one of the related products and expect to see that its > related to the product which i was just editing. > > So in other words if Product A is related to Product B then Product B > must be related to Product A. > > Any suggestions how to create a field like that that binds two nodes > together? > > -- > Context is everything: http://forum.magnolia- > cms.com/forum/thread.html?threadId=5a31bb9a-ae62-45ba-9d2a- > 856e14fd16c3 > > > ---------------------------------------------------------------- > For list details, see: http://www.magnolia-cms.com/community/mailing- > lists.html > Alternatively, use our forums: http://forum.magnolia-cms.com/ To > unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
