Skip to content

albarivas/working-with-data-code-examples

Repository files navigation

Code Examples that show how to work with Salesforce Data in LWC

  1. Clone the repo:

    git clone [email protected]:albarivas/working-with-data-code-examples.git
    
  2. If you haven't already done so, authorize with your hub org and provide it with an alias (myhuborg in the command below):

    sfdx force:auth:web:login -d -a myhuborg
    
  3. Create a scratch org and provide it with an alias (working-with-data-code-examples in the command below):

    sfdx force:org:create -s -f config/project-scratch-def.json -a working-with-data-code-examples
    
  4. Push the app to your scratch org:

    sfdx force:source:push
    
  5. Assign the Working_with_Data permission set to the default user:

    sfdx force:user:permset:assign -n Working_with_Data
    
  6. Open the scratch org:

    sfdx force:org:open
    
  7. Find an Account in your org and do a search & replace on the code, as the account Id is hardcoded to "0011700001Ut0BOAAZ". Then push again.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •