--- title: "Adding dox42 buttons to lists via Ribbon Workbench" slug: "adding-dox42-buttons-to-lists-via-ribbon-workbench" tags: ["d365CECRM", "task", "CE V5.0"] updated: 2025-05-12T07:59:10Z published: 2025-06-26T09:23:23Z canonical: "help.dox42.com/adding-dox42-buttons-to-lists-via-ribbon-workbench" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.dox42.com/llms.txt > Use this file to discover all available pages before exploring further. # Adding dox42 buttons to lists via Ribbon Workbench Adding dox42 buttons to lists, allows you to select one or several items for your document generation.This is useful, if you want to use dox42's bulk letter functionality. In the examples below you will add a separate button for each document template you want to call. ## Steps 1. In your document template use the input parameter **RequestBody** instead of **Id**. 2. Add a JSON data source to your template. You can find a sample template in the `CRM_ProductList_JSON_sampletemplate` folder of your download package. 3. In your [dox42 template configuration](/v1/docs/adding-dox42-template-configurations-to-microsoft-dynamics-crm-or-d365-ce) select **Auto** or **POST** from the **Http Method** menu. 4. In Ribbon Workbench, place the button on the **homepageGrid.MainTab** of your entity (the top ribbon displayed in your Ribbon Workbench set-up). 5. If you insert the button to a Classic UI CRM environment, follow the instructions on [Adding a button to your entity forms, grids and subgrids via Ribbon Workbench](/v1/docs/adding-a-button-to-your-entity-forms-grids-and-subgrids-via-ribbon-workbench). 6. If you insert the button to a Unified UI CRM environment, add a **Display enable rule** (SelectionCountRule with a Minimum of 1) to your button command. This will have the effect that your button in Unified UI environment will be shown as soon as you select at least one item. ![JavaScript actions and parameters for product list management in a web application.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365_button_in_list_in_ribbon_command.png) New rule for button command ![Configuration settings for enabling rules with selection count parameters displayed.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365_button_in_list_in_ribbon_command_rule.png) Details of new SelectionCountRule 7. Select the **Publish** button. Ribbon Workbench is publishing the new button, which can take a while. ## Result Your new dox42 button is displayed in the ribbon of your selected form. ![Product list in Dynamics 365 showing various office furniture items and their IDs.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365_button_in_list_in_ribbon.png) Added **Product List** button in ribbon