capabilities.work

Site Theme Activate and Publish

A 3-step recipe with Salesforce Experience Cloud. We can help you get access.

Recipe · 3 steps

Site Theme Activate and Publish

Activate a theme on an Experience Cloud site and publish it.

  1. List the themes available for the site to confirm the chosen theme is present.
  2. Set the chosen theme as the active theme for the site.
  3. Publish the site so the newly activated theme takes effect.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer token for the Salesforce instance.
  • communityId: ID of the Experience Cloud site (community).
  • themeId: ID of the theme to activate.
For your developer

Arazzo workflow salesforce-experience-cloud:site-theme-activate-publish, 3 operations: $sourceDescriptions.themesApi.getSiteThemes → $sourceDescriptions.themesApi.setActiveTheme → $sourceDescriptions.publishApi.publishExperienceCloudSite. Specs on APIs.io.