microsoft / microsoft/powerplatform-vscode
Power Pages Actions Upload errors when using enhanced modelVersion = "2"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 277
- Forks
- 60
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 14
Description
My new Power Pages portal uses enhanced model version = 2.
I've successfully download local copy of its files with the following PAC CLI command:
pac powerpages download --path '..\portal' --webSiteId $websiteId --overwrite true --modelVersion 2
However when I would like to upload it back using VS Code Power Pages "Upload" command from menu "pac pages upload" command is executed in the background without specifying modelVersion and it results with the following error:
Error: Power Pages entities for standard data model (v1) aren't available on this org, please install required packages on this org. If you are trying to upload to enhanced data model (v2), pass model version aFeedback, Suggestions, Issues: https://github.com/microsoft/powerplatform-build-tools/discussions
Could you please update Power Pages Actions to support enhanced model of Power Pages portals?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the VS Code Power Pages Upload action and the underlying pac pages upload invocation, comparing it with the shown download command that passes --modelVersion 2. Done means the Upload command can pass the enhanced model version and no longer fails by assuming standard data model v1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100