RE: How to post data depending on selected filters on suitelet?
I have created filter fields on suitelet. In filters I select options and then redirect to second suitelet. Filter fields are, subsidiary, location, year and employee designation is ‘developer. Now I want to post data depending on option selected in filter and employee’s designation is ‘developer’ to second suitelet.
I have stored selected filters data in variables as,
var subsidiary var location var employees with designation as ‘developer
Now I want to post data like, no. of employees which matches depending on selected filters. How to post that data to second suitelet? Please help! I will appreciate your help.
You can write a POST method that will display the results list or you can pass parameters and the method redirect.toSuitelet().