> For the complete documentation index, see [llms.txt](https://docs.cloudio.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudio.io/ui-components/widgets/setdata.md).

# Set Data

## Description:

Action Set Data

Use this action, if any data need to be set before exporting.

### Allowed Parent Components:

1. Export Data
2. Export To Google Sheet

### Allowed Child Components:

1. Popover
2. Pulse
3. Trigger Before Render

### Properties

### ➤ Enable Condition

Specify an expression that should be evaluated to a boolean \[e.g. #{dsAlias.attr1} == 'X' && #{dsAlias.attr2} > 1]. If no expression is specified, it will be considered as true.

Allowed Values: An expression which should return boolean after evaluation

### ➤ Value Expression

Specify an expression that should be evaluated to a string or number depending on the target attribute

Allowed Values: Specify an expression that should be evaluated to a string or number depending on the target attribute

### ➤ View Attribute

Select the attribute into which the above valueExpression value will be set.

Allowed Values: Select the attribute into which the above valueExpression value will be set.
