Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • steschu 31 posts 183 karma points
    Jan 14, 2019 @ 09:54
    steschu
    0

    Relation Types - Custom Type use Backoffice

    Hi,

    I am still trying to understand the relation types thing. As I see there are three default relation types under "Developer / Relation Types" when you install Umbraco. E.g. when you copy a page you can relate the copied page to the source (Relate Document on Copy).

    What if I add custom relation types under "Developer / Relation Types" (e.g. Relate Document Type On Copy). Can I somehow implement these in the UI of the backend when I copy a Document Type or are custom relation types generally accessible by code only?

    Stephan

  • steschu 31 posts 183 karma points
    Feb 15, 2019 @ 12:16
    steschu
    0

    I see... relation isn't that popular... no answers :-)

  • Dirk De Grave 4530 posts 5954 karma points MVP 3x admin
    Feb 15, 2019 @ 14:15
    Dirk De Grave
    0

    it's indeed not widely used, but you're about right, you'll need to wire up some code to add/update relations, there's a relation service api available. (See https://our.umbraco.com/Documentation/Reference/Management/Services/RelationService/Index/)

Please Sign in or register to post replies

Write your reply to:

Draft