Drop Down for data from schema in WebApp in Adobe campaign classic | Community
Skip to main content
bhaskarc1289447
Level 3
February 18, 2022
Solved

Drop Down for data from schema in WebApp in Adobe campaign classic

  • February 18, 2022
  • 2 replies
  • 1558 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by david--garcia

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.

 

 

 

2 replies

David_Loyd
Adobe Employee
Adobe Employee
February 19, 2022

I would just use vanilla JS for the drop down, and tie that back to a variable that will execute the query. 

bhaskarc1289447
Level 3
February 21, 2022

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

david--garcia
david--garciaAccepted solution
Level 10
February 28, 2022

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.

 

 

 

Sukrity_Wadhwa
Community Manager
Community Manager
March 3, 2022

Hi @bhaskarc1289447,

Was this solution helpful to resolve your query or do you still need more help here? Do let us know.

Thanks!

Sukrity Wadhwa