# Action button

- Package name: button

# Button: Token URL builder

Building link to external users

### Properties

- Type: [Action button](https://docs.tsnocode.com/books/field-type-reference/chapter/action-button)
- Groupable: No
- Show in lists: No
- Searchable: No
- Requires configuration: Yes

## <span class="mw-headline" id="bkmrk-user-interface-1">User interface</span>

<span class="mw-headline">Field in show mode</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/hYBZ7e9xyBrQ8zAG-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/hYBZ7e9xyBrQ8zAG-image.png)

Due to its nature this field has no special editing mode.

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/thLUOMOdjomndXwR-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/thLUOMOdjomndXwR-image.png)

<span class="mw-headline">\[Description of configs\]</span>

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- FeltTypeID: 710
- SQL datatype: N/A
- Class name: FieldTokenMailto

# Button: Export template

Export of data to a certain template

### Properties

- Type: [Action button](https://docs.tsnocode.com/books/field-type-reference/chapter/action-button)
- Groupable: No
- Show in lists: No
- Searchable: No

## <span class="mw-headline" id="bkmrk-user-interface-1">User interface</span>

<span class="mw-headline">Field in show mode</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/AotGKF8MeYTqdobR-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/AotGKF8MeYTqdobR-image.png)

Due to its nature this field has no special editing mode.

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

<span class="mw-headline">This field requires configuration before deployment.</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/pke5Vi0DaKlgQF7q-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/pke5Vi0DaKlgQF7q-image.png)

<span class="mw-headline">\[Description of configs\]</span>

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- FeltTypeID: 720
- SQL datatype: N/A
- Class name: FieldExportTemplate

# Button: Script execution

Execute script when clicking the button, with option to save data first.

### Properties

- Type: [Action button](https://docs.tsnocode.com/books/field-type-reference/chapter/action-button)
- Groupable: No
- Show in lists: No
- Searchable: No

## <span class="mw-headline" id="bkmrk-user-interface-1">User interface</span>

<span class="mw-headline">Field in show mode</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/wWjY6HI8mdZ95Fmt-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/wWjY6HI8mdZ95Fmt-image.png)

Due to its nature this field has no special editing mode.

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

<span class="mw-headline">This field requires configuration before deployment.</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/2yYOFHBjYV5IUKce-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/2yYOFHBjYV5IUKce-image.png)

<span class="mw-headline">Javascript: Here you write code to be executed when button is pressed.</span>

<span class="mw-headline">Submit after: Saves the record immediately after code has been run.</span>

<span class="mw-headline">Group filter: limit access to a single group.</span>

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- FeltTypeID: 730
- SQL datatype: N/A
- Class name: FieldExecuteJavaScript

# Button: Parameterized URL

Button to navigate somewhere else. Can be to an external url.

### Properties

- Type: [Action button](https://docs.tsnocode.com/books/field-type-reference/chapter/action-button)
- Groupable: No
- Show in lists: No
- Searchable: No
- Requires configuration: Yes

## <span class="mw-headline" id="bkmrk-user-interface-1">User interface</span>

<span class="mw-headline">Field in show mode</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/nrDDptPrjY1YOEG6-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/nrDDptPrjY1YOEG6-image.png)

Due to its nature this field has no special editing mode.

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/yoPVUOcXxNQjakxt-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/yoPVUOcXxNQjakxt-image.png)

<span class="mw-headline">URL template: Here you write the target url of the button link. You can use data from a field with the syntax \[\*DATA\*\]. DataID can likewise be used via \[DataID\]. It is also possible to use this field to point to some other location in the application by starting the url from "main?".</span>

<span class="mw-headline">Group filter: Contrary to what it says, you can only filter to a single group, not several.</span>

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- FeltTypeID: 740
- SQL datatype: N/A
- Class name: FieldParameterLookup

# Button: Related list search

Look-up in related list with parameter

### Properties

- Type: [Action button](https://docs.tsnocode.com/books/field-type-reference/chapter/action-button)
- Groupable: No
- Show in lists: No
- Searchable: No
- Requires configuration: Yes

## <span class="mw-headline" id="bkmrk-user-interface-1">User interface</span>

<span class="mw-headline">Field in show mode</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/4hqvPoqVhpuKlbfK-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/4hqvPoqVhpuKlbfK-image.png)

Due to its nature this field has no special editing mode.

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/OgpUiFRokO8Nmi94-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/OgpUiFRokO8Nmi94-image.png)

<span class="mw-headline">\[Description of configs\]</span>

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- FeltTypeID: 741
- SQL datatype: N/A
- Class name: FieldParameterListSearch

# Button: Grand child search

Look-up in related data (Grand children)

### Properties

