Events
Powerful Devs Conference and Hack Together
Feb 12, 11 PM - Feb 28, 11 PM
Join the online conference and 2-week hackathon to explore building powerful solutions with Power Platform.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Commands for working with Power Pages website.
Note
With pac cli version 1.32, the pac powerpages
command was changed to pac pages
.
With pac cli version 1.27, the pac paportal
command was changed to pac powerpages
.
Both powerpages
and paportal
will continue to work, but we recommend using pages
going forward.
See the following resources about using Power Platform CLI with Power Pages:
Command | Description |
---|---|
pac pages bootstrap-migrate | Migrates HTML code from bootstrap V3 to V5. |
pac pages download | Download Power Pages website content from the current Dataverse environment. |
pac pages list | List all Power Pages websites from the current Dataverse environment. |
pac pages migrate-datamodel | Manage data model migration for your Power Pages website. |
pac pages upload | Upload Power Pages website content to current Dataverse environment. |
Migrates HTML code from bootstrap V3 to V5.
Path of website content.
Download Power Pages website content from the current Dataverse environment.
pac pages download --path "C:\portals" --webSiteId f88b70cc-580b-4f1a-87c3-41debefeb902 --modelVersion 2
Path where the Power Pages website content is downloaded
Power Pages website ID to download
Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.
Comma separated list of entity logical names to exclude downloading
Download only the entities specified for this argument using comma separated entity logical names.
Power Pages website data model version to download. When not specified, 'Standard' will be used. [Enhanced or Standard]
Power Pages website content to overwrite
This parameter requires no value. It's a switch.
More information: Download portals content
List all Power Pages websites from the current Dataverse environment.
Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.
Enables verbose mode to provide more details.
This parameter requires no value. It's a switch.
More information: List available portals
Manage data model migration for your Power Pages website.
Power Pages website ID to update the site.
To check the status of the site with migration in progress.
This parameter requires no value. It's a switch.
Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.
Choose from configurationData / configurationDataRefrences / all - based on your requirement.
Portal ID for the website under migration.
Revert site from enhanced to standard data model.
This parameter requires no value. It's a switch.
Local path to store the site customization report.
Update data model version for the site once the data is migrated successfully.
This parameter requires no value. It's a switch.
Upload Power Pages website content to current Dataverse environment.
pac pages upload --path "C:\portals\starter-portal" --modelVersion 2
Path from where the Power Pages website content is uploaded.
Deployment profile name to be used. Defaults to 'default'
Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.
Upload all Power Pages website content to the current Dataverse environment.
This parameter requires no value. It's a switch.
Power Pages website data model version to upload.
More information:
Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview
Events
Powerful Devs Conference and Hack Together
Feb 12, 11 PM - Feb 28, 11 PM
Join the online conference and 2-week hackathon to explore building powerful solutions with Power Platform.
Register now