Netsuite SSv2 How to Update Filters of a Saved Search
<p>I am trying to figure out how to update the filters of a group saved searches.</p>

<p>I save the filters from a generic saved search:</p>

<pre><code>var searchGen = search.load({

            id: 'customsearch_ca_export_detail_search__38'

        });

        var filter = searchGen.filters;
</code></pre>

<p>Then I plug the filters into the searches using a loop:</p>

<pre><code>for (var i = 0; i&lt;selectedMarkets.length; i++){

                var selectedSearchId = marketplaces[selectedMarkets[i]].searchId;

                var searchObj = search.load({id:selectedSearchId});

                var filters = searchObj.filters;

                filters = filter;

                searchObj.save();

            } 
</code></pre>

<p>All my variables contain the right information. But pushing the data from the generic saved search to the searches I want to update is not working:</p>

<pre><code>filters = filter;
</code></pre>

<p>Any help?</p>