- Type: [Action button](https://docs.tsnocode.com/books/field-type-reference/chapter/action-button)
- Groupable: No
- Show in lists: No
- Searchable: No

## <span class="mw-headline" id="bkmrk-user-interface-1">User interface</span>

<span class="mw-headline">Field in show mode</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/BscorcbKhhXdCabw-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/BscorcbKhhXdCabw-image.png)

Due to its nature this field has no special editing mode.

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

<span class="mw-headline">Due to its nature this field has no special editing mode.</span>

<span class="mw-headline">\[INSERT IMAGE\]</span>

<span class="mw-headline">\[Description of configs\]</span>

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- FeltTypeID: 742
- SQL datatype: N/A
- Class name: FieldGrandChildSearch

# Button: Codeunit execution

Execute proprietary code

### Properties

- Type: [Action button](https://docs.tsnocode.com/books/field-type-reference/chapter/action-button)
- Groupable: No
- Show in lists: No
- Searchable: No

## <span class="mw-headline" id="bkmrk-user-interface-1">User interface</span>

<span class="mw-headline">Field in show mode</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/5EhHWp8pBWQBS7wE-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/5EhHWp8pBWQBS7wE-image.png)

Due to its nature this field has no special editing mode.

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

[![image.png](https://docs.tsnocode.com/uploads/images/gallery/2025-07/scaled-1680-/DVZSXjBTP8C3HG0G-image.png)](https://docs.tsnocode.com/uploads/images/gallery/2025-07/DVZSXjBTP8C3HG0G-image.png)

<span class="mw-headline">\[Description of configs\]</span>

### <span class="mw-headline" id="bkmrk-ajax-subforms-1">Ajax subforms</span>

The following code changes subform behavior to call the codeunit silently and reload the page when done

```javascript
$(function() {
  $('#VB_DATA_SUBFORM a.codeunitButton').click( function(e) { 
    e.preventDefault(); 
    $.get( $(this).attr("href") );
    //$(this).parent().parent().hide();
    location.reload();
    return false; 
  });
});
```

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- FeltTypeID: 750
- SQL datatype: N/A
- Class name: FieldCodeunitPage

# Button: Status changer

Changes the status of the record to the selected status

### Properties

- Type: [Action button](https://docs.tsnocode.com/books/field-type-reference/chapter/action-button)
- Groupable: No
- Show in lists: Yes
- Searchable: No
- Requires configuration: No

## <span class="mw-headline" id="bkmrk-user-interface-1">User interface</span>

<span class="mw-headline">Field in show mode</span>

<span class="mw-headline">\[INSERT IMAGE\]</span>

Due to its nature this field has no special editing mode.

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

<span class="mw-headline">\[INSERT IMAGE\]</span>

The field does not required configuration before deployment, but does take up to 3 parameters.

Configuration 1: Mandatory StatusID to change to. Forces only that Status to chow up.  
Configuration 2: Optional field to set to NOW upon button-click  
Configuration 3: Group filter. Filter button to only be shown to users with that GroupID

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- FeltTypeID: 751
- SQL datatype: N/A
- Class name: FieldStateChanger

# Filter selector static

Set value in user session. For example for data filters.

### Properties

- Type: [Action button](https://docs.tsnocode.com/books/field-type-reference/chapter/action-button)
- Groupable: No
- Show in lists: No
- Searchable: No
- Requires configuration: Yes

## <span class="mw-headline" id="bkmrk-user-interface-1">User interface</span>

<span class="mw-headline">Field in show mode</span>

<span class="mw-headline">\[INSERT IMAGE\]</span>

<span class="mw-headline">Field in edit mode</span>

<span class="mw-headline">\[INSERT IMAGE\]</span>

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

<span class="mw-headline">\[INSERT IMAGE\]</span>

<span class="mw-headline">\[Description of configs\]</span>

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- FeltTypeID: 2090
- SQL datatype: N/A
- Class name: FieldSessionFilterSelector

# Button: Clone record

\[DESCRIPTION\]

### Properties

- Type: [Parent/child](https://docs.tsnocode.com/books/field-type-reference/chapter/parentchild)
- Groupable: \[YES/NO\]
- Show in lists: \[YES/NO\]
- Searchable: \[YES/NO\]

## <span class="mw-headline" id="bkmrk-user-interface-1">User interface</span>

<span class="mw-headline">Field in show mode</span>

<span class="mw-headline">\[INSERT IMAGE\]</span>

<span class="mw-headline">Field in edit mode</span>

<span class="mw-headline">\[INSERT IMAGE\]</span>

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

<span class="mw-headline">\[INSERT IMAGE\]</span>

<span class="mw-headline">\[Eventuel beskrivelse af configs\]</span>

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- FeltTypeID: 753
- SQL datatype: N/A
- Class name: FieldCloneRecord