Sign up to receive SuiteScript examples and advice directly in your email inbox.

Export Saved Searches to SuiteScript

Created: June 26, 2017

My colleague David Smith has created an excellent Chrome plugin that accelerates development of Searches in SuiteScript. It can also be used as a fantastic tool for learning the SuiteScript Search API.

You can get your hands on the plugin here.

Once it's installed, you simply need to edit any Saved Search, and an "Export to Script" link will appear near the top right.

Image

Clicking this will display a dialog that shows both the SuiteScript 1.0 and 2.0 versions of your Search, with all its filters and columns already defined.

Image

I highly recommend exploring some of your existing Saved Searches with this plugin, just to see how different Search capabilities are achieved in SuiteScript.