pac powerpages
Commands for working with Power Pages website.
Note
With pac cli version 1.27, the pac paportal
command was changed to pac powerpages
. paportal
will continue to work, but we recommend using powerpages
going forward.
See the following resources about using Power Platform CLI with Power Pages:
- Portals support for Microsoft Power Platform CLI
- Tutorial: Use Microsoft Power Platform CLI with portals
- Use the Visual Studio Code extension
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.
Required Parameters for powerpages bootstrap-migrate
--path
-p
Path of website content.
pac powerpages download
Download Power Pages website content from the current Dataverse environment.
Example
pac powerpages download --path "C:\portals" --webSiteId f88b70cc-580b-4f1a-87c3-41debefeb902
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.
Remarks
More information: Download portals content
pac powerpages list
List all Power Pages websites from the current Dataverse environment.
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.
Remarks
More information: List available portals
pac powerpages upload
Upload Power Pages website content to current Dataverse environment.
Example
pac powerpages upload --path "C:\portals\starter-portal"
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.
Remarks
More information:
See also
Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview
प्रतिक्रिया
https://aka.ms/ContentUserFeedback.
जल्द आ रहा है: 2024 के दौरान हम सामग्री के लिए फीडबैक तंत्र के रूप में GitHub मुद्दों को चरणबद्ध तरीके से समाप्त कर देंगे और इसे एक नई फीडबैक प्रणाली से बदल देंगे. अधिक जानकारी के लिए, देखें:के लिए प्रतिक्रिया सबमिट करें और देखें