From 0911035b34aff599b38bc3ff56ac5c52a1869c50 Mon Sep 17 00:00:00 2001 From: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> Date: Fri, 6 Feb 2026 15:24:22 -0800 Subject: [PATCH 1/3] Add isPreviewCommand to command state --- src/ditamap/command.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ditamap/command.ts b/src/ditamap/command.ts index 2427ccb4..df055df5 100644 --- a/src/ditamap/command.ts +++ b/src/ditamap/command.ts @@ -119,6 +119,7 @@ export class Command extends Ditamap { examples, help, isBetaCommand: state === 'beta', + isPreviewCommand: state === 'preview', isClosedPilotCommand: state === 'closedPilot', isOpenPilotCommand: state === 'openPilot', trailblazerCommunityName, From 126c633bbe41fb8edd564a7d80b53263c0ec11e7 Mon Sep 17 00:00:00 2001 From: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> Date: Fri, 6 Feb 2026 15:25:47 -0800 Subject: [PATCH 2/3] fix: support dev preview commands --- src/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils.ts b/src/utils.ts index 48bec00c..93e52463 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -113,6 +113,7 @@ export type CommandData = { isClosedPilotCommand: boolean; isOpenPilotCommand: boolean; isBetaCommand: boolean; + isPreviewCommand: boolean; deprecated: boolean; trailblazerCommunityUrl?: string; trailblazerCommunityName?: string; From 3da9c85562029cfddf0495e551b908605dee8d51 Mon Sep 17 00:00:00 2001 From: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com> Date: Fri, 6 Feb 2026 15:28:11 -0800 Subject: [PATCH 3/3] Update command title for Developer Preview status --- templates/command.hbs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/command.hbs b/templates/command.hbs index c299a381..76015340 100644 --- a/templates/command.hbs +++ b/templates/command.hbs @@ -9,7 +9,7 @@ IF YOU WANT TO CHANGE THIS CONTENT, CONTACT juliet.shackell@salesforce.com FOR D --> {{!--Not all commands have a minor noun; some are just commandmajornoun:commandverb. This is a sample topic for a commmand with no minor noun.--}} - <codeph otherprops="nolang">{{name}}</codeph>{{#if isClosedPilotCommand}} (Pilot){{/if}}{{#if isOpenPilotCommand}} (Pilot){{/if}}{{#if isBetaCommand}} (Beta){{/if}}{{#if deprecated}} (Deprecated){{/if}} + <codeph otherprops="nolang">{{name}}</codeph>{{#if isPreviewCommand}} (Developer Preview){{/if}}{{#if isClosedPilotCommand}} (Pilot){{/if}}{{#if isOpenPilotCommand}} (Pilot){{/if}}{{#if isBetaCommand}} (Beta){{/if}}{{#if deprecated}} (Deprecated){{/if}} {{#if deprecated}}The command {{name}} has been deprecated{{#if deprecationOptions.version}} and will be removed in v{{deprecationOptions.version}} or later{{/if}}. {{#if deprecated.to}} Use {{deprecated.to}} instead. {{/if}} {{/if}}{{summary}} @@ -48,6 +48,9 @@ IF YOU WANT TO CHANGE THIS CONTENT, CONTACT juliet.shackell@salesforce.com FOR D {{/if}}{{#if isBetaCommand}}
This feature is a Beta Service. Customers may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms (https://www.salesforce.com/company/legal/agreements/). +
{{/if}}{{#if isPreviewCommand}} +
+ This command is available as a developer preview. The command isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Don't implement functionality developed with these commands or tools.
{{/if}} {{#if help}}