SCA SourceCode structure

In the SCA versions prior to Aconcagua, the complete code of the webstore resides in the SSP application folder. The template files, javascript files and the suitescript files resides inside the SSP application folder.

There is a backup folder in the SSP application which contains the zip files of the webstore code. When the code is deployed to the SSP, the entire source code is compressed and saved in the backup folder.

In side the backup folder, there is an ns-uploader-manifest__.json file. The date and time of this file is the time at which the last upload to the backup folder is done. So, by checking the date and time of this JSON file, we can identify the zip files of the latest backup code.

So to make any changes in the webstore code, the latest source code is to be downloaded from the corresponding SSP applications backup folder.

We can run the source code in local system . All the changes made in the javascript files and the template files are visible in local even without the deployment. But only the deployed changes to the suitescript files are visible in the webstore.

So, in the SCA versions prior to Aconcagua, any changes in the webstore (both design and functionality), can be achieved by directly modifying the source code

From the Aconcagua version of SCA, the SCA development code is divided into

  • Theme
  • Source code
  • Extensions

Themes, Extensions

Themes and extensions are self-contained packages of files that extend your site in some way. You can install themes and extensions as bundled SuiteApps or as custom-built code deployed to your account by in-house site designers and developers. Once installed, you use the Extension Manager in NetSuite to activate them for a domain associated with you NetSuite account.

  • Themes – A Theme is a special type of extension that only affects a domain’s design. Each theme presents a different style (colors, fonts, spacing, etc.) and layout for any domain linked to your Commerce website. When you activate a theme, you change what visitors see when they browse to your site.
  • Extensions – An extension introduces added functionality to your website. Extensions offer a wide variety of different features or functions that you can enable on a domain associated with your website. This might be a blog, an shipping bar, or a set of social media icons to name a few examples. When you activate an extension, NetSuite applies the new capabilities to your website without requiring any programming or site development knowledge.

Leave a comment

Your email address will not be published. Required fields are marked *