Skip to content

Portals

Peter McDonald edited this page Jul 12, 2026 · 2 revisions

Portals / Power Pages

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 (portalWebsiteId in dataverse-powertools.json), so download/upload target it without re-picking. The remembered site shows a ★ in the picker.
  • Download from <org>pac pages download into the project's download folder (portalDownloadPath, default portalpublish), overwriting local content.
  • Uploadpac pages upload pushes your local changes back; the extension finds the folder containing website.yml automatically.

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.

Clone this wiki locally