Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
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
use CMS Import which would potentially eliminate a lot of the custom work required https://our.umbraco.com/packages/developer-tools/cmsimport/
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.
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.
Any place where I could learn to do that with umbraco? I'm completely new to all of this unfortunately.
You could take a look in the Docs
Or try and take a look here
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?
Louis linked to the ContentService API description, which is how content is created programmatically. You could take a look at the reference description also
If that does not help you, then I would suggest you start more basic by setting up a site, by following tutorials here.
or here, which also has more advanced tutorials
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted