Giter Site home page Giter Site logo

customfileuploader's Introduction

SFDX Scratch Org Steps:

sfdx force:project:create -n <PROJECTNAME> -x

  1. open project via vsc
  2. SFDX: Create a Default Scratch Org
    a. via vsc: click bottom left button & follow prompts,
    OR
    b. via command line: sfdx force:org:create -f config/project-scratch-def.json -a <PROJECTNAME> -d 30 -s

npm install --force

create github repo etc

  1. git init
  2. git add .
  3. git commit -m 'init commit'
  4. git remote add origin https://github.com/mateo-navarrete/<PROJECTNAME>.git
  5. git push origin master

to setup custom fields on account object:
connect to mateodx via vsc:
click bottom left button (change default org)
copy paste custom account field package.xml to retrive custom field metadata
sfdx force:mdapi:retrieve -r ./tmp -k ./manifest/package.xml -w 10
connect back to scratch org via vsc:
click bottom left button (change default org)
then open scratch org:
sfdx force:org:open
setup > object manager > account > field & relationships > set history tracking > enable account history > [Account Name,Account Owner,Billing Address, Employees, Ownership, Phone, Website] > save
then
unzip -o ./tmp/unpackaged.zip -d ./tmp
then
sfdx force:mdapi:deploy -d ./tmp/unpackaged -w 10
to pull that data from scratch org:
sfdx force:source:pull
to push that data to scratch org:
sfdx force:source:deploy -p ./force-app/main/default/objects
@TODO: setup custom fields on account object via pulling from github repo directly etc iow git clone etc

Salesforce DX Project: Next Steps

Now that you’ve created a Salesforce DX project, what’s next? Here are some documentation resources to get you started.

How Do You Plan to Deploy Your Changes?

Do you want to deploy a set of changes, or create a self-contained application? Choose a development model.

Configure Your Salesforce DX Project

The sfdx-project.json file contains useful configuration information for your project. See Salesforce DX Project Configuration in the Salesforce DX Developer Guide for details about this file.

Read All About It

customfileuploader's People

Contributors

mateo-navarrete avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.