Forum Discussion
asifsyed
1 year agoFrequent Visitor
GUID from fabric programmatically
Hi I am looking to get GUID programmatically for objects (pipelines) within Fabric. How do we get that ?
- Anonymous1 year ago
HI asifsyed,
I'd like to suggest you try to use 'sempy' package functions to get the item list from workspace:
sempy.fabric package | Microsoft Learn
import sempy.fabric as fabric # Get the items of this workspace workspace_items=fabric.list_items() # Filter by type to get DataPipeline list itemList= workspace_items[workspace_items.Type == "DataPipeline"] display(itemList)Regards,
Xiaoxin Sheng
- 1 year ago
Thank You.
Is there other approach as well via web API?
Anonymous
1 year agoNot applicable
HI asifsyed,
I'd like to suggest you try to use 'sempy' package functions to get the item list from workspace:
sempy.fabric package | Microsoft Learn
import sempy.fabric as fabric
# Get the items of this workspace
workspace_items=fabric.list_items()
# Filter by type to get DataPipeline list
itemList= workspace_items[workspace_items.Type == "DataPipeline"]
display(itemList)
Regards,
Xiaoxin Sheng