In first and second parts of my blog I explained how Lumira Style Lasso is working and implemented. In last part of the blog, I will focus on Undo Previous Step command issue with Lasso and how to resolve it.

    Problem

    Design Studio provides Undo Previous step menu command. This command takes you only one step back whereas using Lasso filtering is two step process (Lasso selection and Decision making popup). So Undo Previous Step command takes you to decision making step (modal window) from where you have no choice but filter or exclude again. Suppose you excluded carrier AZ

Lasso 12.jpg

Lasso 13.jpg

Then after you decided to undo AZ carrier exclusion. If you choose standard command from context menu it will take you take you to decision making popup rather then undoing Lasso Exclude altogether.

Lasso 14.jpg

Lasso 15.jpg

    Solution

    I added two toolbar buttons:Undo Previous Step and Undo Two Previous Steps.

Lasso 16.jpg

Here is BIAL script for the buttons.

Lasso 17.jpg

Lasso 18.jpg

I had to download custom font icons because there is not standard button for Undo Two Previous Steps button and use custom font icons for both buttons to keep look consistent.

Lasso 19.jpg

Lets see new Undo Two Previous Steps button in action

Lasso 20.jpg

Lasso 21.jpg

Lasso 22.jpg

Lasso 23.jpg

So it works like a charm.

Attached is an exported model (unpack and change extension to zip prior to importing).

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply