Copied to clipboard

Flag this post as spam?

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


  • Stefan 117 posts 215 karma points
    Apr 03, 2016 @ 19:21
    Stefan
    0

    Modifying contents of Umbraco 7.0+ from external application

    Hello.

    I'm currently developing an Umbraco website (7.4.2) containing a large product catalog where the customer has all the information readily available from an Excel Spreadsheet. To make it easier for him to work with products, I have planned to create a small desktop application that enables him to use this spreadsheet to add/modify products in the catalog (and update Umbraco accordingly).

    It looks like I'm out of luck regarding the nuget packages available, so to me it seems like the Umbraco webservices is the way to go? I tried adding the

    Would it be better to turn to the UmbracoApiController to create an endpoint allowing me to upload the spreadsheet for further processing?

    If you know of any examples of doing so, then please let me know!

    Best regards Stefan

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Apr 05, 2016 @ 12:34
    Dan Diplo
    1

    Have you had a look at https://our.umbraco.org/documentation/Implementation/Rest-Api/ ? Not tried this, but worth a look.

    Otherwise you can do what I've done and that is to write your own custom API or SurfaceControllers to take data in some format (either HTTP post values or XML or JSON) and then programmatically generate pages in Umbraco using the Content API. See:

    https://our.umbraco.org/documentation/Implementation/Controllers/

    https://our.umbraco.org/documentation/Implementation/Data-Persistence/

    It might be easier, though, if the data is in a spreadsheet to get your customer to export it as CSV and then create an upload feature to let him upload all the data via that.

Please Sign in or register to post replies

Write your reply to:

Draft