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_columnpermissionmspp_columnpermissionprofilemspp_contentsnippetmspp_entityformmspp_entityformmetadatamspp_entitylistmspp_entitypermissionmspp_pagetemplatemspp_pollplacementmspp_publishingstatemspp_publishingstatetransitionrulemspp_redirectmspp_shortcutmspp_sitemarkermspp_sitesettingmspp_webfilemspp_webformmspp_webformmetadatamspp_webformstepmspp_weblinkmspp_weblinksetmspp_webpagemspp_webpageaccesscontrolrulemspp_webrolemspp_websiteaccessmspp_websitelanguagemspp_webtemplate | adx_columnpermissionadx_columnpermissionprofileadx_contentsnippetadx_entityformadx_entityformmetadataadx_entitylistadx_entitypermissionadx_pagetemplateadx_pollplacementadx_publishingstateadx_publishingstatetransitionruleadx_redirectadx_shortcutadx_sitemarkeradx_sitesettingadx_webfileadx_webformadx_webformmetadataadx_webformstepadx_weblinkadx_weblinksetadx_webpageadx_webpageaccesscontrolruleadx_webroleadx_websiteaccessadx_websitelanguageadx_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.
Open the Power Platform admin center
Select Environments
Select the environment that you want to enable the new data model.
Select Power Pages sites under the Resources tile.
Select the Upgrade to modern data model for new sites switch from the tool bar.
This will start installation of the Power Pages Core package. You'll see a message once completed.
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:
Navigate to the Power Pages home page.
Select the Create a site button.
Select the template and select Choose this template to create your site.
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.
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.
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.
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
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.
The search feature won't return any web page results.
Enable traffic analysis isn't available for websites using the enhanced data model.
See also
Feedback
Submit and view feedback for