0
votes

I am trying to use the nlapiSetRedirectURL() in suitelet

but in nlapiSetRedirectURL(type, identifier, id, editmode, **parameters**)

IMP: I wanted to use the parameters to get the values from one suitelet to another suitelet

so, How to use the parameters?

what to give and how to do from beginning in suitelet?

Can anyone Please explain me elaborately...

Thanks in advance...

1

1 Answers

0
votes

If your Suitelet is an external Suitelet and is available without login, you can use a Hash-table to wrap your params and on the other Suitelet you can retrieve using request.getParameter('your#key');

function suitelet(request, response){

        var params ={};
        params['key1'] = 'value1;
        params['key2'] = 'value2';

        nlapiSetRedirectURL('EXTERNAL', '#your redirecting suitelet URL', null, null, params);

}