# Grid - Mass Edit Button

As a Salesforce admin, you can configure a Mass Edit button.  GridMate provides a component to convert any list view to [GM - ListView Grid](/package-reference/components-library/gm-listview-grid.md) on the fly. In the steps below we will configure such action on the **Account** object.

## Mass Edit Button Setup

To trigger the Mass Edit, we have to configure a link on the Account object. The display type should be List Button without checkboxes.&#x20;

![Mass edit configuration](/files/-MGKOwlp6FOOVkkxzeJI)

```http
/lightning/cmp/gmpkg__MassEditListViewComponent?c__object=Account&c__attributes=%7B%22canCreate%22%3A+false%2C%22canClone%22%3A+false%7D
```

{% hint style="info" %}
Mass Edit can be enabled on any object by duplicating the link below and changing the **c\_\_object** parameter and **c\_attributes** if necessary.&#x20;

**c\_\_attributes** is an HTML encoded JSON to control the behavior of the grid. All the attributes are described [here](/package-reference/components-library/gm-listview-grid.md).

To encode a JSON, you can use your own tool or an online [website](https://www.url-encode-decode.com/).&#x20;
{% endhint %}

## List View Actions Setup

The link should be added to the list of actions on a ListView. All the steps are described :point\_right: [here](https://help.salesforce.com/articleView?id=mass_quick_actions_create.htm\&type=5)**.**

![List view actions setup](/files/-MGKRbs3dBAYTc7dHi-4)

## **Mass Edit In Action**

{% embed url="<https://youtu.be/JTKozLJ4d6M>" %}
Grid - Mass Edit
{% endembed %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gridmate.io/advanced-guides/mass-edit-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
