Hello, I’m working on simple suitelet on SS2.0 and...
# suitescript
i
Hello, I’m working on simple suitelet on SS2.0 and having a small problem. I’ve implemented a form with few fields and button, I’ve added a client script which alerts when button is pressed. Here is the client script, is there a way to send program flow back to suitelet from the client script (in perforSearch function)?
Copy code
define([], function() {
    
    /**
     *
     * @NApiVersion 2.x
     * @NModuleScope SameAccount
     */
    var exports = {};

    function perforSearch(){
        alert("performing search!")
    } 

    exports.perforSearch = perforSearch;
    return exports;    
});