From f04cb0d1f19eff0812ae39737a62d4208ade2532 Mon Sep 17 00:00:00 2001 From: lfoussat <35296671+lfoussat@users.noreply.github.com> Date: Mon, 22 Apr 2019 16:12:16 +0100 Subject: [PATCH] add capture of admin to illustrate documentation --- doc/create-steps.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/doc/create-steps.md b/doc/create-steps.md index d898ac81..b3d4abb3 100644 --- a/doc/create-steps.md +++ b/doc/create-steps.md @@ -15,15 +15,19 @@ The objects contained in the administration part of the onboarding phase are obj ### Relate a step to a major object Every step is related to the major object you want to costum as a child. To create a child, you must: 1. Create a new object for your step in the admin (in Admin > "Add new object") + Capture d’écran 2019-04-22 à 15 57 37 + Capture d’écran 2019-04-22 à 15 58 21 * The title of your object will be the title displayed for the step you're creating. Use a intellegible title for your user. * This object must have the same type as your major object ("signup" for the sign up phase, "onboarding" for the administration part of the onboarding) + 2. Add this new object as a child of your major object - 1. Edit the major object - 2. Go to "Children" > "Add a child" - 3. Set up the new child: - * Enter its name in the input "Add a child name" - * Select you child in the select input - * Click on "ADD" + 1. Edit the major object + 2. Go to "Children" > "Add a child" + ![add child to major object](https://user-images.githubusercontent.com/35296671/56506977-de50c800-6517-11e9-9c71-d19a1ec4e5cd.png) + 3. Set up the new child: + * Enter its name in the input "Add a child name" + * Select you child in the select input + * Click on "ADD" ### Settings for a form step > In the child object you've created, 2 attributes must be filled: @@ -33,6 +37,7 @@ Every step is related to the major object you want to costum as a child. To crea To set up the child object you've created with these elements: 1. Edit you child object 2. Go to "Object attributes" + Capture d’écran 2019-04-22 à 15 59 33 3. Add the attributes: * Add a new key **"subtype"** of type `String` with the value 'onb-adm-form-generator' * Add a new key **"form"** of type `Object`