Add a new site page
This article describes how to add a new site page in Microsoft Dynamics 365 Commerce.
After you've created templates and fragments for your site, the next step is to start to create pages that use them. To get started, you must select a template or layout, a page name, and a page URL.
Template or layout
You can use either a template or a layout for your new page. For more information, see Templates and layouts overview.
Specify the page name
The page name must be unique to your site and should be descriptive so you can find it easily and other people know what the page is intended for. You can rename your page later by editing it and then selecting the pen symbol next to the page name in the property pane.
Specify the page URL
You can have the option to enter a URL for your new page. When you create a page, you can enter a string that will be used to form a complete URL. This string is known as a relative URL or a URL slug. A complete URL is then generated based on the URL slug, and the new page is assigned to it. You can change the URL slug later, before you publish the page. For more information, see Create a page URL.
Note
Dynamics 365 Commerce decouples URLs and content. In other words, a page can be created that isn't associated with an URL, and a URL can be created that isn't associated with a page. Therefore, content swapping can be done for a URL and doesn't require downtime, and redirects are easier to manage.
Add a new page
To add a new site page to your site, follow these steps.
- Under Sites, select Fabrikam (or the name of your site).
- Select New Page.
- In the New Page dialog box, select a template, and then select OK.
- In the Page Name field, enter a page name (for example, My New Page).
- In the URL field, enter a string (URL slug) to complete the URL (for example, mynewpage).
- Select OK. The page editor appears. Notice that a header and a footer are automatically added to the page, based on the template that you selected.
- In the page outline, select the Main slot, select the ellipsis button (...), and then select Add Module.
- Select Container, and then select OK
- Select Fluid Container, select the ellipsis button, and then select Add Module.
- Select Content Rich block, and then select OK.
- Select Content Rich Block, select the ellipsis button, and then select Add Module.
- Select Content rich block item, and then select OK.
- In the properties pane on the right, select Paragraph, and then, in the field, enter My test text.
- Select Save, and then select Finish editing.
- In the Comments field, enter Added new page, and then select OK.
- Select Preview to preview your page. When you've finished, close the preview tab to return to the authoring tool.
- Select Publish.
- In the navigation path (breadcrumbs), select Fabrikam (or the name of your site).
- In the navigation pane on the left, select URLs.
- Find and select your URL (mynewpage) in the list.
- Select Publish.
Additional resources
Save, preview, and publish a page
Enrich a category landing page