Templates
Documentation article about Templates
Templates
Templates
The templates object lists all HTML template files included in the extension by application. The application object includes one object per application (shopping, myaccount, and checkout). Each application lists each file in the files array.
json
1//...2"templates": {3 "application": {4 "shopping": {5 "files": [6 "Modules/MyCoolModule/Templates/acme_mycoolextension_mycoolmodule_list.tpl",7 "Modules/MyCoolModule/Templates/acme_mycoolextension_mycoolmodule_edit.tpl",8 "Modules/AdditionalCoolModule/Templates/acme_mycoolextension_additionalcoolmodule_list.tpl",9 "Modules/AdditionalCoolModule/Templates/acme_mycoolextension_additionalcoolmodule_edit.tpl"10 ]11 },12 "myaccount": {13 "files": [14 "Modules/MyCoolModule/Templates/acme_mycoolextension_mycoolmodule_list.tpl",15 "Modules/MyCoolModule/Templates/acme_mycoolextension_mycoolmodule_edit.tpl",16 "Modules/AdditionalCoolModule/Templates/acme_mycoolextension_additionalcoolmodule_list.tpl",17 "Modules/AdditionalCoolModule/Templates/acme_mycoolextension_additionalcoolmodule_edit.tpl"18 ]19 },20 "checkout": {21 "files": [22 "Modules/MyCoolModule/Templates/acme_mycoolextension_mycoolmodule_list.tpl",23 "Modules/MyCoolModule/Templates/acme_mycoolextension_mycoolmodule_edit.tpl",24 "Modules/AdditionalCoolModule/Templates/acme_mycoolextension_additionalcoolmodule_list.tpl",25 "Modules/AdditionalCoolModule/Templates/acme_mycoolextension_additionalcoolmodule_edit.tpl"26 ]27 }28 }29},30//...Frequently Asked Questions (4)
In which applications can the template files be used?
The template files can be used in the 'shopping', 'myaccount', and 'checkout' applications.
What structure does the 'templates' object follow in a NetSuite extension?
The 'templates' object consists of an 'application' object that includes one object per application. Each application lists its template files in an array.
Are the template files specific to each application in a NetSuite extension?
No, the same template files are listed under each application ('shopping', 'myaccount', 'checkout') in the extension.
How are template files organized within the 'templates' object?
Template files are organized under each application within the 'templates' object in file arrays, associated with modules like 'MyCoolModule' and 'AdditionalCoolModule'.
Source: Templates — Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.
Was this article helpful?
More in General
- Field Service Management Enhancements and Bug Fixes for 2026
Overview of the 2026 Field Service Management SuiteApp updates showcasing enhancements and bug fixes.
- Example
Documentation article about Example
- Integrating NetSuite Connector with Shopify: Setup Guide
Integrate your NetSuite Connector with Shopify seamlessly by following this setup guide, including key authorization steps.
- Manual Edits
Documentation article about Manual Edits
Advertising
Reach General Professionals
Put your product in front of NetSuite experts who work with General every day.
Sponsor This Category