This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Developer » Remove object relation

Remove object relation

Remove object relation

Friday 05 July 2013 11:44:41 am - 1 reply

I'm trying to remove the object relation of an object. By this I mean setting it to "No relation" as one can do from the admin interface.

I have tried to call the code under, but it only removes the link between the objects (contentobject_link), but the relation is still present in the admin interface.


Friday 05 July 2013 4:10:48 pm


you have to edit your object and remove the relation through the relation(s) attribute and then republish the object. This will in turn automatically remove the link from ezcontentobject_link table too.

Modified on Friday 05 July 2013 4:11:10 pm by Edi Modrić


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from