# Manifest での一般的なプラグインの設定

FormIt プラグインは、*manifest.json* ファイルと呼ばれる主要なコア コンポーネントで構成されています。

manifest ファイルは [JSON オブジェクト](http://www.json.org)であり、取得するファイルと作成するプラグインの種類を FormIt のインフラストラクチャに伝えます。

### manifest.json の構造とプロパティ

manifest.json ファイルの構造は次のとおりです。追加のプロパティは、[ツールバーベース](/ja/plugins/how-to-develop-plugins/additional-development-options/creating-a-toolbar-based-plugin.md)のプラグインか [HTML パネルベース](/ja/plugins/how-to-develop-plugins/additional-development-options/creating-an-html-panel-plugin.md)のプラグインかによって異なります。

```
{
    "PluginName": "[PluginName]",
    "PluginType": "[PluginType]"
    "PluginDescription": "[PluginDescription]",
    "Scripts": [
        "PLUGINLOCATION/[script1].js",
        "PLUGINLOCATION/[script2].js",
        ...
        "PLUGINLOCATION/[scriptn].js"
    ]
}               
```

一般的なプラグインには、次の JSON プロパティが含まれています。

* 「PluginName」は、[Plugin Manager](/ja/plugins/how-to-use-plug-ins.md#plugin-manager) を含め、内部および多くは表示目的でプラグインの名前を表します。
* 「PluginType」はプラグインの種類を表し、[Plugin Manager](/ja/plugins/how-to-use-plug-ins.md#plugin-manager) の説明に表示されるため、プラグインのインストール時に探すべきプラグインがわかります。
* 「PluginDescription」は [Plugin Manager](/ja/plugins/how-to-use-plug-ins.md#plugin-manager) に表示され、プラグインの機能を伝えます。
* 「Scripts」には、プラグインとの関連付けが必要な外部スクリプトが一覧表示されます。これらのスクリプトは、FormIt アプリケーションにロードされ、プラグイン機能が呼び出されたときに実行されます。

![](/files/Ri4LnogxPezy86g4od2w)

プラグインの開発を開始するには、プラグイン フォルダ内に manifest.json ファイルを作成します。次に、作成するプラグインがツールバーベースかパネルベースかを決定する必要があります。

![](/files/XZUjB0hGZlzYYGbPfCwP)

**注:** 上記の manifest.json ファイル全体で PLUGINLOCATION を必ず使用します。PLUGINLOCATION は大文字と小文字を区別します。FormIt は PLUGINLOCATION をそのプラグインのサーバの場所に置き換えます。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://windows.help.formit.autodesk.com/ja/plugins/how-to-develop-plugins/advanced-development/general-plugin-setup-in-the-manifest.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
