Quantcast
Viewing all articles
Browse latest Browse all 3548

Re: Problem with instantiating JSON object in script

Hi Patrick Godwin & Mustafa,

 

i  got error here as well var sample = {"key1": 100, "key2": 200};

 

Could you try the following code foreach for JSON using crosstab selection, this should work

 

var sel = CROSSTAB_1.getSelection(); 

var members = sel["0BC_VEND1__0BC_EVAL"]; //0BC_VEND1__0BC_EVAL dimension tech name

    members.forEach(function(element, index) {

     APPLICATION.alert(element);

    });

 

 

Regards,

Subhash


Viewing all articles
Browse latest Browse all 3548

Trending Articles



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