Copied to clipboard

Flag this post as spam?

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


  • steschu 88 posts 489 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 88 posts 489 karma points
    Feb 15, 2019 @ 12:16
    steschu
    0

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

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    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/)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies