mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-01 04:16:17 +08:00
* Move lwr site SKILL.md * Move bootstrap-template-byo-lwr.md * Move configure-content-brandingSet.md * Move configure-content-route.md * Move configure-content-themeLayout.md * Move configure-content-view.md * Move configure-guest-sharing-rules.md * Move handle-component-and-region-ids.md * Move handle-ui-components.md * Create react site SKILL.md * Create configure-metadata-custom-site.md * Create configure-metadata-digital-experience-bundle.md * Create configure-metadata-digital-experience-config.md * Create configure-metadata-digital-experience.md * Create configure-metadata-network.md --------- Co-authored-by: Hemant Singh Bisht <hsinghbisht@salesforce.com>
42 lines
1.9 KiB
Markdown
42 lines
1.9 KiB
Markdown
# Configure Metadata: CustomSite
|
|
|
|
## Purpose
|
|
This configuration file creates a **net-new, default** CustomSite metadata record for a Digital Experience React Site. It is not intended to edit or modify an existing CustomSite record. Use this template only when provisioning a brand-new React site.
|
|
|
|
## File Location
|
|
```
|
|
sites/{siteName}.site-meta.xml
|
|
```
|
|
|
|
## Default Template
|
|
```xml
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<CustomSite xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
<active>true</active>
|
|
<allowGuestPaymentsApi>false</allowGuestPaymentsApi>
|
|
<allowHomePage>false</allowHomePage>
|
|
<allowStandardAnswersPages>false</allowStandardAnswersPages>
|
|
<allowStandardIdeasPages>false</allowStandardIdeasPages>
|
|
<allowStandardLookups>false</allowStandardLookups>
|
|
<allowStandardPortalPages>true</allowStandardPortalPages>
|
|
<allowStandardSearch>false</allowStandardSearch>
|
|
<authorizationRequiredPage>CommunitiesLogin</authorizationRequiredPage>
|
|
<bandwidthExceededPage>BandwidthExceeded</bandwidthExceededPage>
|
|
<browserXssProtection>true</browserXssProtection>
|
|
<cachePublicVisualforcePagesInProxyServers>true</cachePublicVisualforcePagesInProxyServers>
|
|
<clickjackProtectionLevel>SameOriginOnly</clickjackProtectionLevel>
|
|
<contentSniffingProtection>true</contentSniffingProtection>
|
|
<enableAuraRequests>true</enableAuraRequests>
|
|
<fileNotFoundPage>FileNotFound</fileNotFoundPage>
|
|
<genericErrorPage>Exception</genericErrorPage>
|
|
<inMaintenancePage>InMaintenance</inMaintenancePage>
|
|
<indexPage>CommunitiesLanding</indexPage>
|
|
<masterLabel>{siteName}</masterLabel>
|
|
<redirectToCustomDomain>false</redirectToCustomDomain>
|
|
<referrerPolicyOriginWhenCrossOrigin>true</referrerPolicyOriginWhenCrossOrigin>
|
|
<selfRegPage>CommunitiesSelfReg</selfRegPage>
|
|
<siteType>ChatterNetwork</siteType>
|
|
<urlPathPrefix>{siteUrlPathPrefix}vforcesite</urlPathPrefix>
|
|
</CustomSite>
|
|
```
|