Hi All
In this blog I am going to explain how can we implement the Visual Filters in an Analytical List Page (ALP).
Problem Statement:
Implementing Visual Filters in ALP is a bit complex task as compared to other general implementations in the field of Fiori Elements. Many a time, rendering of these visual filters is not achieved due to one of the following reasons:
<Annotation Term="Common.ValueList" Qualifier="DEMOVisualFilter1">
<Record Type="Common.ValueListType">
<PropertyValue Property="CollectionPath" String="SUMMARYCDSSet"/>
<PropertyValue Property="Parameters">
<Collection>
<Record Type="Common.ValueListParameterIn">
<PropertyValue Property="LocalDataProperty" PropertyPath="AGR_NAME"/>
<PropertyValue Property="ValueListProperty" String="ARG_NAME"/>
</Record>
<Record Type="Common.ValueListParameterOut">
<PropertyValue Property="LocalDataProperty" PropertyPath="AGR_NAME"/>
<PropertyValue Property="ValueListProperty" String="ARG_NAME"/>
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="PresentationVariantQualifier" String="DEMOVisualFilter1"/>
</Record>
</Annotation>
Note: For property 'CollectionPath', enter the name of entity set which will be returning the value set for this visual filter.
<Annotation Term="UI.PresentationVariant" Qualifier="DEMOVisualFilter1">
<Record Type="UI.PresentationVariantType">
<PropertyValue Property="Visualizations">
<Collection>
<AnnotationPath>@UI.Chart#AgrVisualFilter</AnnotationPath>
</Collection>
</PropertyValue>
</Record>
</Annotation>
<Annotation Term="UI.Chart" Qualifier="DEMOVisualFilter1">
<Record Type="UI.ChartDefinitionType">
<PropertyValue Property="ChartType" EnumMember="UI.ChartType/Column"/>
<PropertyValue Property="Measures">
<Collection>
<PropertyPath>SESSIONS</PropertyPath>
</Collection>
</PropertyValue>
<PropertyValue Property="MeasureAttributes">
<Collection>
<Record Type="UI.ChartMeasureAttributeType">
<PropertyValue Property="Measure" PropertyPath="SESSIONS"/>
<PropertyValue Property="Role" EnumMember="UI.ChartMeasureRoleType/Axis1"/>
</Record>
</Collection>
</PropertyValue>
<PropertyValue Property="Dimensions">
<Collection>
<PropertyPath>AGR_NAME</PropertyPath>
</Collection>
</PropertyValue>
<PropertyValue Property="DimensionAttributes">
<Collection>
<Record Type="UI.ChartDimensionAttributeType">
<PropertyValue Property="Dimension" PropertyPath="AGR_NAME"/>
<PropertyValue Property="Role" EnumMember="UI.ChartDimensionRoleType/Category"/>
</Record>
</Collection>
</PropertyValue>
</Record>
</Annotation>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
20 | |
9 | |
9 | |
7 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |