Ask the Experts - 22
Can we have dynamic search records for a component? If so then how can we achieve it??
Thanks for posting your question!
We are considering two scenarios
1) In the first case, If you are planning to reuse the same component in different menus and want to change the search record, then you can define the search records at Menu level, which are used by PeopleSoft based on the menu where you are navigating. This way you do not have to maintain redundant components.
2) In the second scenario, you can use the OOTB (Out-of-the-box) Installation record as the search record. In this case however you are responsible for retrieving the data and displaying it on the page from the desired tables in PeopleSoft. This can be done programmatically by using people code. There are multiple instances of OOTB using Installation record. You can do a find definition reference on the installation record to see the implementation of the same.