From 097a7ae1091e40f3dd567f7a49942017510edf2d Mon Sep 17 00:00:00 2001 From: Ethan Clapham Date: Fri, 27 Mar 2026 10:23:59 -0700 Subject: [PATCH] @W-21783760 Update instructions to ensure templates plugin is installed --- skills/generating-flexipage/SKILL.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/skills/generating-flexipage/SKILL.md b/skills/generating-flexipage/SKILL.md index d0018d5..a7f9d80 100644 --- a/skills/generating-flexipage/SKILL.md +++ b/skills/generating-flexipage/SKILL.md @@ -43,10 +43,16 @@ sf template generate flexipage \ --output-dir force-app/main/default/flexipages ``` -**Note:** If the `sf template generate flexipage` command fails, recommend users upgrade to the latest version of the Salesforce CLI: -```bash -npm install -g @salesforce/cli@latest -``` +**CRITICAL:** If the `sf template generate flexipage` command fails, **STOP**. + +1. Install the templates plugin: + ```bash + sf plugins install templates + ``` +2. Retry the `sf template generate flexipage` command +3. Verify the FlexiPage XML file was created + +Do NOT continue to Step 2 until the template command succeeds. The generated XML is required for the entire workflow. #### **Template-specific requirements**