0
1

SalesForce の開発環境の準備

Posted at

勉強のために、salesforceの環境をつくる。
作り方はTrailheadに従う。

開発環境を用意するにはユーザ登録が必要。
サインアップすると環境作成に大体10分後ぐらいかかるので待機。
https://developer.salesforce.com/signup

LWCの動作検証をしたいので、Visual Studio Codeをインストールし、拡張機能をインストールしてSalesForce環境をつなげる。

Visual Studio Code の設定
https://trailhead.salesforce.com/ja/content/learn/projects/quick-start-lightning-web-components/set-up-visual-studio-code

trailheadの通り、LWCコンポーネントを作成しデプロイを行う。
デプロイしたら適当なページと紐づけて、ブラウザからみれるか確認を行う。

Hello World Lightning Web コンポーネントの作成
https://trailhead.salesforce.com/ja/content/learn/projects/quick-start-lightning-web-components/create-a-hello-world-lightning-web-component

ちなみにアプリケーションを新規で作成する場合は次の手順となる。
細かいところはtrailheadでの内容と同じ。アプリケーションの作成や設定は実務でもあまりやらないので結構忘れる。

・SFにログイン
・設定 -> アプリケーション -> アプリケーションマネージャ -> 新規Lightningアプリケーション -> 諸々の設定
・作成したアプリケーションを編集 -> ページ -> 新規ページ -> 諸々の設定

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1