Once your Template Mappings have been set up, you are now ready to migrate your content from Content Workflow into Sitecore.
Importing content into Sitecore
1. Chose the Sitecore item from the list and click 'Import' in the top bar
After all the mapping criteria are set, close the dialog and navigate to the content tree. Choose the Sitecore item you want to add items under and click the "Import" button on the Content Workflow ribbon.
2. Select the Content Workflow project to import your content from
An import content dialog will appear showing an empty grid. At this stage, you can select any Content Workflow project with a mapped template. You can also filter Items by Content Workflow workflow status and Template.
3. Select the Items you want to migrate
Select the items you'd like to import using the checkboxes and then click the 'Next' button. This will launch the confirmation screen.
4. Specify the language, destination and select the Item's status
On the confirmation screen, you can go over the selected Items. Then specify the language and destination for the Items being imported. If a template for an Item has more than one mapping defined, the system will show a dropdown with possible mappings next to each of these Items.
It's also possible to select the status that will be assigned to the Items in Content Workflow after a successful import.
5. Start the import
Clicking the 'Import' button will start the import process. The process can take some time depending on the number of items being imported.
6. View the results of the import
After the import is finished, the import result screen will appear where all imported and not imported Items are shown with their respective descriptions. It's now possible to open an Item in Sitecore or Content Workflow.
The import results page will list all successful and failed imports.
Tip: There are two reasons why an import may have failed. The error messages will show as 'Template fields mismatch' and 'Template not found.'
Migrating to multiple locations in the Sitecore content tree
It is possible to import content and send it to multiple locations in the Sitecore content tree, using the Multilocation Import feature. Here's how it works.
1. Choose 'Multilocation Import' from the top bar
2. Choose the project and Items to import
The first couple of steps are identical to the standard import process (as above) and lets you specify the project and Items to be imported.
3. Select the template mappings and locations
All mappings for selected Items will be shown, letting you specify which mapping should be used and which location it should be imported to. By default, each mapping will have a default location set during the mapping setup.
4. Review the import selection and select languages
You will now be able to review the importing Items and see which mappings will be used. It's also possible to specify which language all Items will be imported to in Sitecore.
5. Start the import process
After clicking the 'Import' button, the same process for a normal import will begin, showing the results screen after it has finished.
Updating content in Sitecore with changes made in Content Workflow
It is possible to update Sitecore items imported from Content Workflow. Just follow these steps to update an item:
1. Select the update option in the top bar
Select the node you want to update items under and click the 'Update' button in the ribbon.
2. Select items to update
The pop-up dialog will show all items located under the selected node that was previously imported from Content Workflow. You can select the items to update and click 'Next'.
3. View the results screen
The update process is similar to the import process. It ends with a results screen where you can view how many items were updated and if there are any errors.