diff --git a/docz/docs/03-demos/30-cloud/01-salesforce.md b/docz/docs/03-demos/30-cloud/01-salesforce.md index 8fbb813..0a5db37 100644 --- a/docz/docs/03-demos/30-cloud/01-salesforce.md +++ b/docz/docs/03-demos/30-cloud/01-salesforce.md @@ -29,7 +29,7 @@ may require some adjustments. The official documentation should be consulted. :::note Tested Deployments -This demo was last tested on 2023 September 30 using Lightning API version `58.0`. +This demo was last tested on 2024 May 05 using Lightning API version `59.0`. ::: @@ -283,7 +283,7 @@ npx @salesforce/cli --version When the demo was last tested, the command printed ``` -@salesforce/cli/2.10.2 darwin-x64 node-v16.20.2 +@salesforce/cli/2.39.6 darwin-x64 node-v22.0.0 ``` ::: @@ -316,21 +316,10 @@ cd SheetForce npx @salesforce/cli lightning generate component --type lwc -n sheetComponent -d force-app/main/default/lwc ``` -:::danger pass - -At the time of testing, the CLI tool created components with app version 59. -This version number is not valid for scratch orgs. - -**This is a bug in the Salesforce CLI** - -The workaround is to manually pin version 58 in the JSON and `meta.xml` files. - -::: - 7) Replace `force-app\main\default\lwc\sheetComponent\sheetComponent.html` with the following template code: -```html title="force-app\main\default\lwc\sheetComponent\sheetComponent.html" +```html title="force-app\main\default\lwc\sheetComponent\sheetComponent.html (add highlighted lines)"