Hi All,
I have a schema where I keep product name, product code and product expiry. I am creating a webapp wherein I want to show these three values in the WebApp as dropdowns with data retrieved from the schema. There are about 5000 records in the schema. The values selected in the webapp will be used to update cs:customerOrder schema.
Kindly suggest how can I use webapp to present dropdown of data from a particular schema.
Solved! Go to Solution.
Views
Replies
Total Likes
If by dropdown you mean, an actual dropdownlist like the example below, for performance reasons, i dont recommend this, nor will it be possible to scroll down 5000 items.
Depending on your webapp activity version, if you are developing it using v5 activity, there is an object that allows you to generate a table of rows containing records from the output of a query, and the table data xpath allows you to configure this.
In the new version is all done through code here is an example.
Views
Replies
Total Likes
I would just use vanilla JS for the drop down, and tie that back to a variable that will execute the query.
Views
Replies
Total Likes
HI,
Thank you for your reply. Can you please let me know any tutorial or code on how to include Vanilla JS for dropdown in webapp and tie it back to a query
Views
Replies
Total Likes
If by dropdown you mean, an actual dropdownlist like the example below, for performance reasons, i dont recommend this, nor will it be possible to scroll down 5000 items.
Depending on your webapp activity version, if you are developing it using v5 activity, there is an object that allows you to generate a table of rows containing records from the output of a query, and the table data xpath allows you to configure this.
In the new version is all done through code here is an example.
Views
Replies
Total Likes
Hi @bhaskarc1289447,
Was this solution helpful to resolve your query or do you still need more help here? Do let us know.
Thanks!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies