Forum Discussion
How to build a framework for creating Data Activators in Fabric?
- 1 year ago
Hello traneddy2 , yes this could be doable. There would be a few caveats and considerations. The underlying data that you would want to create the rule on would need to be one through one of the supported activator sources. (Eventhouse, Power BI, etc.), but here's how you could make it work:
Create some data store that you use to power your rules (Excel, SQL, Eventhouse, etc.)
You need to include the required fields as a part of the Activator Create Rule API definition set.Create a script to iterate over the rules, calling the API for each rule definition that you want to create.
You need some mechanism to allow the Activator to update the table where you stored the metadata to be updated and indicate that it has already been created. Otherwise, nothing would stop the script from recreating the Activator every time the script runs, as Activator does not have any logic or rules to prevent rule duplication.
- v-echaithra1 year ago
Community Support
Hi traneddy2 ,
Please refer to these documents for creating data activators in Fabric.
What is Fabric Activator? - Microsoft Fabric | Microsoft Learn
Activator tutorial using sample data - Microsoft Fabric | Microsoft Learn
Best Regards,
Chaithra E. - kustortininja1 year ago
Microsoft Employee
Do you mean for what I suggested? No, sorry, I don't see any documentation that walks through step by step how to do this. Although it is a great idea and would be a great blog article!