Remove duplicate image direct from the website using JQuery fn

We can remove the duplicate image from the website by using this function . We find image with their source in the website so if we want to delete it we can make a if condition there so that it will take only one different source files. Using Jquery fn : <script> $(document).ready(function() { var… Continue reading Remove duplicate image direct from the website using JQuery fn

Extract xls file to Json

For implementing the function, need to implement excel js library function /** * file Extract function * @param {Number} fileId internal ID * @return {Object} returnDate Json Object */ function extractFileToJSON(fileId) { try { let returnData = []; let excelFile = file.load({ id: fileId }); let workbook = XLSX.read(excelFile.getContents(), {type: ‘base64’}); let firstSheetName = workbook.SheetNames[0];… Continue reading Extract xls file to Json

Multiple item names in item search criteria

Function /** * @description Multiple item names can be included in a single search limit is 1000 names per search via suitescript. * @param {Array} itemNameArray Array of item names (1000 item names) * @return {Object} */ function itemSearchforVendorUpdate(itemNameArray) { try { var b = “”; if (itemNameArray.length > 0) { for (var i =… Continue reading Multiple item names in item search criteria

Remove Standard Leave Site Popup in Suitelet forms

Jira Code : 552 Description The custom form created using Suitelet script will show the Standard Leave Site Popups while we navigate away. We can also remove this popup by using the following code. We can add the following code in the page Init entry point of the Client script which is associated with the… Continue reading Remove Standard Leave Site Popup in Suitelet forms