In this tutorial you will learn how to iterate through the response received from an API and populate data(ursp and uval) in your Auto-Suggestion list.

Consider the below response from an API.

Let's say the name of the gambit holding the above response is meme_list

To start iterating through the data follow the below format

pre.<name_of_the_gambit>.<key_name>:::{{<to be dispalyed key name>}}---:{{<to be stored as UVAL key value>}}


The URSP for the above will return the "name" and UVAL will return the "Id"

ex: ursp.meme_list will suggest the "name" while typing and once the user selects a particular name the uval.meme_list will be the id of the respective name.

consider the below image

Thank you!

Did this answer your question?