Enhanced data model (preview)

[This topic is pre-release documentation and is subject to change.]

The standard data model was built with custom tables and was optimized for configuration of each website component stored as a record in a dedicated table in Microsoft Dataverse. The standard model requires other time to load the various solutions, tables, and metadata while provisioning a new site. Updates to website tables on the standard model require manual and time consuming application of package updates.

Important

  • This is a preview feature.
  • Preview features aren’t meant for production use and may have restricted functionality. These features are available before an official release so that customers can get early access and provide feedback.

The enhanced data model for Power Pages provides the following benefits:

  • faster provisioning of websites
  • faster design studio experiences
  • allow website configuration to be contained in solutions to provide smoother ALM experiences
  • improved updates of Power Pages enhancements and bug fixes

The enhanced data model is combination of system tables, a collection of non-configuration tables, and a set of virtual tables.

System tables

The system tables are Power Pages specific solution aware tables present in all Dataverse environments. These system tables can't be modified.

  • Site
  • Site Component
  • Site Language

Non-configuration tables

Non-configuration tables are feature specific tables that contain transactional business data. Data in these tables don't participate in ALM processes.

  • Ad
  • Poll
  • Poll Option
  • Poll Submission
  • External Identity
  • Portal comment
  • Invitation
  • Invitation Redemption
  • Setting
  • WebFormSession

Virtual tables

The Power Pages virtual tables represent and contain the metadata of the specific website components. The virtual tables point to the system tables that contain the website metadata in JSON format. The content in the virtual tables can be updated and configured through the Power Pages management app which has the identical look and feel of the legacy Portal Management app.

Note

  • If you have developed any custom code or tools that utilizes any of the standard data model tables, you will need to update the code to use the enhanced data model tables.
  • These tables cannot be modified.
System table Enhanced data model virtual table Standard data model table
powerpagesite mspp_website adx_website
powerpagesitelanguage mspp_websitelanguage adx_websitelanguage
powerpagecomponent mspp_columnpermission
mspp_columnpermissionprofile
mspp_contentsnippet
mspp_entityform
mspp_entityformmetadata
mspp_entitylist
mspp_entitypermission
mspp_pagetemplate
mspp_pollplacement
mspp_publishingstate
mspp_publishingstatetransitionrule
mspp_redirect
mspp_shortcut
mspp_sitemarker
mspp_sitesetting
mspp_webfile
mspp_webform
mspp_webformmetadata
mspp_webformstep
mspp_weblink
mspp_weblinkset
mspp_webpage
mspp_webpageaccesscontrolrule
mspp_webrole
mspp_websiteaccess
mspp_websitelanguage
mspp_webtemplate
adx_columnpermission
adx_columnpermissionprofile
adx_contentsnippet
adx_entityform
adx_entityformmetadata
adx_entitylist
adx_entitypermission
adx_pagetemplate
adx_pollplacement
adx_publishingstate
adx_publishingstatetransitionrule
adx_redirect
adx_shortcut
adx_sitemarker
adx_sitesetting
adx_webfile
adx_webform
adx_webformmetadata
adx_webformstep
adx_weblink
adx_weblinkset
adx_webpage
adx_webpageaccesscontrolrule
adx_webrole
adx_websiteaccess
adx_websitelanguage
adx_webtemplate

​​Enable environment for enhanced data model  

You'll first need to enable the enhanced data model on your Power Platform environment before being able to provision a website utilizing the enhanced data model.

Note

This will add solutions packages to support the enhanced data model on your Power Platform environment.  

Once the enhanced data model is enabled, when you provision a new website using one of the following templates, they'll utilize the enhanced data model;

  • Starter layout 1-5
  • Application processing
  • Blank page

The following templates will use the standard data model even if the enhanced data model is enabled on the environment:

  • Program registration
  • Schedule meetings
  • FAQ (preview)
  • Community (Dynamics 365)
  • Customer Portal (Dynamics 365)
  • Customer Self Service Portal (Dynamics 365)
  • Employee Self Service Portal (Dynamics 365)
  • Field Service (Dynamics 365)
  • Modern Community (Dynamics 365)
  • Order Returns (Dynamics 365)
  • Partner Portal (Dynamics 365)

