Skip to content

Commit 8cf130e

Browse files
@W-21783760 Update instructions to ensure templates plugin is installed (#124)
Co-authored-by: Hemant Singh Bisht <hsinghbisht@salesforce.com>
1 parent c14da08 commit 8cf130e

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

skills/generating-flexipage/SKILL.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,16 @@ sf template generate flexipage \
4343
--output-dir force-app/main/default/flexipages
4444
```
4545

46-
**Note:** If the `sf template generate flexipage` command fails, recommend users upgrade to the latest version of the Salesforce CLI:
47-
```bash
48-
npm install -g @salesforce/cli@latest
49-
```
46+
**CRITICAL:** If the `sf template generate flexipage` command fails, **STOP**.
47+
48+
1. Install the templates plugin:
49+
```bash
50+
sf plugins install templates
51+
```
52+
2. Retry the `sf template generate flexipage` command
53+
3. Verify the FlexiPage XML file was created
54+
55+
Do NOT continue to Step 2 until the template command succeeds. The generated XML is required for the entire workflow.
5056

5157
#### **Template-specific requirements**
5258

0 commit comments

Comments
 (0)