EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB18006: How to disable the pop-up that emerges when double-clicking on one of the attributes of a hierarchy prompt in MicroStrategy Web 10.x


Community Admin

• Strategy


How to disable the pop-up that emerges when double-clicking on one of the attributes of a hierarchy prompt in MicroStrategy Web 10.x

When double-clicking on one of the attributes of a hierarchy prompt in Strategy Web 10.x, a pop-up window will emerge in order to give the user the possibility to qualify any of the attribute forms based on a typed value, as shown below:
 

ka04W000000OfnPQAS_0EM4400000028bp.jpeg

 
However, it is possible to disable this pop-up window so when users double-click on the attribute it gets expanded showing all its elements allowing the user to move them to the right hand side and answer the prompt in this way, as shown below:
 

ka04W000000OfnPQAS_0EM4400000028bm.jpeg

 
In order to get this, a customization must be done in Strategy Web 10.x. Follow the steps below:
 

  1. Open PromptFunctions.js in the following location ..\Web ASPx\javascript with Wordpad or Notepad.
  2. Search for `AddItemsbyListObjectForHIInTree`.
  3. Add this line within the function:
    bAttributeQualSupported = false;
  4. So the functions should look as follows:
     
    function AddItemsbyListObjectForHIInTree(sFromList, sToList,
    sPin,bAttributeQualSupported,sOperatorType){
    var oOption;
    var sCurrentAttributeValue;
    ...
    var isSelectionAdded = false;
    // Removing the Qualify popup window for Tree Style Hierarchy Prompts
    bAttributeQualSupported = false;

    // add to right-side
    ...
     
  5. Save the file.
  6. Restart the Strategy Web 10.x Server.

Customization Warning:
This customization is provided as a convenience to Strategy users and is only directly applicable to the version stated. While this code may apply to other releases directly, Strategy Technical Support makes no guarantees that the code provided will apply to any future or previous builds. In the event of a code change in future builds, Strategy Technical Support makes no guarantee that an updated version of this particular customization will be provided. For enhancements to this customization or to incorporate similar functionality into other versions, contact your Account Executive to inquire about Strategy Consulting assistance.
 


Comment

0 comments

Details

Knowledge Article

Published:

July 24, 2017

Last Updated:

July 24, 2017