亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

SalesforceXyTools Support SFDX develop

發布時間:2020-07-26 17:20:33 來源:網絡 閱讀:421 作者:sfdc 欄目:云計算

SalesforceXytoolsForSublime is Rapid development tools for Salesforce Development.

From SalesforceXytools For Sublime v2.1.6(2019/06/15) Support Sfdx Deveopment.

Let us talk about using SalesforceXytools For Sublime for Salesforce SFDX Development.

start sfdx development

SFDX Command Palette

use ctrl+alt+o or SFDX->SFDX Command to open SFDX Command Palette

Create Project

force:project:create

SalesforceXyTools Support SFDX develop

Input your workspaceFolder

SalesforceXyTools Support SFDX develop

SalesforceXyTools Support SFDX develop

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
[2019-06-15 15:56:30][info] sfdx force:project:create -n "D:\Sfdx-Hello" --template standard
[2019-06-15 15:56:30][info] ********************************************************************************
target dir = D:\Sfdx-Hello
   create sfdx-project.json
   create README.md
   create .forceignore
   create .gitignore
   create config\project-scratch-def.json
   create .vscode\settings.json
   create .vscode\launch.json
   create .vscode\extensions.json
   create .prettierrc
   create .prettierignore
   create force-app\main\default\lwc\.eslintrc.json

Authorize an Org

force:auth:web:login

Select test or product.

Input your Alias.

SalesforceXyTools Support SFDX develop

SalesforceXyTools Support SFDX develop

SalesforceXyTools Support SFDX develop

1
[2019-06-15 15:58:00][info] sfdx force:auth:web:login --instanceurl https://login.salesforce.com --setalias Dev1

Test Login

SalesforceXyTools Support SFDX develop

SalesforceXyTools Support SFDX develop

1
2
3
[2019-06-15 15:59:36][info] sfdx force:org:open -p /home/home.jsp -u Dev1
[2019-06-15 15:59:36][info] ********************************************************************************
Access org 00DXXXXXXXX as user exiaxxxxxxxxxxxxxxxxxxx@xxxxxxxxxxx.com with the following URL: https://xxxxxxxxxxx.my.salesforce.com/secur/frontdoor.jsp?sid=xxxxxxxxxx

Set default username

force:config:set:defaultusername

SalesforceXyTools Support SFDX develop

1
2
3
4
5
6
[2019-06-15 15:59:58][info] sfdx force:config:set defaultusername=Dev1
[2019-06-15 15:59:58][info] ********************************************************************************
=== Set Config
NAME             VALUE
───────────────  ─────
defaultusername  Dev1

Set default username

Retrieve Source from Org

1
2
force:source:retrieve:metadata:base
"ApexClass, ApexPage, ApexComponent, ApexTrigger, LightningComponentBundle, AuraDefinitionBundle, CustomObject"

SalesforceXyTools Support SFDX develop

Create Apex, Trigger, Aura, LWC

create apex

1
2
3
4
5
[2019-06-15 16:05:59][info] sfdx force:apex:class:create -n Hello1 --outputdir "./force-app/main/default/classes" --template DefaultApexClass
[2019-06-15 16:05:59][info] ********************************************************************************
target dir = D:\Sfdx-Hello\force-app\main\default\classes
   create Hello1.cls
   create Hello1.cls-meta.xml

change your code.

1
2
3
4
5
public with sharing class Hello1 {
    public Hello1() {
        System.debug('hello world');
    }
}

Deploy Source from Org

1
2
3
4
5
6
7
[2019-06-15 16:07:48][info] sfdx force:source:deploy --loglevel fatal --sourcepath "D:\Sfdx-Hello\force-app\main\default\classes\Hello1.cls" --targetusername=Dev1
[2019-06-15 16:07:48][info] ********************************************************************************
=== Deployed Source
FULL NAME  TYPE       PROJECT PATH
─────────  ─────────  ──────────────────────────────────────────────────
Hello1     ApexClass  force-app\main\default\classes\Hello1.cls
Hello1     ApexClass  force-app\main\default\classes\Hello1.cls-meta.xml

SalesforceXyTools Support SFDX develop

Document

Know more sfdx command.
The office document about

Salesforce CLI Command Reference

Salesforce CLI.

sfdx base command

List

1
2
sfdx force:alias:list
sfdx force:org:list

SFDX: Create Project with Manifest

1
sfdx force:project:create -n ProjectName

SFDX: Authorize an Org

1
sfdx force:auth:web:login --setalias MyDevOrg --setdefaultusername

SFDX: Retrieve Source from Org

1
2
sfdx force:source:retrieve --manifest ./manifest/package.xml
sfdx force:source:retrieve --metadata "ApexClass, ApexPage, ApexComponent, ApexTrigger, LightningComponentBundle, AuraDefinitionBundle, CustomObject"

SFDC: Deploy Source to Org

1
2
sfdx force:source:deploy --json --loglevel fatal --sourcepath ./force-app/main/default/classes/APEX_NAME.cls
sfdx force:source:deploy -p ./force-app/main/src
向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

泰和县| 丽水市| 定结县| 双城市| 恩施市| 濮阳市| 思南县| 拉萨市| 柳江县| 巴东县| 基隆市| 元阳县| 宝丰县| 苗栗市| 开江县| 祁门县| 西城区| 剑河县| 邹城市| 巩义市| 吉首市| 白银市| 九江县| 田阳县| 台北市| 台安县| 利辛县| 周宁县| 镇巴县| 嵩明县| 嘉峪关市| 迁西县| 安义县| 泗洪县| 双峰县| 福州市| 瑞昌市| 延长县| 九龙坡区| 漳平市| 海晏县|