Now Assist context menu variable set configuration

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 7 Minuten Lesedauer
  • Change different settings related to Now Assist context menu by changing values for the Now Assist context menu skill variable set.

    The Now Assist context menu configuration variable set includes the following variables:

    Config Field Description
    documentTableName Name of table for fetching the wwna actions configured in the wwna_quick_actions table.

    Required: true

    Default value: ''

    variant Choice of variant to render the component For the fixed variant the width of the component will occupy the container width.Required: false

    Default value: 'draggable'

    Choices: 'draggable'|'fixed'

    documentSysId Record sysId present in the table configured through documentTableName property

    Required: true

    Default value: ''

    componentKey Unique identifier for the component. Can be a alphanumeric key, without special characters.

    Required: true

    Default value: ''

    skillId Skill Id for the now assist skill config applicability record. Not needed when the skillConfigSysId or nacmConfig object is provided.

    Required: false (Either skillId or skillConfigSysId or the nacmConfig is required)

    Default value: ''

    skillConfigSysId Skill Config Sys Id for the now assist skill configuration record. Not needed when the skillId or nacmConfig object is provided.

    Required: false (Either skillId or skillConfigSysId or the nacmConfig is required)

    Default value: ''

    adminConfig NACM Config record for the component. This record should be fetched by the wwna api.

    API path: /api/sn_wwna/wwna/skill_config.

    The component will rely on the config object first, if not provided the component will use the skillConfigSysId provided to fetch the configurations if skillConfigSysId is missing then it will use the skillId provided to fetch the configurations and decide whether to render it or not.

    Required: false ** (Either skillId or skillConfigSysId or the nacmConfig is required)

    Default value: {}

    ambChannelName Name of amb channel to be used by the component. The component will prefix /wwna/ itself. Please make sure that you don't add any special characters such as '@' ',' '/' in the channel name. If not provided the component name will become ${documentTableName}-${documentSysId}-${wwnaComponentId}-${user_sys_id}-${caller}

    Required: false

    Default value: ''

    caller String type attribute to track if caller is Mobile, UI16 or Next Experience for analytics and other logics.

    Required: truePossible values: "mobile"|"ui16"|"workspace"

    Default value: "workspace"

    payload Custom Payload that can be passed to the component, it will also be sent in as a parameter in the wwna action when it is invoked.

    Required: false

    Default value: {}

    draftedText Drafted text for the common actions to add context.The common OOB actions rely on selected text as well. So, if selected text is missing, the drafted text becomes slectect text as well.

    Required: true

    Default value: ''

    selectedText Selected text to be processed by the common actions. For more details please consider strictlyUseDefaultPresetAction property inside buttonProps as well.

    Required: true

    Default value: ''

    additionalConfig additional config that hosts function like preInvokeActionHandler function that will be called by NACM before invoking an action.NACM waits for this async call to finish and takes the new payload to invoke the action. This could be used in scenarios where consumer of NACM want to autogrow their selection before invoking an action.for e.g: RephraseAll quick action when clicked can allow parent consumers of NACM to autogrow the selected text to whole content inside a field so that wholeContent is taken as selectedText to invoke the action rephraseAll
    renderDisabledSkeleton Boolean flag to let you render the disabled skeleton to avoid the layout shift.

    Required: false

    Default value: 'false'

    feedbackProps

    Object providing different configurations for granular feedback.

    Required: false

    Default value: {}

    Trigger Properties (triggerProps)
    size Controls the size of the button.

    Default value: 'md'

    variant Controls the type of the button.

    Default value: 'secondary'

    label Controls the label to be shown in the button.

    Default value: ''

    icon Controls the icon to be shown in the button.

    Default value: 'ai-sparkle-outline'

    tooltipContent Controls the tool-tip content to be shown for the button.

    Default value: ''

    isCaretForDropdown If marked as true shows the caret icon on the right side of the button.

    Default value: false

    useDefaultAction useDefaultAction is true and defaultAction is provided -> menu trigger will always behave as a button. useDefaultAction is false and defaultAction is provided along with selectedText is empty -> menu trigger will always behave as a button. useDefaultAction is false and defaultAction is provided along with selectedText is non empty -> menu trigger will always behave as a dropdown.

    Default value: false

    hideTriggerOnDialog When marked as true, the trigger will disappear when dialog appears. If marked as false, the trigger will become disabled when dialog appears.

    Default value: true

    fitToParent When marked as true, the trigger will occupy the container width. If marked as false, the trigger will take the necessary width as per the requirement.

    Default value: false

    hasShadow When marked as true, the shadow around trigger will be removed when dialog is of fixed variant.

    Default value: true

    openPromptWidth Width of the open prompt input in pixels.

    Default: 250

    openPromptInputPlaceholder Placeholder text for open prompt input box.

    Default: ""

    additionalInfoOnTrigger Additional information text on trigger.

    Default: "AI generates text by using relevant context. Be sure to check for accuracy."

    openPromptInputRows Number of rows for open prompt inputbox, The prompt input box supports a maximum of 3 rows.

    Default: 3

    openPromptAutoFocus Controls whether to auto-focus the prompt inputbox so that the suggestions are visible without clicking in the input boxes.

    Default: false

    Dialog Properties (dialogProps)
    footerLabel Footer Label for the modeless-dialog to show the recommendation.

    Default value: 'Check AI-generated content for accuracy.'

    offsetLeft Controls the Left offset for the dialog for the initial render, the value given is %age value for the dialog to render.

    Type: Number

    Default value: 40

    offsetTop Controls the Top offset for the dialog for the initial render, the value given is %age value for the dialog to render.

    Type: Number

    Default value: 60

    height Controls the height for the dialog. Value should be grater than or equal to 160.160 is the minimum height of dialogIf configured less than 160, we will use 160 as heightComponent is always resizable.

    Type: Number

    Default value: 240

    width Controls the width for the dialog. Value should be grater than or equal to 320. 320 is the minimum width of the dialog. If configured less than 320, system considers it as 320, as widthComponent is always resizable.

    Type: Number

    Default value: 540

    insertCTALabel Controls the label for the insert button in the dialog

    Type: string

    Default value: ''

    primaryCTATooltip Tooltip text for the primary CTA in the dialog Default: "Insert AI-generated content"
    refineCount Controls the no of refinements in a single flow. If configured as a numeric value > 0, the component will allow only the configured number of refinements. If configured as a numeric value < 0, the component will allow infinte number of refinements. If configured as a numeric value = 0, the component will show the disabled refine button with a warning in footer note. If configured as a non-numeric value, the component will fallback to default value and will allow infinte number of refinements.

    Type: string

    Default value: '-1'

    hideInsertCTA Controls the visibility of Insert Button in Recommednation Dialog.

    Type: boolean

    Default value: 'false'

    isHoisted Controls whether dialog should be hoisted in DOM.

    Type: boolean

    Default: true

    fixedVariantInitialLineCount Controls the maximum number of lines to be displayed in the content when dialog is of fixed variant.

    Type: Number

    Default value: 15

    fixedVariantShowMoreLineCount Controls the maximum number of lines to be added in the content when Show more button is clicked in the fixed variant dialog.

    Type: Number

    Default value: 5

    additionalInfo Controls the text which will be rendered in the popover of the info icon button in the dialog header on click.

    Type: string

    Default value: 'AI generates text by using relevant context. Be sure to check for accuracy.'

    headerInitialLabel Controls the Header Label for the Initial state of the component window in case of a fixed variant.

    Type: string

    Default value: 'Now Assist'

    headerLoadingLabel Controls the Header Labels for the Loading state of the Dialog windowType: comma (,) separated string

    Default value: 'Reviewing your request..., Checking the details..., Generating a result...'

    headerLoadedLabel Controls the Header Label for the Loaded state of the Dialog window

    Type: string

    Default value: 'Now Assist'

    enableMultipleDialogs Controls whether multiple NAcm dialogs can/will be present in the page for the draggable variant dialog.

    Type: boolean

    Default value: 'false'

    isRefreshHidden Controls whether the refresh button will be visible or hidden in NAcm dialogs for the fixed variant dialog.

    Type: boolean

    Default value: 'false'

    isRefreshDisabled Controls whether the refresh button will be disabled or enabled in NAcm dialogs for the fixed variant dialog The isRefreshHidden will take higher precedence for the refresh button controls.

    Type: boolean

    Default value: 'true'

    manageRefresh Controls the change in behavior where parent will control when to show refresh or disable it in NAcm dialogs for the fixed variant dialog.

    Type: boolean

    Default value: 'false'

    refreshSummaryHelperText Controls the helper text for the refresh summary Type

    string

    Default value: 'Refresh summary helper text'

    refreshSummaryButtonText Controls the button text for the refresh summary

    Type: string

    Default value: 'Refresh summary button text'