Copied to clipboard

Flag this post as spam?

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

  • David 26 posts 126 karma points
    Aug 06, 2019 @ 14:52

    Can't access a a property of the Document Type when using MultiPicker

    Hi all, I'm trying to create a featured content section where a user can select a a piece of content which will then display the title of the content and the content description which is a text area data type.

    @inherits Umbraco.Web.Macros.PartialViewMacroPage
    var multiUrlPickerDyn = CurrentPage.highlightedContent;
    if (multiUrlPickerDyn.Any())
       <div class="popular">
                    <h2>Highlighted content</h2>
                <ul class="nav">
                    @foreach (var item in multiUrlPickerDyn)
                            <a href="@item.Url">

    I can access @item.Name but I can't access contentDescription as it wont allow me to, does anybody have any idea how I could do this?



  • Amir Khan 1008 posts 2067 karma points
    Aug 06, 2019 @ 21:25
    Amir Khan

    Have you tried something like this?


Please Sign in or register to post replies

Write your reply to: