How to customize SDP to not fetch data when the filter value is undefined ?
I am using SDP with some filter in a fragment and that fragment is used in a page inside a switch case.
Whenever I navigate to the page, the SDP fetch triggers with an undefined filter value, hence this results in error.
It will work as expected when a proper filter value is passed to the fragment as an input parameter as part of switching to a particular switch case.
I want to restrict or customize the SDP's fetches, so that it only fetches after the filter value is set.
My goal is to only trigger the SDP 's fetch, when I pass the parameter (while switching to a particular switch case) and not trigger fetching when the filter value is undefined.