Skip to content

Relation Types Umbraco #22

@VanilsonWDD

Description

@VanilsonWDD

Hi Devs, I´m trying to implement relations between nodes using Umbraco Relation Editor, in the backoffice I can see the relation that I have created, but I'm having problems when I try to get the values.

Code
@foreach (var item in Model.Content.Related<IPublishedContent>("relationType")) { <p> @item .Name </p> }
When I run the project it doesn't show me any values.

I´m using Umbraco 7.2.1 and Umbraco Relation Editor 1.1.5550

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions