Embedding Instructions into Prompts

Sometimes, prompts can be complicated either in usage or in business implications.  While we can leave some notes for the user in the prompt description, sometimes it would be nice to be able to do a little more than that space provides.  Thanks to a tip from reader Arnold Slabbekoorn, here’s a method for embedding a popup with additional information directly into the prompt itself.


Step 0 – Setup

The first thing you need to do is enable HTML Output in the Prompt Description.  You can find this setting in Web Server Configuration by logging in as the Administrator and navigating to the Security section.  This option is off by default.
The option you need to enable is the Prompt titles and descriptions.
Step 1 – Create a Document
This doesn’t actually have to be a document, and it could be any URL or wiki page.  For the purposes of this example though, I’m going to create a document that contains the information I want to display.
Step 2 – Add Code to the Prompt
Edit the prompt you want to annotate navigate to the section for Instructions.
Add the following code to the Instructions box.

<a style="cursor:pointer;color=blue" onclick="window.open('Main.aspx?evt=2048001&src=Main.aspx.2048001&visMode=0&documentID=B1D168D64E5F81042390878DFDA74FD7&currentViewMedia=2&hiddenSections=dockTop', '', 'height=435,width=710');" >Click here for Instructions</a>

Results
The results look like this in Web:


And when you click on the blue Click here for Instructions



Tips

  1. If you’re using a Document like I am in this post, you can make it more seamless by removing the MicroStrategy toolbars.  See this post for more details on how to do that.
  2. For more information on how to create the Javascript popup, check out this post.

You may also like...

6 Responses

  1. Sorin says:

    Awesome!
    I wonder if you can use jQuery for making the instructions fade in on hover over. Just saying… 🙂

  2. Jim Lett says:

    Hi Bryan – I used the document approach but I cannot seem to be able to link to the document…Am I supposed to be replacing the green colored text with the browser address from my linkto document. When I do that and click on the link nothing happens.

  3. Great!

    Thank for such an information 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *