Skip to content

Latest commit

 

History

History
209 lines (113 loc) · 5.71 KB

File metadata and controls

209 lines (113 loc) · 5.71 KB
title description keywords ms.subservice author ms.author ms.date ms.reviewer ms.topic contributors
Microsoft Power Platform CLI pages command group| Microsoft Docs
Describes commands and parameters for the Microsoft Power Platform CLI pages command group.
pac cli
developer
devkeydet
marcsc
5/13/2024
jdaly
reference
JimDaly

pac pages

Commands for working with Power Pages website.

[!INCLUDE pages-intro]

Commands

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.

pac pages bootstrap-migrate

Migrates HTML code from bootstrap V3 to V5.

[!INCLUDE pages-bootstrap-migrate-intro]

Required Parameters for pages bootstrap-migrate

--path -p

Path of website content.

[!INCLUDE pages-bootstrap-migrate-remarks]

pac pages download

Download Power Pages website content from the current Dataverse environment.

[!INCLUDE pages-download-intro]

Required Parameters for pages download

--path -p

Path where the Power Pages website content is downloaded

--webSiteId -id

Power Pages website ID to download

Optional Parameters for pages download

--environment -env

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.

--excludeEntities -xe

Comma separated list of entity logical names to exclude downloading

--includeEntities -ie

Download only the entities specified for this argument using comma separated entity logical names.

--modelVersion -mv

Power Pages website data model version to download.

--overwrite -o

Power Pages website content to overwrite

This parameter requires no value. It's a switch.

[!INCLUDE pages-download-remarks]

pac pages list

List all Power Pages websites from the current Dataverse environment.

[!INCLUDE pages-list-intro]

Optional Parameters for pages list

--environment -env

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.

--verbose -v

Enables verbose mode to provide more details.

This parameter requires no value. It's a switch.

[!INCLUDE pages-list-remarks]

pac pages migrate-datamodel

Manage data model migration for your Power Pages website.

[!INCLUDE pages-migrate-datamodel-intro]

Required Parameters for pages migrate-datamodel

--webSiteId -id

Power Pages website ID to update the site.

Optional Parameters for pages migrate-datamodel

--checkMigrationStatus -s

To check the status of the site with migration in progress.

This parameter requires no value. It's a switch.

--environment -env

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.

--mode -m

Choose from configurationData / configurationDataRefrences / all - based on your requirement.

--portalId -pid

Portal ID for the website under migration.

--revertToStandardDataModel -r

Revert site from enhanced to standard data model.

This parameter requires no value. It's a switch.

--siteCustomizationReportPath -p

Local path to store the site customization report.

--updateDataModelVersion -u

Update data model version for the site once the data is migrated successfully.

This parameter requires no value. It's a switch.

[!INCLUDE pages-migrate-datamodel-remarks]

pac pages upload

Upload Power Pages website content to current Dataverse environment.

[!INCLUDE pages-upload-intro]

Required Parameters for pages upload

--path -p

Path from where the Power Pages website content is uploaded.

Optional Parameters for pages upload

--deploymentProfile -dp

Deployment profile name to be used. Defaults to 'default'

--environment -env

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.

--forceUploadAll -f

Upload all Power Pages website content to the current Dataverse environment.

This parameter requires no value. It's a switch.

--modelVersion -mv

Power Pages website data model version to upload.

[!INCLUDE pages-upload-remarks]

[!INCLUDE pages-remarks]

See also

Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview