Content Picker

    Alias: Umbraco.ContentPicker2

    Returns: IPublishedContent

    The content picker opens a panel to pick a specific page from the content structure. The value saved is the selected nodes UDI

    Data Type Definition Example

    Content Picker Data Type Definition

    Content Example

    Content Picker Content

    Typed Example

    @{
        IPublishedContent typedContentPicker = Model.Content.GetPropertyValue<IPublishedContent>("featurePicker");
        if (typedContentPicker != null)
        {
            <p>@typedContentPicker.Name</p>
        }
    }