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

Re: How to pass arguments to CREATE_STREAM via Slug parameters ?

$
0
0

You can use the component sap.ui.unified.FileUploaderParameter to pass a slug.

But you have only one slug per Upload. So, you need to concatenate your data using some separator defined by yourself.

 

In the example below I used a pipe character, "I", as separator:

 

oHeaderParameter = new sap.ui.unified.FileUploaderParameter({  name : "slug",  value : "argument1|argument2|argument3"
});
oFileUploader.addHeaderParameter(oHeaderParameter);

 

Now, you just need to make your own logic to extract and split the SLUG in many values on SAP Gateway.

 

Hope it solve your problem.


Viewing all articles
Browse latest Browse all 9069

Trending Articles



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