user25808095
user25808095

Reputation: 1

Making search API dynamic and configurable in salesforce

We have requirement with one of our search API to make the input criteria dynamic for searching the records (Account or contacts).

Current functionality:

Expected functionality:

Problem to achieve expected functionality:

We need help to make the functionality dynamic so that it can handle any number of inputs that can vary in future without any code change. Also, please suggest if there is any alternate mechanism to achieve the searching functionality through API without declaring and using separate lists.

We tried to use different types of structures to hold the data but as the inputs changes we need to write some code to declare the lists and populate the data every time a new input is added.

Upvotes: 0

Views: 33

Answers (0)

Related Questions