SuperAPI AI Directory

epf-add-form

General & other

View repository

Updated 10-15 21:04

About this skill

/epf-add-form — Adding a form

Creates a managed form and registers it in the root XML of the data processor.

Usage

/epf-add-form <ProcessorName> <FormName> [Synonym] [--main]
Parameter Required Default Description
ProcessorName yes — Data processor name (must exist)
FormName yes — Form name
Synonym no = FormName Form synonym
--main no auto Set as the default form (automatically for the first form)
SrcDir no src Source directory

Command

powershell.exe -NoProfile -File .claude/skills/epf-add-form/scripts/add-form.ps1 -ProcessorName "<ProcessorName>" -FormName "<FormName>" [-Synonym "<Synonym>"] [-Main] [-SrcDir "<SrcDir>"]

What is created

<SrcDir>/<ProcessorName>/Forms/
├── <FormName>.xml                    # Метаданные формы (1 UUID)
└── <FormName>/
    └── Ext/
        ├── Form.xml                  # Описание формы (logform namespace)
        └── Form/
            └── Module.bsl           # BSL-модуль с 4 регионами

What is modified

  • <SrcDir>/<ProcessorName>.xml — added <Form> в ChildObjects, updated DefaultForm (automatically if this is the first form, or explicitly with --main)

Details

  • FormType: Managed
  • UsePurposes: PlatformApplication, MobilePlatformApplication
  • AutoCommandBar с id=-1
  • Attribute "Object" with MainAttribute=true
  • The BSL module contains 5 regions: FormEventHandlers, FormItemEventHandlers, FormCommandHandlers, NotificationHandlers, ServiceProceduresAndFunctions