-
Notifications
You must be signed in to change notification settings - Fork 42
Power Pages Actions Upload errors when using enhanced modelVersion = "2" #1203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @gashupl, thanks for opening the issue.
|
Hi @priyanshu92
FYI: |
@gashupl Are you trying to upload the website to the same environment you downloaded it or to a different environment? |
@priyanshu92 The same environment. |
Okay. Do you see the website under Active or Inactive sites in Power Pages Home? If you are uploading the website to the same environment you downloaded it from then I would expect it to show under Active or Inactive sites. |
@priyanshu92 In Power Pages Pane in VS Code - "Other Sites": |
Uh oh!
There was an error while loading. Please reload this page.
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?
The text was updated successfully, but these errors were encountered: