mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 11:43:26 +08:00
@W-21467732 Update siteUrlPathPrefix property to all lowercase (#116)
Update siteUrlPathPrefix property to all lowercase
This commit is contained in:
parent
8cf130e726
commit
5a52a8a6ec
@ -14,7 +14,7 @@ Resolve all five properties before generating any metadata. Each has a fallback
|
||||
| Property | Format | How to Resolve |
|
||||
|----------|--------|----------------|
|
||||
| **siteName** | `UpperCamelCase` (e.g., `MyCommunity`) | Ask user or derive from context |
|
||||
| **siteUrlPathPrefix** | `kebab-case` (e.g., `my-community`) | User-provided, or convert siteName to kebab-case |
|
||||
| **siteUrlPathPrefix** | `All lowercase` (e.g., `mycommunity`) | User-provided, or convert siteName to all lowercase with alphanumeric characters only |
|
||||
| **appNamespace** | String | `namespace` in `sfdx-project.json` → `sf data query -q "SELECT NamespacePrefix FROM Organization" --target-org ${usernameOrAlias}` → default `c` |
|
||||
| **appDevName** | String | `webApplication` metadata in the project → `sf data query -q "SELECT DeveloperName FROM WebApplication" --target-org ${usernameOrAlias}` → default to siteName |
|
||||
| **enableGuestAccess** | Boolean | Ask user whether unauthenticated guest users can access site APIs → default `false` |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user