Guided Journey – Developing a Wizard Component using EPiServer CMS
Guided Journey – Developing a Wizard Component using EpiServer CMS
Requirement:
The purpose of the online guided journey is to showcase all programs or services offered by MEDC and its partners in the state of Michigan. By self-identifying, a user will be able to quickly get to a listing of resources available along with a link to where more information can be found on each of the programs or services.
Functional Prototype Design:
Development Approach:
The user must choose a path to go down to.
We would like to build ourselves a cool, simple, and flexible wizard component block using Episerver CMS, Bootstrap, and frontend JavaScript framework.
We would like to make this component as simple and user friendly as possible for content authors to create Guided Journeys.
Example:
When the user clicks on Path 1, we provide them with options to choose from Path 1.1, path 1.2, and Path 1.3, and if they click on Path 1.1, they will be given options to choose Path 1.1.1, Path 1.1.2, Path 1.1.3, and so on.
The following illustrates the requirement from the Architect's point of view.
This can be achieved in different ways, using nested blocks (performance and maintenance nightmare?), or link list (maybe). I choose my new fascination “Generic Property List”.
Based on the prototype, the guided Journey requires the following
- Step Image – Contentreference/URL
- Step Title- String
- Path Data - Custom PropertyList
- Path Title - String
- Path Description (Needed for end of Journey modal) - XHTMLString
- Path Resource Link (Needed for end of Journey modal) - URL
- Step Image - Contentreference/URL
- Step Title - String
- Path Data - Custom PropertyList
- Path Title
- Path Description (Needed for end of Journey modal)
- Path Resource Link (Needed for end of Journey modal)
- Step Image
- Step Title
- Path Data
- Not sure Text
- Not Sure Text - XHTMLString
- Not sure text - XHTMLString
Each step is a JSON object, the Path data property from the step object is an array of more steps (nested JSON object).
CMS Generic property list used in Block:
JSON Output:
Wizard component block on a page:
"A successful application never really is complete but is constantly being improved, hopefully based around users needs."
Please share your comments if you would like to approach it differently.
“Wishing you a season that’s merry and bright with the light of God’s love.”
Awesome.
I just had a request to build out a simular wizard. This is a good approach :) Thank you for shairing.
Excellent idea