This document provides a walkthrough for creating new modules in DXA. It outlines the prerequisites and key components for the CMS and CDS parts of a module. For the CMS part, it describes the predefined structure including module folders, sub-folders for administration, development and editing, and how to create module components, editorial schemas and templates, and content. For the CDS part, it explains how to start with an existing DXA project, create an area, and register the area and view models. The document encourages readers to try creating a module themselves and provides contact information.
1 of 23
More Related Content
Step By Step Dxa Module creation
1. DXA Modules A Walkthrough
Creating New Modules
Raj Kumar
Sapient
2. 2
What's & Why
Additional functionality
Self-contained
Packaged
Installable
Increases flexibility
Re-usability
Independent release of the modules
Extend DXA
Share your work
3. 3
SDL Tridion 2013 SP1 / SDL Web 8
Visual studio 2013
DXA installed
Good mood
Red Bull (optional)
PREREQUISITES
6. 6
DXA Modules requires a
predefined structure for putting all
the building blocks of the module.
The name of folder is usually
module name
Settings also have folder as in
Module but it just contains
component etc. for defining any
settings.
CMS PART
7. 7
Each of folder may contain
Admin - Content Manger Administrator
Developer - Template, TBBs and/or Module developer
Editor - Content Author/Editors
Site Manager - Site level management, e.g. API keys
Sub Folders in Module and Security
8. 8
.
Second Step: Create Module Component.
Module Name
Version
Dependency
Configurations
Resources
14. 14
Two ways to Start with CDS part
Use exiting DXA project and create required Area using Mvc ' Add
Area..
You can use Visual studio extension for DXA to add, required files
e.g. Registration and Model classes.
17. 17
. Update JWPlayerAreaRegisteration.cs so that it
inherits from Sdl.Web.Mvc.Configuration.BaseAreaRegistration class
Overrides the RegisterAllViewModels method to register above view and view-model in view-
registry. see below image , This is again very important step
Area Registration