Adds built-in help to an object: metadata file Help.xml, an HTML page, and, if necessary, updates the form metadata.
Usage
/help-add <ObjectName> [Lang] [SrcDir]
| Parameter | Required | Default | Description |
|---|---|---|---|
| ObjectName | yes | — | Object path relative to SrcDir (for example Catalogs/МойСправочник, DataProcessors/МояОбработка) |
| Lang | no | ru |
Help language code |
| SrcDir | no | src |
Source directory |
Command
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/add-help.ps1" -ObjectName "<ObjectName>" [-Lang "<Lang>"] [-SrcDir "<SrcDir>"]
What the script does
- Creates
Ext/Help.xmlиExt/Help/ru.html— help template - If the object has forms — adds
<IncludeHelpInContents>to the form metadata (if missing) - Help is not registered в
ChildObjects— the presence of files is sufficient
After running
Edit Ext/Help/ru.html — fill it with the help content (standard HTML: <h1>..<h4>, <p>, <ul>, <table> etc.). The help button will appear automatically via Autofill in the form's AutoCommandBar.