Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

uswds theme demo updates

Mark Vogelgesang edited this page Apr 18, 2023 · 1 revision

USWDS Theme Demo Updates

Updating the uswdsThemeDemo in examples runs the risk of inadvertenly overwriting content in the demo community. In short, when deploying a community programatically, all pages and routes get overwritten. For that reason, it is important to retreive content from the community before pushing back to the org.

  1. Commit your working state
  2. Retrieve latest changes present in Experience Builder
  • sfdx force:mdapi:retrieve -r examples/uswdsThemeDemo -k examples/uswdsThemeDemo/package.xml --unzip -u {username}
  1. Copy files from unpackaged folder into examples/uswdsThemeDemo. Compare diff and commit retrieved changes.
  2. {{make any code updates}}
  3. Deploy changes back to org
  • sfdx force:mdapi:deploy -d examples/uswdsThemeDemo -w 100 -u {username}
  • Spotlight
    • List and links of sites using the theme.

For Developers

Repo Maintainers

Users

Clone this wiki locally