> For the complete documentation index, see [llms.txt](https://docs.mashmatrix.com/mashmatrix-sheet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mashmatrix.com/mashmatrix-sheet/functions_about_displaying_data/change_column_setting/action.md).

# Column Setting - Action

In the Action tab, you can set links (action links) in cells within a column and specify that certain actions are performed when the links are clicked.

<figure><img src="/files/WzVtQcNJiHiiJvsWOASM" alt=""><figcaption></figcaption></figure>

The following types of actions can be configured:

* Link to URL
* Open Record
* Call (Phone)
* Custom Event

### Link to URL <a href="#action-link-url" id="action-link-url"></a>

Set a link to any URL.

<figure><img src="/files/MmBJEkzqMB0FQmbXk4Qo" alt=""><figcaption></figcaption></figure>

* **\[A] URL specification method** - Select how to specify the URL that will be the link destination
  * **Direct input** - Directly specify the URL that will be the link destination
  * **Specify column** - Select a column that contains the URL value that will be the link destination
  * **Auto-detect** - Detect URL strings (those starting with http\:// and https\://) in the content and automatically set links
* **\[B] URL** - This can be entered when "Direct input" is selected as the "URL specification method". You can embed record values in the URL string by enclosing field API reference names with `${` and `}` like `${Id}`
* **\[C] Column containing URL** - This can be entered when "Specify column" is selected as the "URL specification method". The value displayed in the selected column is used as the link destination URL
* **\[D] Always display new browser tab** - When the link is clicked, display the link destination URL in a new browser tab

### Open Record <a href="#action-open-record" id="action-open-record"></a>

Open the record detail page for the specified record ID.

<figure><img src="/files/EwgoAEqU6J7Ci8aPMoYH" alt=""><figcaption></figcaption></figure>

* **\[A] Record ID specification method** - Select how to specify the record ID of the record to be opened
  * **Specify field** - Select a field that contains the record ID of the record to be opened
  * **Specify column** - Select a column that contains the record ID of the record to be opened
* **\[B] Field for record ID** - This can be entered when "Specify field" is selected as the "Record ID specification method". Select a field from the sheet's main object that will be the record ID.
* **\[C] Column for record ID** - This can be entered when "Specify column" is selected as the "Record ID specification method". The value displayed in the selected column is used as the record ID.
* **\[D] Display mode** - Select how to display the record
  * **View** - Display the record detail screen
  * **Edit** - Display the record edit screen. In Lightning Experience, the edit screen is displayed in a popup dialog

### Call (Phone) <a href="#action-phone-call" id="action-phone-call"></a>

Make a phone call to the specified phone number via Open CTI.

<figure><img src="/files/RaovxlrYLSo04lswU3M4" alt=""><figcaption></figcaption></figure>

* **\[A] Phone number specification method** - Select how to specify the phone number to call
  * **Specify field** - Select a field that contains the phone number to call
  * **Specify column** - Select a column that contains the phone number to call
* **\[B] Field for phone number** - This can be entered when "Specify field" is selected as the "Phone number specification method". Select a field from the sheet's main object that will be the phone number.
* **\[C] Column for phone number** - This can be entered when "Specify column" is selected as the "Phone number specification method". The value displayed in the selected column is used as the phone number.

{% hint style="info" %}
To make phone calls with the "Call (Phone)" action link, Salesforce must have call center settings compatible with Open CTI configured, and the logged-in user must be added as a call center user. Additionally, the softphone must be placed in the utility bar in Lightning applications that include Mashmatrix Sheet tabs or Sheet components.
{% endhint %}

### Custom Event <a href="#action-custom-event" id="action-custom-event"></a>

Fire custom events that can be captured by the Message Channel API. For details on Message Channel API and custom events, refer to "[Developing Apps using Message Channel API](/mashmatrix-sheet/customization/developing_apps_using_message_channel_api.md)".

<figure><img src="/files/dom1QyO8KAvEwrSScNAS" alt=""><figcaption></figcaption></figure>

**\[A] Event name** - Set an event name that can be identified by Message Channel API subscribers
