U4-10540 - Make it possible to run custom logic for a tour step

Created by Mads Rasmussen 16 Oct 2017, 07:18:38 Updated by Mads Rasmussen 28 Oct 2017, 05:04:08

Subtask of: U4-10305

For some steps, we will need a way to validate user input. Either through custom logic, calling services or other forms of validation. Therefore we need to make it possible to run custom code for a tour step either through callbacks, custom views or both. We will need to find the best approach so it becomes as flexible as possible but also easy to use.


Mads Rasmussen 18 Oct 2017, 06:56:30

This has been fixed as part of PR for U4-10541

I have added validation to the different tours where needed. This is possible to do with a custom tour step. What to test:

  • Create doc type tour ** Check that you can only name the doctype "Home" ** Check that you can only name the property "Welcome Text"
  • Create content tour ** Check that you can only name the new node "Home"
  • Media library ** Check that you can't go to next step without uploading an image

Claus Jensen 18 Oct 2017, 11:20:49

Tests confirmed to work.

Priority: Normal

Type: Task

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.8.0

Due in version: 7.8.0

Sprint: Sprint 70

Story Points: 1

Cycle: 5