Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9021

Loop List using API Methods

$
0
0

Hi All,

 

My Bex Query Structure(With No KF'S) :

                                  

 

PRODUCTS ID         PRODUCTS NAME           Words1                 Words2

 

  1                            wax                                  asdsad                  wrffvbv

 

 

  2                            lighter                               sadadas                rgergbg

 

 

  3                            candle                              asdasds                wvvxdsd

 

 

In DS 1.3, i am stuck up in the below steps itself.

 

var arr_products = DS_1.getMembers("PRODUCTS", 30);   

var arr_words1 = DS_1.getMembers("Words1", 30);

var arr_words 2 = DS_1.getMembers("Words2", 30);

 

I got the values to get stored in array from above.

I am trying to achieve like below. Get the list in an array and loop over that array and concatenate the text values .

 

Expected Output like below in ListBox when selection of wax and lighter in product dimension filter :

 

wax

asdsadwrffvbv   < - Concatenate both words and show as one word

lighter                          

sadadasrgergbg   < - Concatenate both words and show as one word    

 

Hope it should be understandable for everyone and need your solution guys.

 

Thanks,

Dinya. 


Viewing all articles
Browse latest Browse all 9021

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>