This function can be used to display validation messages in any form like the contact us page. We can pass a message, type, and also the field: which determines under in which ‘div’ the message need to be displayed.
Tag: sca extension
Scroll function in SCA
On clicking a button or text we can scroll the page using jQuery
To replace the elements in an array with the elements of another array
We can replace part of an array with items from another array,
How to copy the configuration record
We can copy the configuration record of a domain for another domain with all fields and field values Navigate to Customization> List, Records & Fields> Record Types. Select the List under SC.Configuartion. Click Edit on the corresponding domain under CONFIGURATION ID. Copy the text in the field of CONFIGURATION JSON and copy to the same field of… Continue reading How to copy the configuration record
How to change date formats in the input type date field
When we use input field type as the date it’s working initially as mm/dd/yyyy as date format it’ll work perfectly in desktop devices but when we change device like Mobile or iPads when we’re to use that and if we’ve changed that date format as dd/mm/yyyy it’ll not work and it’ll create an issue in… Continue reading How to change date formats in the input type date field
“Customer Notification” page navigation
To add a page navigation for a myaccount menu tab view file Entry file create a router file
Search is not working in the Extension
The search is not working in the extension. But the search is working in Netsuite. Issue: There are two functions in the extension for getting details of files and folders from the backend(suitescript file), In the execution log of the corresponding ssp application, it is showing as blank object value is not getting. Solution 1:… Continue reading Search is not working in the Extension
Create Additional Modules for an Extension
The gulp extension:create command builds an extension with one baseline module. However, if your extension requires more than one module, the developer tools let you create more using the —module attribute To add an additional module to your baseline extension: Open a command line or terminal. Access the top-level extension development directory you created when you installed the extension… Continue reading Create Additional Modules for an Extension
Error: Impossible to parse backend error while running extension
How to solve error ” impossible to parse backend error – Request{“url”: ” “} ” occurring in console, while running the extension? Solution: Check the vendor in manifest and folder name created for the service file in Netsuite. Both should be same. The vendor name is case sensitive so while using the model, we should… Continue reading Error: Impossible to parse backend error while running extension
Showing Pop Up message for items having no preview image in PDP.
This code is for an alert pop up message when there is no preview image available for a personalised item(Boulevard website, PTC) in PDP . code snippet: Note: Here the value of set Timeout function is very important, the pop will appear only after the default image is loaded, so due to rendering of image… Continue reading Showing Pop Up message for items having no preview image in PDP.