You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to customize SDP to not fetch data when the filter value is undefined ?

Summary:

Hello Community,

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.

Content (required):

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!