How to resolve Error: Cannot find module ‘gulp-sass’

First check the nvm version. This issue will usually comes for old version so for that we need to update the nvm version. Just do npm update and then npm install gulp-sass –save-dev in your root folder, and then when you run you shouldn’t have any issues. Edit your package.json. Change: “gulp-sass”: “^2.3.2” to “gulp-sass”:… Continue reading How to resolve Error: Cannot find module ‘gulp-sass’

How to create a template for saved search

Create a template from saved search:  Lists > Relationships > customers > list.  To modify the customer list select the customize view. Provide template name.  Then go for More options . There is no records found , then export the excel sheet.  Spread sheet contain headers of your template as you constructed in the saved… Continue reading How to create a template for saved search

How To configure a color palette

From the Color Palettes subtab on the configuration record, you can configure the color palettes to use for facets. You can use either images or any valid CSS color value. To configure a color palette: 1.Go to Commerce > Websites > Configuration. 2.Select the website and domain. 3.Click Configure. 4.Select the Layout subtab. 5.Select the… Continue reading How To configure a color palette

How to Compare Sales Order Count and Sum Through Saved Search

User compares Sales Orders within two specific Dates for the count and sum of Sales Order created. 1.Navigate to Lists > Search > Saved Searches > New 2.Click Transaction 3.Search Title: Enter Title Example: Comparison of Sales Orders Count and Sum 4.Click Criteria 5.Click Standard 6.Filter: Select Type Type: Select any of Select Sales Order… Continue reading How to Compare Sales Order Count and Sum Through Saved Search

How to use script and install FB pixel on website

Created a configuration field to update the meta pixel id . Deployed the pixel base code to which contain a pixel id for the use of conversion tracking. define(   ‘JJ.FBPixelIntegration.FBPixelIntegration’ , [   ] , function (   ) {   ‘use strict’;   return {     mountToApp: function mountToApp (container)     {       var PDP = container.getComponent(“PDP”);       var plp = container.getComponent(“PLP”);       var self =… Continue reading How to use script and install FB pixel on website

How to replace and copy images from new folder using map reduce script

/** * @NApiVersion 2.x * @NScriptType MapReduceScript */ define([‘N/file’, ‘N/search’], function (file, search) {   function getInputData() {    var itemSearchObj = search.create({      type: “item”,      filters:       [         [“internalid”, “anyof”, “3355”, “6453”, “4647”, “1082”, “2221”, “4250”]       ],      columns:       [         search.createColumn({          name: “itemid”,          sort: search.Sort.ASC,          label: “Name”         }),         search.createColumn({ name: “displayname”, label: “Display Name” }),         search.createColumn({ name: “thumbnailurl”, label:… Continue reading How to replace and copy images from new folder using map reduce script

How to Overwrite a File in the File Cabinet Using SuiteScript 2.0

This article will help you overwrite an existing file with the same name in the file cabinet using SuiteScript 2.0. 1. Create and upload a scheduled script: Save the below code as .js file: function execute(scriptContext) {   var fileId = ‘9505’; //file ID   var fileObj = file.load({     id: fileId   });   var fileType = fileObj.fileType;   var fileName… Continue reading How to Overwrite a File in the File Cabinet Using SuiteScript 2.0

How to resolve this issue while using map reduce script”TypeError: Cannot read property “OVERWRITE” from undefined”

This article will help you overwrite an existing file with the same name in the file cabinet using SuiteScript 2.0. 1. Create and upload a scheduled script: Save the below code as .js file: function execute(scriptContext) { var fileId = ‘9505‘; //file ID var fileObj = file.load({ id: fileId }); var fileType = fileObj.fileType; var fileName… Continue reading How to resolve this issue while using map reduce script”TypeError: Cannot read property “OVERWRITE” from undefined”