Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: $.request.parameters.get to get an Array in XSJS

$
0
0

Hi Prab,

 

you can get the array parameter by adding brackets to the parameter name in the get call.

 

var tagsArray = $.request.parameters.get("tagsArray[]");


This is necessary, because in the request URL the parameter "tagsArray" is called "tagsArray%5b%5d" (= "tagsArray[]" ) because of the array value.


Best regards,

Florian


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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