Skip to content

Latest commit

 

History

History
156 lines (87 loc) · 4.43 KB

File metadata and controls

156 lines (87 loc) · 4.43 KB
title description keywords ms.subservice ms.author author ms.date ms.reviewer ms.topic contributors
Microsoft Power Platform CLI powerpages command group| Microsoft Docs
Describes commands and parameters for the Microsoft Power Platform CLI powerpages command group.
pac cli
developer
marcsc
devkeydet
1/22/2024
jdaly
reference
JimDaly

pac powerpages

Commands for working with Power Pages website.

[!INCLUDE powerpages-intro]

Commands

Command Description
pac powerpages bootstrap-migrate Migrates HTML code from bootstrap V3 to V5.
pac powerpages download Download Power Pages website content from the current Dataverse environment.
pac powerpages list List all Power Pages websites from the current Dataverse environment.
pac powerpages upload Upload Power Pages website content to current Dataverse environment.

pac powerpages bootstrap-migrate

Migrates HTML code from bootstrap V3 to V5.

[!INCLUDE powerpages-bootstrap-migrate-intro]

Required Parameters for powerpages bootstrap-migrate

--path -p

Path of website content.

[!INCLUDE powerpages-bootstrap-migrate-remarks]

pac powerpages download

Download Power Pages website content from the current Dataverse environment.

[!INCLUDE powerpages-download-intro]

Required Parameters for powerpages download

--path -p

Path where the Power Pages website content is downloaded

--webSiteId -id

Power Pages website ID to download

Optional Parameters for powerpages 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 powerpages-download-remarks]

pac powerpages list

List all Power Pages websites from the current Dataverse environment.

[!INCLUDE powerpages-list-intro]

Optional Parameters for powerpages 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 powerpages-list-remarks]

pac powerpages upload

Upload Power Pages website content to current Dataverse environment.

[!INCLUDE powerpages-upload-intro]

Required Parameters for powerpages upload

--path -p

Path from where the Power Pages website content is uploaded.

Optional Parameters for powerpages 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 powerpages-upload-remarks]

[!INCLUDE powerpages-remarks]

See also

Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview