Copied to clipboard

Flag this post as spam?

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


  • Dean 55 posts 98 karma points
    Feb 14, 2012 @ 11:05
    Dean
    0

    Model.MediaById() doesn't exist

    Does the above emthod exist anywhere in umbraco v5?

    Alot of the examples around seem to be based on v4.7.1, but alot of it doesn't seem to work in v5.

    Am I missing something? How can I build anything if I can't use any of the Library Methods around Media.

    Please tell me i'm missing something. I've been waiting for umbraco 5 to come out and now that it is I am hitting walls with everything that I try.

    Is it complete?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Feb 14, 2012 @ 14:47
    Tom Fulton
    0

    Hi Dean,

    I can't speak from experience, but you might check out this gist from Warren Buckley which is an example of how to access the media picker in v5/razor.  He has a lot of others that may help with other tasks too:  https://gist.github.com/warrenbuckley

    HTH,
    Tom

  • Dean 55 posts 98 karma points
    Feb 15, 2012 @ 00:08
    Dean
    0

    Hi Tom,

    Thanks for the links, great place for example snippets.

    The gist you referenced didn't really help, but you pointed me in the right direction. This one did help: https://gist.github.com/1706821 for anyone trying to do the same thing.

    Cheers

    Dean

Please Sign in or register to post replies

Write your reply to:

Draft