0 Replies Latest reply on Mar 25, 2019 9:35 AM by 3244318

    ADF: how to set specific view criteria in Saved Search programmatically in af:query

    3244318

      IDE: Oracle Jdev 11g Release1 (11.1.1.9.0)

      Java Platform: 1.6

      As described in the title, when we use the component in ADF, it will always use the view criteria which is selected in saved search as the filter.

      Now the requirement is that, without selecting the view criteria manually from UI, can we set one specific view criteria as the saved search and use it for search and filter?

      In below example, we have two view criteria here: BooksViewCriteria and Named Criteria for search. It will use the BooksViewCriteria by default. Now we need to use the Named Criteria but without selecting it from the UI but from code programmatically.

      Anyone can provide the code snippet example for this requirement?