Page Type and Component Type IDs

A page type or component type ID is a combination of the subdirectory (if any) where the meta definition file and script file are located under cartridge/experience/pages or cartridges/experience/components, and the file name without the extension. Separate the levels of the subdirectory and the file name with periods. For example, for a page type named homepage with a meta definition file and script file located directly under cartridge/experience/pages, the page type ID is homepage. If the meta definition file and script file for homepage are located in a subdirectory storefront/campaigns under cartridge/experience/pages, the page type ID is storefront.campaigns.homepage.

Table 1. Example Page Type and Component Type IDs
Location of Page Type or Component Type ID
mycartridge/cartridge/experience/components/assets/headlinebanner.json assets.headlinebanner
mycartridge/cartridge/experience/components/assets/banners/headlinebanner.json assets.banners.headlinebanner
mycartridge/cartridge/experience/pages/promopage.json promopage
mycartridge/cartridge/experience/pages/promotions/promopage.json promotions.promopage