---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Now Assist context menu component setup

# Now Assist context menu component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 8 minutes to read  
The Now Assist context menu (NAcm) component is a
configurable
UIB component used to implement Now Assist context menu in your application. Use NAcm with active skills, available NAcm configurations, or custom NAcm configurations to configure Now
Assist actions.

## Before you begin

This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see [Customize UI Builder pages using components](https://www.servicenow.com/docs/YMtTz79hYjmj5_kMcObIuA "Learn what a component is in UI Builder. Also, see how components work within UI Builder.").  
Note:  
This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.

Role required: workspace_admin or ui_builder_admin

## Procedure

1. Define a label for NAcm that differentiates it from other components in the content tree.  
   A descriptive label makes finding the component easier in a large list of components. For instructions on using the content tree, see [Manage UI pages and page variants](https://www.servicenow.com/docs/Hq7OFdFRjvDFnNsfdtsMGw "Learn what a page is in UI Builder. Understand the building blocks of a UI Builder page, such as column layouts and components.") .
2. Select the NAcm component using one of these methods:
   * Click anywhere within the component on the page.
   * Select the label you created for your component in the content tree.

   {#nacm-component-uib-setup__choices_pk1_glp_y2c}  
   The configuration options appear in the panel on the right.  
{#nacm-component-uib-setup__steps_ok1_glp_y2c}

## Now Assist context
menu
component properties {#ariaid-title2}

Configure the context menu type, actions, skills, trigger properties, recommendation dialog properties, target record table ID, record ID, granular feedback properties, and payload in the NAcm component with these
properties.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.

* Data binding: Enables you to create dynamic property values derived from multiple sources, such as state variables (@state) in the page, URL variables (@context), or payloads from a data resource (@data). For details, see [Add and configure data resources to a
  page](https://www.servicenow.com/docs/~B53KgSqh6jyRj9wmzg8LA "Add data resources to dynamically expose data from tables, records, or other elements on your page in UI Builder.") .
* Scripting: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://www.servicenow.com/docs/JxkxcsWDJlkywLr4rc~p8A "Create and bind a client state parameter value to a component in UI Builder. By adding custom values to your components, these components can then be automatically updated through a script.") .

{#nacm-config-properties__choices_azy_pnp_y2c}{#nacm-config-properties__table-uib-prop-labels__entry__2}

| Label \[property\] | Description |
|-|-|
| Record table \[documentTableName\] | The table containing the target records on which to apply the Now Assist actions. For example, if using the NAcm component to summarize an incident, then configure this property with the sys_id of the incident table. |
| Record ID \[documentSysId\] | The ID of the record to read from the record table. Use dynamic binding to configure this property. For example, if using the NAcm component to summarize an incident, then configure this property to link to the incident sys_id column in the incident table. |
| Variant \[variant\] | The type of NAcm component. The NAcm component's variant depends on the intended use case and the contextual information that the component must use to generate an output. Options: * Fixed: Places the component as a fixed element (summary card) in the page. This variant is suitable when using data from multiple sources. For example, case summarization. * Draggable: Places the component as a traveling icon which opens a draggable recommendation dialog (modeless dialog) when triggered. This variant is suitable when using data from a single element. For example, email composition. {#nacm-config-properties__ul_brn_2rr_y2c} Default: Draggable |
| Component ID \[componentKey\] | Unique identifier for the component. Use alphanumeric values without special characters. |
| Skill ID \[skillId\] | The skill ID to use in the NAcm configuration. Verify that you activate the skills in **Admin Center \> Now Assist Admin \> Now Assist Experiences \> Now Assist context menu \> Available** before using the skill ID in NAcm. For more information about skills, see [Generative AI skills](https://www.servicenow.com/docs/access?context=now-assist-skills&version=brazil&pubname=brazil-intelligent-experiences&ft:locale=en-US). Note: Skill ID, Configuration ID, and NAcm configuration correspond to Now Assist actions. Configure only one of these properties |
| Configuration ID \[nacmConfig\] | List of available NAcm configurations. These configurations are made available based on the plugins you use. Note: Skill ID, Configuration ID, and NAcm configuration correspond to Now Assist actions. Configure only one of these properties |
| NAcm configuration \[adminConfig\] | Configuration of the NAcm actions as a JSON object. Use this property to define a different NAcm configuration than those available in existing NAcm configurations or skills. Note: Skill ID, Configuration ID, and NAcm configuration correspond to Now Assist actions. Configure only one of these properties Default: `{}` |
| AMB channel \[ambChannelName\] | Name of the Asynchronous Message Bus (AMB) channel for the component to use. Don't add any special characters such as `'@' ',' '/'` in the channel name. |
| Caller type \[caller\] | Specifies whether the component is being configured for mobile-based applications, UI16, or a workspace. The configuration here doesn't affect how the component functions but is used for tracking analytics and other logics. Options: * Mobile * UI16 * Workspace {#nacm-config-properties__ul_jkg_msr_y2c} Default: Workspace |
| Trigger properties \[buttonProps\] | Configuration of the preset menu trigger button's properties as a JSON object. The following list describes the button object's properties: * `size`: The size of the button to use. Available configurations are: `sm` (small), `md` (medium), and `lg` (large). * `variant`: The type of the button to use. Available configurations are: `primary`, `secondary`, and `tertiary`. * `label`: The label for the button. * `icon`: The icon to show in the button. * `tooltipContent`: The tooltip content to show for the button. * `isCaretForDropdown`: To show the Now Assist icon, set to true. * `strictlyUseDefaultPresetAction`: To use the preset trigger as a button regardless of `selectedText` configuration, set to true. To use the preset trigger as a drop-down, set to false. This property requires the `defaultPresetAction` property. * `hideButtonOnDialog`: To hide the button when the dialog appears, set to true. * `isFullWidthButton`: To let the button occupy the full width of the container, set to true. * `hasShadow`: To remove the shadow around the button in the fixed variant, set to true. {#nacm-config-properties__ul_b2q_qsr_y2c} Default: { "size": "sm", "variant": "secondary", "label": "", "icon": "ai-sparkle-outline", "tooltipContent": "Test Tooltip", "isCaretForDropdown": false, "strictlyUseDefaultPresetAction": false, "hideButtonOnDialog": true, } |
| Recommendation dialog properties \[recommendationDialogProps\] | Configuration of the recommendation dialog's properties as a JSON object. The following list describes the recommendation dialog properties: * `footerLabel`: Footer label for the recommendation dialog. * `offsetLeft`: The left offset for the dialog in the initial render as a percentage. * `offsetTop`: The top offset for the dialog in the initial render as a percentage. * `height`: The height of the dialog in pixels. Height should be at least 160. If configured less than 160, the component uses a height of 160. * `width`: The width of the dialog in pixels. Width should be at least 320. If configured less than 320, the component uses a width of 320. * `insertButtonLabel`: The label for the insert button in the dialog. * `refineCount`: The maximum number of refinements allowed in a single flow. * \> 0, the component allows only the configured number of refinements. * \< 0, the component allows infinite refinements. * 0, the component shows a disabled Refine button with a warning in the footer. * If configured as a non-numeric value, the component defaults to allowing infinite refinements. {#nacm-config-properties__ul_yw2_vtr_y2c} * `hideInsertButton`: To hide the insert button, set to true. * `isDialogHoisted`: To hoist the dialog, set to true. * `fixedVariantInitialLineCount`: The maximum number of lines shown in the component's fixed variant when the component loads. * `fixedVariantShowMoreLineCount`: The maximum number of additional lines shown in the component's fixed variant when the Show more button is selected. * `additionalInfoTip`: The tooltip text to render when the info icon is selected or hovered on. * `headerInitialLabel`: Recommendation dialog's header label when the component loads. * `headerLoadingLabel`: Recommendation dialog's header label when the component is loading. * `headerLoadedLabel`: Recommendation dialog's header label when the component has loaded. {#nacm-config-properties__ul_ic5_jtr_y2c} Default: { "footerLabel": "Check AI-generated content for accuracy.", "offsetLeft": 10, "offsetTop": 10, "height": 400, "width": 600, "insertButtonLabel": "Insert", "refineCount": "1", "hideInsertButton": false, "isDialogHoisted": true, "additionalInfoTooltip": "AI generates text by using relevant context. Be sure to check for accuracy." } |
| Granular feedback properties \[feedbackConfig\] | Configuration of the feedback properties as a JSON object. The following list shows the supported properties: * Positive feedback * Heading * Items {#nacm-config-properties__ul_fbt_q5r_y2c} * Negative feedback * Heading * Items {#nacm-config-properties__ul_vjf_r5r_y2c} {#nacm-config-properties__ul_c1l_p5r_y2c} Default: `{}` |
| Selected text \[selectedText\] | Required when implementing text-based Now Assist actions like elaborate, shorten, and so on Configuration to identify when a user selects text for the Now Assist actions. |
| Timeout error message \[timeoutErrorMessage\] | Timeout error message text to show. The component uses a default error message if this isn't configured. |
| Draft text \[draftedText\] | Required when implementing text-based Now Assist actions like elaborate or shorten. Configuration to identify the text block in which to perform the Now Assist actions. The common out of the box actions rely on selected text. So, if selected text is missing, NAcm uses drafted text. |
| Payload \[payload\] | JSON object with the configuration of a custom payload to pass to the component. This payload is also sent as a parameter in the Now Assist action when it's invoked. Default: `{}` |
| Disable skeleton \[renderDisabledSkeleton\] | To render a disabled skeleton to avoid layout shift, set to true. Otherwise, the component renders when the configurations are ready. Default: false |
[Table 1. Property descriptions]

{#nacm-config-properties__table-uib-prop-labels}

## Now Assist context menu component events {#ariaid-title3}

Select event handlers to configure the action (event) provided with the NAcm component.
The Events tab shows the events used by the NAcm component. To view the available events, select + Add event mapping. Select the event in the list to add one or more event handlers.

### Event handlers {#nacm-config-events__uib-events-sect-ek4_wnp_y2c}

Event handlers work with data resources to link the NAcm actions to the data you want to display to your users. Select the event in the list to add one or more event handlers. {#nacm-config-events__uib-event-handlers}

For instructions on adding event handlers to an event, see [Configure an event handler](https://www.servicenow.com/docs/8s23OEG1s5oowl~vaOUlLw "Add an event handler to a page, component, data resource, or declarative action within UI Builder so that your user can trigger an action.").

### Event descriptions {#nacm-config-events__uib-events-sect-fk4_wnp_y2c}

{#nacm-config-events__table_z3k_pgw_c5b__entry__2}

| Event | Description |
|-|-|
| Call to action selected SN_NACM#CTA_CLICKED | Dispatched when the user selects the call-to-action (CTA) button. |
| Component Rendered SN_NACM#COMPONENT_DOM_RENDERED | Dispatched when the component loads. This event signals the correct configuration of NAcm. |
| Feedback submitted SN_NACM#FEEDBACK_SUBMITTED | Dispatched when the user selects the feedback button. |
| Insert button clicked SN_NACM#INSERT_RECOMMENDATION_CLICKED | Dispatched when the user selects the insert button. |
| Menu action selected SN_NACM#MENU_ACTION_CLICKED | Dispatched when the user selects a menu item. |
| Modeless dialog closed SN_NACM#RECOMMENDATION_DIALOG_CLOSED | Dispatched when the user closes the recommendation modeless-dialog. |
| Received updates on Record Watcher SN_NACM#RW_MESSAGE_RECEIVED | Dispatched when the record ID changes. |
| Refine action selected SN_NACM#REFINE_ACTION_CLICKED | Dispatched when the user selects the refine menu item. |
[ ]

{#nacm-config-events__table_z3k_pgw_c5b}

