Coder Social home page Coder Social logo

permsetunlockedpackage's Introduction

Trailhead Permission Sets for Unlocked Packages Project

This project contains the sample custom objects and custom tab for the Trailhead project 'Packaging Permission Sets with Salesforce DX'. The objective of this training is to show the trailblazer how to create and package a custom permission set using Salesforce DX CLI and working with Unlocked Packages.

===========================

Contents:

===========================

Tools

Tool: Version:
SFDX-CLI npm

===========================

The Project Overview

Set Up the Salesforce DX Project

Our first goal is to set up a developer project which we'll use to modify our application. It starts by cloning the repository. Use the command ...

git clone https://github.com/developerforce/PermSetUnlockedPackage

… or ...

git clone [email protected]:developerforce/PermSetUnlockedPackage

… to clone the repository. Then, open the directory.

cd PermSetUnlockedPackage

Authorize Dev Hub in your Trailhead Playground

Log into your Dev Hub org.

sfdx force:auth:web:login -d -a DevHub

Proceed to log in with your dev hub credentials.

If you already have an authorized Dev Hub, set it as the default:

sfdx force:config:set defaultdevhubusername=<username|alias>

Create a scratch org

sfdx force:org:create -s -f config/project-scratch-def.json

Push the source to your scratch org

sfdx force:source:push

Open the scratch org and make some changes.

sfdx force:org:open

Pull the changes

sfdx force:org:pull

Create a new Package Version

sfdx force:package:version:create -p packageName -d force-app -k test1234 --wait 10 -v DevHub

After installing the package into a scratch org and testing it out, next you release the package!

sfdx force:package:version:promote -p [email protected] -v DevHub

===========================

Resources

For details on using sfdx-simple, please review the Salesforce DX Developer Guide.

permsetunlockedpackage's People

Contributors

elizabethroots avatar douglascayers avatar

Watchers

James Cloos 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.