afv-library/skills/generating-experience-react-site/docs/configure-metadata-digital-experience.md
k-j-kim a693aa72a7
Rename webapplication skills to ui-bundle
Rename all 7 webapplication skill directories and their content to use
the "ui-bundle" / "UIBundle" naming convention, aligning with the
New++ (TDX) naming strategy.

Directory renames:
- deploying-webapplication → deploying-ui-bundle
- generating-webapplication-{features,metadata,ui} → generating-ui-bundle-*
- implementing-webapplication-{agentforce-conversation-client,file-upload} → implementing-ui-bundle-*
- using-webapplication-salesforce-data → using-ui-bundle-salesforce-data

Content updates across all skills:
- Frontmatter name fields
- Prose: "web application" → "UI bundle"
- Metadata refs: WebApplication → UIBundle, webapplications/ → uiBundles/
- CLI: sf webapp → sf ui-bundle
- NPM packages per rename table
- Cross-skill references and generating-experience-react-site refs
2026-03-30 11:01:24 -07:00

1.3 KiB

Configure Metadata: DigitalExperience (sfdc_cms__site)

Purpose

These configuration files create net-new, default DigitalExperience content records (sfdc_cms__site type) for a Digital Experience React Site. They are not intended to edit or modify existing DigitalExperience content. Use these templates only when provisioning a brand-new React site.

The appContainer: true and appSpace fields in content.json are what make this a React site rather than a standard LWR site. The appSpace value follows the format {namespace}__{developerName} and must match a deployed UIBundle metadata record.

File Location

The DigitalExperience directory contains only _meta.json and content.json. Do not create any directories other than sfdc_cms__site inside the bundle.

digitalExperiences/site/{siteName}1/sfdc_cms__site/{siteName}1/_meta.json
digitalExperiences/site/{siteName}1/sfdc_cms__site/{siteName}1/content.json

Default Templates

_meta.json

{
  "apiName": "{siteName}1",
  "path": "",
  "type": "sfdc_cms__site"
}

content.json

{
  "type": "sfdc_cms__site",
  "title": "{siteName}",
  "urlName": "{siteUrlPathPrefix}",
  "contentBody": {
    "authenticationType": "AUTHENTICATED_WITH_PUBLIC_ACCESS_ENABLED",
    "appContainer": true,
    "appSpace": "{appNamespace}__{appDevName}"
  }
}