Follow these steps to enable the new data model for a specific environment.

  1. Open the Power Platform admin center

  2. Select Environments

  3. Select the environment that you want to enable the new data model. 

  4. Select Power Pages sites under the Resources tile. 

  5. Select the Upgrade to modern data model for new sites switch from the tool bar.  

    Switch to enhanced data model.

    This will start installation of the Power Pages Core package. You'll see a message once completed.

    Updated packages installed.

You can opt out from new data model site creation by disabling the Upgrade to modern data model for new sites option from top tool bar. Disabling the enhanced data model won't remove the solution packages or delete any websites.

Existing websites created using the enhanced data model will continue to operate. Any new website created will use the standard data model.

Create a website with an enhanced data model 

You can create a new site using Power Pages home page with the new data model once it's enabled for an environment.

Note

The new site will be created using the new enhanced data model only if it is supported by the selected template.

Create site using a template of your choice using the new data model:

  1. Navigate to the Power Pages home page.

  2. Select the Create a site button.  

  3. Select the template and select Choose this template to create your site.

  4. Fill in the required information and select Done.  

You'll be redirected to the Power pages home page, and the new site will appear in the My sites list. You can edit the site using Power Pages design studio when the site is ready.

See list of new data model sites 

You can see the newly created site from the Power Pages home.

The new data model sites are at functional parity, you can see which data model your site is using by going to the Power Platform admin center, go to Resources > Power Pages sites, select your site, select Manage and the Data Model value in the Site Details will indicate what data model the site is using.

Site details.

You'll also be able to view the data model being used from with the Setup workspace in the design studio.

You can also identify the data model used by opening the Portal Management app application as the new data model application name will be Power Pages Management instead of Portal Management application. 

Power Pages Management app.

When using the Power Platform CLI, you'll be able to view which data model is being used by site with the following command:

pac paportal list -v

Note

This parameter is supported from Power Platform CLI version 1.22.4 onwards.

All of the available sites in the Power Pages home page Active sites section. This list shows sites that are created on the new data model and the existing data model, whether the environment has been enabled for the new data model or not.

Editing newly created site on new data model  

Site that is created on new data model will have functional parity with classic data model and users can use Power Pages design studio or Power Pages management application for customization.  

Edit site using the Power Pages design studio

Users can select Edit option from the Power Pages home page site card to open the design studio and edit the site.

Note

Editing new data model site using design studio will work same as existing data model site without any functionality gaps.  

Edit site using the Power Pages Management app

Users can select the Portal management app option from the Power Pages home site card to open the Power Pages management application.  Select the ellipse followed by Portal management.

Note

The new data model comes with new UCI model-driven Power App application with name Power Pages management. You will need to use this application for advanced customizations which are not available using the Power Pages design studio.  

You can also open the Power Pages Management application from Power Pages design studio. Select the ellipse followed by Portal management

The Power Pages Management application allows you to make advance customizations unavailable in the design studio.

Edit website using Power Pages Management app.

Data model Power Platform CLI parameters

You need to use the modelVersion parameter when uploading or downloading enhanced data model website configuration data using the Power Platform CLI. The value of 2 indicates to use the enhanced data model.

Download pac paportal download --path <path> --webSiteId <siteId> --modelVersion 2

Upload pac paportal upload --path <path> --modelVersion 2

Note

This parameter is supported from Power Platform CLI version 1.22.4 onwards.

See Power Platform CLI parameters for more information.

Frequently asked questions: 

How can I update a website from the standard data model to the enhanced data model?

Guidance and tooling support to update from the standard data model to enhanced data model will be delivered in a later update.

Can I edit new sites based on enhanced data model configurations in the Portal management app? 

New websites created using the enhanced data model can be edited using the new Power Pages Management app.

Known issues

  1. A logged website user will see a list of all supported languages instead of just the website enabled languages on the language selection on the user profile page.

  2. The search feature won't return any web page results.

  3. Enable traffic analysis isn't available for websites using the enhanced data model.

See also