/$ref/: /@msdyn365-commerce-theme/adventureworks-theme-kit/dist/lib/modules/adventureworks/adventureworks.definition.json/,
/$type/: /themeModule/,
/friendlyName/: /My custom Adventure works/,
/name/: /custom-adventureworks/,
/description/: /This is my custom adventure works theme./
}
<at>import '<at>msdyn365-commerce-theme/adventureworks-theme-kit/dist/lib/modules/adventureworks/styles/adventureworks-base.theme.scss';
Another approach I tried is to copy the whole <at>msdyn365-commerce-theme/adventureworks-theme-kit/dist/lib/modules/adventureworks folder into my custom folder (more-less base on https://community.dynamics.com/forums/thread/details/?threadid=dbdd635d-5775-40b2-a15e-411246c71898)
While starting the application I get the following error:
-- Error: Unable to find parent definition file for file /src/themes/custom-adventureworks/definition-extensions/search-result-container-v2.definition.ext.json
at mergeExtendedDefinitionFile (/node_modules/@msdyn365-commerce/definition-generator-internal/src/utils/helpers.js:133:15)
at ModuleDefinitionGenerator.isValidJsonFile (/node_modules/@msdyn365-commerce/definition-generator-internal/src/module-definition-generator.js:152:31)
at ModuleDefinitionGenerator.start (/node_modules/@msdyn365-commerce/definition-generator-internal/src/module-definition-generator.js:119:25)
at runDefinitionGenerator (/node_modules/@msdyn365-commerce/definition-generator-internal/src/utils/helpers.js:53:46)
-- Error processing extended definition file /src/themes/custom-adventureworks/definition-extensions/search-result-container-v2.definition.ext.json.
-- Please check to make sure parent definition exists, the extended definition is the right type and does not override parent properties.

Report
All responses (
Answers (