Q1. a!dashboardLayout() is deprecated what layout should I use in place of it..
Q2. what was the role of a!dashboardLayout()
Discussion posts and replies are publicly visible
For what use case?
Just a list of components will do it. For real dashboards, it typically use the headerContentLayout.
a!headerContentLayout() is correct or apply another layout in place of dashboardLayout()
To repeat it, there is no need to use a top-level layout component.
But, as these have specific features built in, you should decide which one to take according to your needs. And if you do not need any of these features, just create a list of components.
Hello,
You can use a section layout to do such requirement. And I suggest that it would be better to use a!match() if you have multiple if() conditions when you have to compare the values of a same variable to show desired output.