-
Notifications
You must be signed in to change notification settings - Fork 2
Portals
Peter McDonald edited this page Jul 12, 2026
·
2 revisions
Round-trip Power Pages site content with
pac pages, authenticated through the same shared pac profile as solutions and
early-bound generation (service principal or OAuth — no manual pac auth needed).
Actions (portal card, or the Command Palette):
-
Select site — lists the environment's Power Pages websites and remembers your
choice (
portalWebsiteIdindataverse-powertools.json), so download/upload target it without re-picking. The remembered site shows a ★ in the picker. -
Download from <org> —
pac pages downloadinto the project's download folder (portalDownloadPath, defaultportalpublish), overwriting local content. -
Upload —
pac pages uploadpushes your local changes back; the extension finds the folder containingwebsite.ymlautomatically.
Errors surface in the Dataverse PowerTools output channel with the full pac output.
Tip: commit the downloaded site folder to source control — the download/upload pair is designed for a pull-edit-push loop.