You can reuse a single snippet across multiple tabs while showing different data in each tab by passing a parameter to the snippet and filtering the Data Grid 2 inside it. First, create a parameter object, such as an entity with a field or enumeration indicating the tab type (for example, Tab1
, Tab2
, Tab3
). Then, configure your snippet to accept this parameter. Inside the snippet, set the Data Grid 2 to use a microflow as its data source, and have this microflow receive the snippet parameter. In the microflow, use the parameter to determine which list of data to return for the Data Grid; for instance, if the parameter indicates Tab1
, return the list for Tab1, if Tab2
, return the list for Tab2, and so on. This approach allows the snippet to remain a single reusable component, avoids creating duplicate lists, and ensures that the correct filtered data is displayed in each tab