Quantcast
Viewing all articles
Browse latest Browse all 789

How to use filter in Analytics Path Framework

I am recently doing self study on Analytics Path Framework and as a beginner I have finished some "Hello world" exercise and I have written down my steps to finish those "Hello world" project in these two blogs:


 

In this blog, I will learn how to use filter in Analytics Path Framework. Source Code of used CDS views could be found from previous blog mentioned above.


In APF Configuration Modeler, there is a filter with type Smart Filter Bar automatically generated.

Image may be NSFW.
Clik here to view.
clipboard1.png

When I change it to "Individually Configured Filters", it is then possible for me to create filter manually:

Image may be NSFW.
Clik here to view.
clipboard2.png

Then choose a property for filtering operand ( which will be used in OData filtering operation ) from drop down list:

Image may be NSFW.
Clik here to view.
clipboard3.png

And below OData request is responsible for rendering the value list in filter.

Image may be NSFW.
Clik here to view.
clipboard4.png

Let's observe the roundtrip in the runtime. Once we click execute button, the OData request maintained in above screenshot is called to retrieve the product id list, which will be used to render the drop down list of filter.

Image may be NSFW.
Clik here to view.
clipboard5.png

This is OData request response:

Image may be NSFW.
Clik here to view.
clipboard6.png

The response is used to render filter drop down list when hyperlink is clicked:

Image may be NSFW.
Clik here to view.
clipboard7.png

When we deselect Z02 and click OK button:

Image may be NSFW.
Clik here to view.
clipboard8.png

The filtering OData request is sent to backend to get filtered data. The chart is refreshed accordingly.

Image may be NSFW.
Clik here to view.
clipboard9.png


Viewing all articles
Browse latest Browse all 789

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>