> For the complete documentation index, see [llms.txt](https://windows.help.formit.autodesk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://windows.help.formit.autodesk.com/ru/plugins/how-to-develop-plugins/advanced-development/general-plugin-setup-in-the-manifest.md).

# Общая настройка подключаемого модуля в файле манифеста

Подключаемые модули FormIt состоят из базового компонента: файла *manifest.json*.

Файл манифеста — это [объект JSON](http://www.json.org), который сообщает инфраструктуре FormIt, какие файлы нужно извлечь, и какой тип подключаемого модуля следует создать.

### Структура и свойства файла manifest.json

Файл manifest.json имеет следующую структуру. Он также имеет дополнительные свойства в зависимости от того, является ли он подключаемым модулем [панели инструментов](/ru/plugins/how-to-develop-plugins/additional-development-options/creating-a-toolbar-based-plugin.md) или [панели HTML](/ru/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 представляет имя подключаемого модуля для внутренних целей и большинства задач отображения, включая [Диспетчер подключаемых модулей](/ru/plugins/how-to-use-plug-ins.md#plugin-manager).
* PluginType представляет тип подключаемого модуля. Благодаря этому свойству пользователи, просматривающие описание в [Диспетчере подключаемых модулей](/ru/plugins/how-to-use-plug-ins.md#plugin-manager), могут узнать, на что следует обратить внимание при установке подключаемого модуля.
* PluginDescription отображается в [Диспетчере подключаемых модулей](/ru/plugins/how-to-use-plug-ins.md#plugin-manager) и содержит сведения о возможностях подключаемого модуля.
* Scripts перечисляет необходимые внешние сценарии, связанные с подключаемым модулем, которые будут загружаться в приложение FormIt и могут выполняться при вызове функций подключаемого модуля.

![](/files/VPhC4YJWfSxGFLudiOMi)

Чтобы начать разработку подключаемого модуля, создайте файл manifest.json в папке подключаемого модуля. Далее необходимо решить, какой из подключаемых модулей вы создаете: модуль панели инструментов или модуль панели HTML.

![](/files/LJDSv63PkHblIkjhKwSB)

**Примечание.** Параметр PLUGINLOCATION в файле manifest.json имеет важное значение и чувствителен к регистру. FormIt заменяет PLUGINLOCATION на местоположение сервера для подключаемого модуля.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
