Set Execute as Role Permissions for .ss File

First, our custom extension needs to be deployed and activated to get backend access (backend data) from NetSuite. In order to use the module_name.Service.ss file, it is necessary to assign a matching role in the field ‘Execute as Role’ by editing that .ss file.  The ‘CEO’ role or custom CEO role has all the necessary… Continue reading Set Execute as Role Permissions for .ss File

Best practices for responsiveness by bootstrap in SCA website.

Grid System for Layouts Use Bootstrap’s 12-column grid system to create flexible and responsive layouts. Ensure each layout component uses Bootstrap’s grid classes (col-, row, container, container-fluid) to adjust the layout across different screen sizes. For example, col-md-6 will make an element occupy half the screen on medium and larger devices while stacking it full-width… Continue reading Best practices for responsiveness by bootstrap in SCA website.

SuiteScript and Service controllers in SCA

Since NetSuite uses SuiteScript, a JavaScript-based scripting environment, developers access the platform’s API, allowing direct interactions with records and fields on NetSuite servers. Here’s how data is processed: Backend SuiteScript Model: Extends service controllers to perform actions like create, update, and delete. These actions are accessed by routers and executed on the server, keeping business… Continue reading SuiteScript and Service controllers in SCA

Steps to update existing footer in a SCA website

Download ‘ExtensionDevelopmentTools<version>.zip’ file from ‘SuiteBundles/Bundle <id>’ directory in file cabinet. After extracting the zip file, run the command ‘gulp extension:fetch’ in the root directory. This command will download the active theme and compiles all theme resources (Sass, HTML, and other assets). Create a new extension by running the command ‘gulp extension:create’. Get the ‘Layout’ component… Continue reading Steps to update existing footer in a SCA website

JSON configuration file schema for creating a tab, subtab and fields in suitecommerce configuration record.

To create a custom JSON configuration file, you’ll need to utilize a custom module and construct the new configuration file with JSON Schema V4. Each configuration file contains a root object that defines the configuration information for a module. At the root level, all configuration files must define the type, group, and properties objects. This… Continue reading JSON configuration file schema for creating a tab, subtab and fields in suitecommerce configuration record.

Multi-Domain tab in SuiteCommerce Configuration record

The ‘Multi-Domain’ tab in SuiteCommerce allows businesses to manage multiple websites or stores under different domains. Domain Assignment: You can assign specific domains or subdomains to different regions or languages. For example, you might use example.com for the US, example.ca for Canada, and example.co.uk for the UK. Language-specific domains, like en.example.com for English and fr.example.com… Continue reading Multi-Domain tab in SuiteCommerce Configuration record

Site Management Tools (SMT)

Core Content Types include: SMT Image Content: Used for banners, promotional images, or images linking to products. You can add alternate text and links to enhance user experience. SMT Text Content: Add headers, text blocks, and hyperlinks to your pages. Merchandising Zone Content: Displays product listings based on merchandising rules in areas defined on the… Continue reading Site Management Tools (SMT)

Content Page CDN and Content Page TTL (Time to Live) fields in SuiteCommerce Configuration record

Using a Content Delivery Network (CDN) can significantly boost your website’s performance by caching data and site assets, ensuring faster page load times. Here’s a brief overview of how CDN caching works in SuiteCommerce: Items Cached: The CDN caches images (.gif, .jpg, .png, etc.), API responses (like Item Search API), and SuiteScripts hosted in the… Continue reading Content Page CDN and Content Page TTL (Time to Live) fields in SuiteCommerce Configuration record

Search engine optimization for SuiteCommerce Advanced

SuiteCommerce Advanced offers numerous customization features that enhance the shopping process: Responsive Design: SuiteCommerce Advanced’s responsive design ensures that online shops are displayed correctly on various devices, such as PCs, tablets, and smartphones. Intuitive Navigation: Providing simple and efficient navigation through menus, search options, and filters helps customers easily find the products they need. Personalized… Continue reading Search engine optimization for SuiteCommerce Advanced

Benefits of Using record.submitFields() Over record.load() and record.setValue() in Terms of Governance

The record.submitFields() function in NetSuite SuiteScript provides several advantages over using record.load() and record.setValue() in terms of governance efficiency. Firstly, submitFields() updates specific fields on a record directly without the need to load the entire record into memory. This streamlined approach significantly reduces the amount of governance units consumed, as loading and saving the full… Continue reading Benefits of Using record.submitFields() Over record.load() and record.setValue() in Terms of Governance