---
title: "filterForBoard"
canonical: "https://support.appfire.com/space/PSJC/567279653/filterForBoard"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Generates a filter specifically tailored for a particular board.

Generates a filter specifically tailored for a particular board, often used for defining criteria to sort and display issues or tasks on the board.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | filterForBoard(boardId) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| boardId | Integer | Yes | Board id |

## Return Type

**Integer**

Gets the board filter

## Example

```javascript
return filterForBoard(12345);
```

## See also

> Macro (contentbylabel)