Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
You can use the Get Metadata activity to retrieve the metadata of any data in a Fabric pipeline. You can use the output from the Get Metadata activity in conditional expressions to perform validation, or consume the metadata in subsequent activities.
Prerequisites
To get started, you must complete the following prerequisites:
- A tenant account with an active Microsoft Fabric subscription. You can try Fabric with a free trial.
- A Fabric workspace.
Add a Get Metadata activity to a pipeline with UI
To use a Get Metadata activity in a pipeline, complete the following steps:
Creating the activity
Create a new pipeline in your workspace.
Search for Get Metadata in the pipeline Activities pane, and select it to add it to the pipeline canvas.
Select the new Get Metadata activity on the canvas if it isn't already selected.
Refer to the General settings guidance to configure the General settings tab.
Get Metadata settings
Select the Settings tab, and then select an existing connection from the Connection dropdown, or create a new connection, and specify its configuration details. Then select a table, to choose from the various metadata fields available for the table, including column count, exists, structure, and dynamic content.
Using the Get Metadata activity
You can use the output of the Get Metadata activity in any other activities where dynamic content is supported. In this example, it's used as the Expression for a Switch activity.
Select the Add dynamic content link that appears under the Expression text box for the Switch activity. Then you can browse the activity outputs in the expression builder and select them to add them to the expression.
Save and run or schedule the pipeline
Switch to the Home tab at the top of the pipeline editor and select the save button to save your pipeline. Select Run to run it directly or Schedule to schedule runs at specific times or intervals. For more information on pipeline runs, see: schedule pipeline runs.
After running, you can monitor the pipeline execution and view run history from the Output tab below the canvas.