epf-bsp-add-command

Adds a command and handler to a BSP external processing registration function.

1|2|Updated Jul 19, 2026
One-click install
npx skills add https://github.com/IngvarConsulting/unica-marketplace --skill epf-bsp-add-command-ingvarconsulting
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: epf-bsp-add-command
Source: https://github.com/IngvarConsulting/unica-marketplace/tree/main/plugins/unica/skills/epf-bsp-add-command
Command: npx skills add https://github.com/IngvarConsulting/unica-marketplace --skill epf-bsp-add-command-ingvarconsulting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Registering a new command in a 1C:Enterprise BSP external processing requires editing the СведенияОВнешнейОбработке function and writing matching client or server handlers by hand, which is repetitive and error-prone. This Skill inserts the command registration block and generates the correct handler template automatically. ## Core Features & Use Cases - Command Registration: Inserts a НоваяКоманда block into СведенияОВнешнейОбработке with the correct ТипКоманды based on free-form user input or the processing kind. - Handler Generation: Creates or extends ВыполнитьКоманду and Печать procedures in the object module or form module, adding ИначеЕсли branches instead of duplicating existing procedures. - Use Case: A developer needs to add a server-side command "Заказ покупателя" to an existing BSP processing; the Skill detects the processing kind, registers the command with ТипКомандыВызовСерверногоМетода, and appends a handler branch to the existing ВыполнитьКоманду procedure. ## Quick Start Ask the assistant to add a command named ЗаказПокупателя with server-side execution to the processing МояОбработка using the epf-bsp-add-command skill.

Frequently Asked Questions about epf-bsp-add-command

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a command to a BSP external processing in 1C?▼

Add a НоваяКоманда block to ПараметрыРегистрации.Команды inside СведенияОВнешнейОбработке, setting Представление, Идентификатор, and Использование. Then implement a ВыполнитьКоманду or Печать handler matching the command type.

How to register a print form command in BSP дополнительные обработки?▼

Set the command type to ТипКомандыВызовСерверногоМетода and add Модификатор = "ПечатьMXL". Implement the Печать procedure that fills КоллекцияПечатныхФорм via УправлениеПечатью.СведенияОПечатнойФорме with a generated ТабличныйДокумент.

What command types does BSP СведенияОВнешнейОбработке support?▼

BSP supports opening a form, calling a client method, calling a server method, filling a form, and running a scenario in safe mode. The default type depends on the processing kind, such as server method for ЗаполнениеОбъекта and form opening for ДополнительныйОтчет.

Can I add a command if ВыполнитьКоманду already exists in the module?▼

Yes. Instead of creating a duplicate procedure, add an ИначеЕсли branch checking ИдентификаторКоманды against the new command identifier inside the existing ВыполнитьКоманду procedure.

What is required before adding a BSP command to a processing?▼

The processing must already contain a СведенияОВнешнейОбработке function, typically created by an initialization step such as epf-bsp-init. Without it, the command registration block has no ПараметрыРегистрации structure to attach to.