Copied to clipboard

Flag this post as spam?

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


  • Natasha 79 posts 195 karma points
    Aug 25, 2015 @ 23:27
    Natasha
    0

    Bootstrap Carousel - cannot resolve url for media

    Help I'm really hating bootstrap and razor at the moment. I am building a new site and have followed the instructions here http://www.systenics.com/blog/adding-bootstrap-based-responsive-carousel-to-umbraco-7/ but keep getting this error System.NotSupportedException: Cannot resolve a Url for a media item when there is no 'umbracoFile' property defined. on this line 48 of the code.

    Line 46:         {
    Line 47:             activeclass = "item";
    Line 48:         }
    Line 49: 
    Line 50:         <div class='@activeclass'>
    

    Can anyone tell me what I've done wrong and how I correct it?

    Thanks Natasha

  • Natasha 79 posts 195 karma points
    Sep 04, 2015 @ 22:14
    Natasha
    100

    Duh... had more than a few dumb moments my property Alias wasn't umbracoFile

  • Casper Andersen 126 posts 508 karma points
    Sep 05, 2015 @ 14:53
    Casper Andersen
    0

    Did you get it to work ??

    if not post your code and i can help you.

  • 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