1. 4. Map content

Map content

On the Map content page of the wizard, you can map source content components to SitecoreAI components.

Map content intro page

To group and map content:

  1. On the Map content page, click AI Instructions and review the system prompt provided.

  2. Add additional instructions if required. Keep them simple and concise. Avoid unnecessary words. Here are some examples to help you write instructions:

    • On the "AboutUs" page, map "HeroBanner" to the "SponsorListing" target component.
    • On the "Home" page, set the placeholder path for all components to "/headless-main/demo1".
    • On the "Home" page, set the Dynamic Placeholder ID to "5" for the "SponsorListing" component.
  3. When you are happy with the prompt, click Save.

  4. Click triangle-outline-right.pngComponent Mapping to map site content to SitecoreAI components, based on the previously mapped templates. To refine component mapping results, you can add additional details to the AI instructions and rerun component mapping.

  5. To view page details, in the list of pages, click a page and then click View page details.

    Map components and templates
  6. To view details about component mapping, including the target and source fields, in the Component Mappings list, in the Action column, click View eye-outline.png.

  7. Click Next.

IMPORTANT

If, after reviewing the details of the content mapping, you decide to change the AI instructions, be sure to record any mapping information or results you want to retain because after you update the instructions and click Save, the Map content step of the migration process is reset to Not started and existing mapping results are deleted.

If you have suggestions for improving this article, let us know!