Copied to clipboard

Flag this post as spam?

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


  • bday 1 post 20 karma points
    Jun 11, 2009 @ 04:13
    bday
    0

    Using only umbraco api calls?

    I'm trying to find a starting point for this scenario:

    A business wants a content management system that uploads AND serves the content via api calls only. The main reason behind this is so that authentication and permission logic is handled by the application calling the api function.

    Content will be uploaded from a company intranet. For now, lets just say the content will probably be: images and documents (pdf, ms word or excel, plain text and/or html).

    Content can then be accessed from a handful of the business’s website.

    Is umbraco the correct solution? If so, what documents and/or forum posts should I read? If not, are there any recommendations on other existing products or should I start writing a customer web service and database to handle this kind of content management?

    Thanks for your time!
    ~ Ben

  • Chris Dunn 75 posts 127 karma points
    Jul 03, 2009 @ 05:35
    Chris Dunn
    0

    Ben,

    Umbraco has a very extensive API for managing content and can be accessed via web services for integration with external websites.  Spend some time on the Developer section of the forums to get some ideas about what's possible.

    Here are some other links that might help:

    API Cheat Sheet: http://umbraco.org/documentation/books/api-cheatsheet

    API Documentation (MSDN Style) : http://umbraco.org/apiDocs/index.html

    -Chris

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jul 03, 2009 @ 07:39
    Aaron Powell
    0

    Unless you want to wait until v4.1 is released you're going to be stuck with only being able to do web service calls as Chris has suggested. The Umbraco API is very heavily tied to the HttpContext object which means that many of the classes are not able to be used outside of a web scope.

    v4.1 will be bringing a new provider model which will allow the object model to be interacted with without a HttpContext. This is part of the core of LINQ to Umbraco, which also has documentation on the wiki. I haven't got the data provider model stuff done on there yet but it'll be on there soon enough.

  • 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