After deploy extension is not visible

When we change in an extension and deployed. After activation in netsuite the extension get disappear from extension list. To correct make the extension back change in manifest file in the extension “target_version”: {}. and deploy again and by selecting the extension activate again.

Extension Development Life Cycle

Stage Activity Gulp Command to Use Result 1 Create New ExtensionCreate a baseline extension — Get started by creating the files needed for a basic Hello World extension. Create New Extensiongulp extension:create Create New ExtensionExtension developer tools create a Workspace directory and a subdirectory that contains the files and initial module for your extension. This… Continue reading Extension Development Life Cycle

Updating Item options In Cart

For updating an item option in the cart when a customer adds any item to the cart, we can update it by using the function setItemOptions. Syntax: setItemOptions(itemlineid,optionMap) Updates the item options for a particular cart row. Parameters itemlineid [required] optionMap [required] {Array of Item Option ID value pairs} Example Extending Liveorder Model file to update the… Continue reading Updating Item options In Cart

Resolve Error: “getaddrinfo ENOTFOUND xxxxxx_sb1.restlets.api.netsuite.com” when Fetching Theme and Extension files in Sandbox

Solution In the Theme or Extensions Development Tools directory, open this file: …/ns_npm_repository/oauth1/index.js Find the following line of code: return this._baseStep(`${this.vm ? ” : account}${this.urls.step3}`, params); Replace it with the following line of code: return this._baseStep(`${this.vm ? ” : account.replace(‘_’,’-‘)}${this.urls.step3}`, params); In the Theme or Extensions Development Tools directory, open this file: …/gulp/ns-deploy/net.js Find the… Continue reading Resolve Error: “getaddrinfo ENOTFOUND xxxxxx_sb1.restlets.api.netsuite.com” when Fetching Theme and Extension files in Sandbox