0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Salesforce Code Builderのエラーなど

Last updated at Posted at 2025-03-20

Code Builder can only be run from a production org, once you're in Code Builder, you can connect it to any org where you do development (Sandbox, scratch org, DE org, etc...).

Because Code Builder requires a user license, you must launch it from the production org. Once in Code Builder, you can connect your sandbox to work with it. Step-by-step instructions are provided on this documentation page.

Code Builder は本番組織からのみ実行できます。Code Builder を使用すると、開発を行う任意の組織 (Sandbox、スクラッチ組織、DE 組織など) にコード ビルダーを接続できます。

Code Builder にはユーザライセンスが必要なため、本番組織から起動する必要があります。 Code Builder に入ると、サンドボックスに接続して作業できるようになります。詳しい手順は、このドキュメント ページに記載されています。

Code Builder はベータ版ではなくなりました。設定方法は次のとおりです: https://developer.salesforce.com/tools/vscode/en/codebuilder/cb-setup

Code Builder は開発組織から起動することはできません。有料の Salesforce インスタンスから起動する必要があります。

コード ビルダーを使用してコードはどこに保存されますか? コードは Salesforce 組織または外部サーバーに直接保存されますか?

コード ビルダーは AWS 上の仮想インスタンスで実行されるため、コード ビルダー プロジェクトのコードはそこに保存されます。

Something to keep in mind - Code Builder does not process actual data in the user's org. It processes source code and anything in the development project directory (generally what is managed in the source repo). These files are not the data records that exist on the org; these files are generally Metadata and other development project configuration files.

注意すべき点 - Code Builder はユーザの組織内の実際のデータを処理しません。ソース コードと開発プロジェクト ディレクトリ内のあらゆるもの (通常はソース リポジトリで管理されるもの) を処理します。これらのファイルは、組織に存在するデータ レコードではありません。これらのファイルは通常、メタデータおよびその他の開発プロジェクト構成ファイルです。

To better manage the costs associated with running the Code Builder service, we have chosen to provide user licenses for Code Builder with paid Salesforce orgs. Code Builder is enabled and launched from orgs with Professional and above editions, and once in Code Builder you can connect to any orgs to do your development, including Developer Edition orgs, Sandboxes, Scratch Orgs, TH Playgrounds. We appreciate your feedback and and do use it to inform future product decisions, so thank you for sharing your thoughts.

Code Builder サービスの実行に関連するコストをより適切に管理するために、有料の Salesforce 組織で Code Builder のユーザライセンスを提供することを選択しました。Code Builder は、Professional 以降のエディションの組織から有効化されて起動され、Code Builder に入ると、Developer Edition 組織、Sandbox、Scratch Orgs、TH Playground などの任意の組織に接続して開発を行うことができます。皆様からのフィードバックに感謝し、今後の製品決定の参考にさせていただきますので、ご意見をお聞かせいただきありがとうございます。

はい、機能は同じです。主な違いは、ツールのセットアップ方法と起動方法にあります。デスクトップ用 VS Code を使用する場合は、VS Code、CLI、および SF 拡張機能をローカルにインストールする必要があります。Code Builder を使用する場合は、組織の設定で有効にし、組織から Code Builder を起動するだけで、CLI と拡張機能がプリロードされた状態でコード ビルダーが開きます。ただし、インストールして開くと、同じ機能が提供されます。

Default Org (Working Org)

When you first connect to Code Builder, select your development environment as the default org, such as a sandbox, scratch org, or Developer Edition org. You can easily change orgs by clicking on the org alias. You can see your default org alias here.

https://trailhead.salesforce.com/content/learn/modules/code-builder-quick-look/get-to-know-code-builder

初めて Code Builder に接続するときは、Sandbox、スクラッチ組織、Developer Edition 組織などの開発環境をデフォルト組織として選択します。組織のエイリアスをクリックすると、組織を簡単に変更できます。ここでデフォルトの組織エイリアスを確認できます。

image.png

This issue should be resolved now when connecting to any org running Summer ’24 Patch 17 from Code Builder.

Code Builder から Summer '24 Patch 17 を実行している組織に接続すると、この問題は解決されるはずです。

image.png

今日もう一度試してみたところ、今は問題なく動作しています。私の意見では、Code Builder にはまだ不安定な要素がいくつか隠れているようです。

I often have to load it and THEN refresh it before I actually talk to the authorized org. I've got in the habit of just loading it, doing something else and coming back.

承認された組織と実際に通信する前に、ファイルをロードして更新する必要があることがよくあります。 ただロードして別のことをして戻ってくるという習慣がついています。

未解決

image.png

Error while fetching manifest from the location 'file:///home/codebuilder/.local/share/code-server/extensions/salesforce.salesforcedx-vscode-60.11.0-universal'. Unable to read file '/home/codebuilder/.local/share/code-server/extensions/salesforce.salesforcedx-vscode-60.11.0-universal/package.json' (Unavailable (FileSystemError): Error: No file system handle registered (/home))

400 {
"error": "x-sfdc-api-version",
"message": ""
}

Based on the error, you need to launch Code Builder from a production org. Code Builder is only accessible in a production org. However, once you're in Code Builder, you can connect it to any org where you do development (Sandbox, scratch org, DE org, etc.).

エラーに基づいて、本番組織からコード ビルダーを起動する必要があります。コードビルダーは本番組織でのみアクセスできます。ただし、Code Builder を使用すると、開発を行う任意の組織 (Sandbox、スクラッチ組織、DE 組織など) にコード ビルダーを接続できます。

This content is blocked. Contact the site owner to fix the issue.

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?