Configuring Search Fields and Field Sets

This topic applies to

Applies to

SuiteCommerce InStore

SuiteCommerce InStore (SCIS) uses search fields and field sets to retrieve and display item information. The NS_RP_ResetSearchFields.js script is run automatically during the first installation of SCIS. However, if you create a second SCIS website, or if you make significant changes to your SCIS configuration, you may need to use the following steps to configure or reset search fields and field sets.

To configure search fields and field sets for SuiteCommerce InStore:

  1. Copy the script displayed in the NS_RP_ResetSearchFields.js file in the NetSuite file cabinet at Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. - POS > SuiteCommerce InStore > scripts.

  2. Edit the siteID and the debug setting in the setup script.

    1. Set the value for debug to true.

    2. Use the ID for your SCIS website. You can see the site ID in the address bar of your browser when the Web Site Setup page is in Edit mode.

    Important

    Change debug: false to debug: true so the script will run in the debugger. You must change the value for siteID in the setup script to the internal ID for your SCIS website.


  3. Go to Customization > Scripting > Script Debugger.

  4. Enter the SuiteScript Debugger domain (by clicking the link as indicated) and then re-enter your login credentials if prompted.

  5. Set the API Version to 1.0.

  6. Paste the script code into the debugger. Ensure the siteID is the one for your SCIS website.

  7. Click Debug Script and then click Continue.

To view a list of SCIS installation tasks, see SuiteCommerce InStore Installation.