b2c-business-manager-extensions
БесплатноБез исполняемых скриптовНе проверенBuild Business Manager extension cartridges with custom admin tools, menu items, and dialog actions. Use this skill whenever the user needs to create bm_*…
от SalesforceCommerceCloud★ 58 звёзд на GitHubОб этом скилле
Business Manager Extensions Skill
This skill guides you through creating Business Manager (BM) extension cartridges to customize the admin interface.
Overview
BM extensions add custom functionality to Business Manager through a single bm_extensions.xml descriptor plus a controller that renders ISML pages:
| Extension Type | Purpose |
|---|---|
| Menu Items | Add a navigation section (a container in the Admin or a site's menu) |
| Menu Actions | Add a functional link/page under a menu item — wired to a controller node |
| Dialog Actions | Add buttons to existing BM pages at defined extension points |
| Form Extensions | Add fields to existing BM search forms (order/customer search) |
⚠️ Schema essentials (read first)
These are the most common mistakes. The descriptor uses the bmmodules/2007-12-11 schema (bmext.xsd), not the extensibility/* namespace.
- Namespace is
http://www.demandware.com/xml/bmmodules/2007-12-11. name,short_description, anddescriptionare child elements with a requiredxml:langattribute — NOT attributes and NOT resource keys. Localize by repeating the element per language. There is noname="..."attribute.<icon>is a plain string element holding a path (<icon>icons/q.png</icon>), NOT<icon path="..."/>.positionis ascending: lower numbers appear higher in the menu. Core BM items run 2000–12000, so custom items typically use a large number (e.g.99999) to sit at the bottom, or-1to float a "Home" action to the top.- The dialog-action extension-point attribute is
xp_ref(underscore), and dialog actions link to a menu action via a child<menuactions><menuaction-ref action-id="..."/></menuactions>element — there is nomenuaction-refattribute. - Use the file encoding
ISO-8859-1to match platform samples.
To confirm any detail against the authoritative schema:
b2c docs schema bmext
File Structure
/bm_my_extension
/cartridge
bm_extensions.xml # Extension definitions (required)
bm_my_extension.properties # Cartridge properties (required)
/controllers
MyExtension.js # Controller for menu actions
/templates
/default
/extensions
mypage.isml # Custom BM pages
/static
/default
/icons
my-icon.png # Menu icons
bm_my_extension.properties is a standard cartridge marker file:
## cartridge.properties for cartridge bm_my_extension
demandware.cartridges.bm_my_extension.multipleLanguageStorefront=true
demandware.cartridges.bm_my_extension.id=bm_my_extension
Basic bm_extensions.xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<extensions xmlns="http://www.demandware.com/xml/bmmodules/2007-12-11"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.demandware.com/xml/bmmodules/2007-12-11 bmext.xsd">
<!-- Menu Item: a container in the Administration menu (site="false") -->
<menuitem id="acme_id01" position="99999" site="false">
<name xml:lang="x-default">ACME Tools</name>
<short_description xml:lang="x-default">ACME admin tools</short_description>
<description xml:lang="x-default">Tools and utilities from the ACME team</description>
<icon>icons/acme.png</icon>
</menuitem>
<!-- Menu Action: a page under the menu item, wired to a controller node.
position="-1" floats it to the top of the section. -->
<menuaction id="acme-home" menupath="acme_id01" position="-1" site="false">
<name xml:lang="x-default">Home</name>
<short_description xml:lang="x-default">ACME Home</short_description>
<exec pipeline="ACME" node="Start"/>
<sub-pipelines>
<pipeline name="ACME-Start"/>
</sub-pipelines>
<icon>icons/acme.png</icon>
</menuaction>
</extensions>
pipeline="ACME" resolves to the controller ACME.js; node="Start" resolves to its exported Start function (which must be marked Start.public = true).
Menu Items
Top-level navigation containers. site="false" places the item in the Administration menu; site="true" (the default) places it in a site menu.
<menuitem id="acme_id01" position="99999" site="false">
<name xml:lang="x-default">ACME Tools</name>
<name xml:lang="de">ACME Werkzeuge</name>
<short_description xml:lang="x-default">ACME admin tools</short_description>
<icon>icons/acme.png</icon>
</menuitem>
| Attribute | Required | Default | Description |
|---|---|---|---|
id |
Yes | - | Unique identifier. Prefix to avoid collisions with core BM IDs. |
site |
No | true |
true = site menu, false = Administration menu |
position |
No | - | Sort order — lower = higher. U |
Установить b2c-business-manager-extensions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл b2c-business-manager-extensions?
Build Business Manager extension cartridges with custom admin tools, menu items, and dialog actions. Use this skill whenever the user needs to create bm_* cartridges, add menu actions or dialog buttons in BM, configure bm_extensions.xml, or extend admin pages with form overlays. Also use when customizing the BM interface for back-office workflows -- even if they just say 'add a button to BM' or 'custom admin page'.
Как установить скилл b2c-business-manager-extensions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл b2c-business-manager-extensions запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
gtm-enterprise-account-planning
Strategic account planning and execution for enterprise deals. Use when planning complex sales cycles, managing multiple stakeholders, applying MEDDICC…
от GitHubgtm-partnership-architecture
Build and scale partner ecosystems that drive revenue and platform adoption. Use when building partner programs from scratch, tiering partnerships, managing…
от GitHublanding-page-conversion-audit
Audit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review…
от GitHubpower-platform-architect
Use this skill when the user needs to transform business requirements, use case descriptions, or meeting transcripts into a technical Power Platform solution…
от GitHub