Skip to content

Commit 2905b46

Browse files
committed
Add metadata field info to all tabs
1 parent 0b471a6 commit 2905b46

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/iot-operations/connect-to-cloud/howto-create-dataflow.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ To filter the data on a condition, you can use the `filter` stage. The condition
594594

595595
In the filter condition field, type `@` or select **Ctrl + Space** to select datapoints from a dropdown.
596596

597-
You can access MQTT metadata properties using the format `@$metadata.user_properties.<property>` or `@$metadata.topic`. You can also enter $metadata headers using the format `@$metadata.<header>`. For more information, see [field references](concept-dataflow-mapping.md#field-references)
597+
You can access MQTT metadata properties using the format `@$metadata.user_properties.<property>` or `@$metadata.topic`. You can also enter $metadata headers using the format `@$metadata.<header>`. For more information, see [field references](concept-dataflow-mapping.md#field-references).
598598

599599
The condition can use the fields in the source data. For example, you could use a filter condition like `@temperature > 20` to filter data less than or equal to 20 based on the temperature field.
600600

@@ -710,6 +710,8 @@ You can add a new property to the source data using the **New property** transfo
710710

711711
# [Bicep](#tab/bicep)
712712

713+
You can access MQTT metadata properties using the format `@$metadata.user_properties.<property>` or `@$metadata.topic`. You can also enter $metadata headers using the format `@$metadata.<header>`. For more information, see [field references](concept-dataflow-mapping.md#field-references).
714+
713715
For example, you could use the `temperature` field in the source data to convert the temperature to Celsius and store it in the `temperatureCelsius` field. You could also enrich the source data with the `location` field from the contextualization dataset:
714716

715717
```bicep
@@ -734,6 +736,8 @@ builtInTransformationSettings: {
734736

735737
# [Kubernetes (preview)](#tab/kubernetes)
736738

739+
You can access MQTT metadata properties using the format `@$metadata.user_properties.<property>` or `@$metadata.topic`. You can also enter $metadata headers using the format `@$metadata.<header>`. For more information, see [field references](concept-dataflow-mapping.md#field-references).
740+
737741
For example, you could use the `temperature` field in the source data to convert the temperature to Celsius and store it in the `temperatureCelsius` field. You could also enrich the source data with the `location` field from the contextualization dataset:
738742

739743
```yaml

0 commit comments

Comments
 (0)