Copied to clipboard

Flag this post as spam?

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


  • Mario 10 posts 80 karma points
    Feb 11, 2019 @ 08:34
    Mario
    0

    Importing a site to umbraco?

    I am not too sure how to ask this.

    I'm attempting to look into potentially importing some sites into Umbraco so as to more easily handle the back-office and content creation.

    However, looking through the tutorials, I can't seem able to find any examples that could help me automate creating an indefinite number of pages within the site and then filling their content.

    Is there any way to do such a thing with Umbraco?

  • Louis Jackson-Rees 91 posts 317 karma points c-trib
    Feb 11, 2019 @ 10:29
    Louis Jackson-Rees
    1

    There is 2 best ways i can think of to do this,

    you could write some custom code using the Content Service, to create these pages and map over field content from whatever CMS you are currently using

    or:

    use CMS Import which would potentially eliminate a lot of the custom work required https://our.umbraco.com/packages/developer-tools/cmsimport/

  • Mario 10 posts 80 karma points
    Feb 11, 2019 @ 10:41
    Mario
    0

    Thank you for the link.

    That said, would you know about how to automate page creation?

    I've been trying to see into it but all the tutorials are so heavily reliant of the Umbraco back-office that I can't find a way to be able to do something that could help me program an automated sub-page creation.

  • Louis Jackson-Rees 91 posts 317 karma points c-trib
    Feb 11, 2019 @ 10:43
    Louis Jackson-Rees
    1

    You'll probably want to create some kind of method that gets called on application started, then in that method you can use the content service.

  • Mario 10 posts 80 karma points
    Feb 11, 2019 @ 11:18
    Mario
    0

    Any place where I could learn to do that with umbraco? I'm completely new to all of this unfortunately.

  • Michael Nielsen 99 posts 619 karma points
    Feb 11, 2019 @ 11:30
    Michael Nielsen
    1

    You could take a look in the Docs

    https://our.umbraco.com/documentation/

    Or try and take a look here

    https://umbraco.tv

  • Mario 10 posts 80 karma points
    Feb 11, 2019 @ 11:34
    Mario
    0

    My search has unfortunately yielded little results. I've been trying to figure out a way to create/edit and basically work with umbraco exclusively through Visual Studio but every single tutorial and example I find has a constant of "Go to backoffice, do X, save, then go to VS and touch around".

    Is there no way to learn how to work with an umbraco site without using the backoffice?

  • Michael Nielsen 99 posts 619 karma points
    Feb 11, 2019 @ 11:56
    Michael Nielsen
    1

    Hi Mario

    Louis linked to the ContentService API description, which is how content is created programmatically. You could take a look at the reference description also

    https://our.umbraco.com/documentation/Reference/Management/Services/ContentService/

    If that does not help you, then I would suggest you start more basic by setting up a site, by following tutorials here.

    https://our.umbraco.com/documentation/tutorials/creating-basic-site/document-types/

    or here, which also has more advanced tutorials

    https://umbraco.tv

Please Sign in or register to post replies

Write your reply to:

Draft