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

KB13339: How to implement folder navigation starting from a specific folder in a hierarchy prompt in MicroStrategy Desktop 9.x


Stefan Zepeda

Salesforce Solutions Architect • Strategy


When defining a hierarchy prompt in Strategy Desktop 9.x, project architects may want to display a subset of available hierarchies based on their location within the folder tree, and also allow the user to navigate all of the subfolders underneath the desired root folder.
 
Refer to the following Strategy knowledge Base technical note for more information on how to create a hierarchy prompt.:
 
KB4000-7X0-0503 - How to create a Hierarchy Prompt in Strategy Agent 7.x
For instance, consider a folder structure such as the following:
 

  • Finance hierarchies
    • Geography hierarchies
      • Geography hierarchy 1
      • Geography hierarchy 2
    • Time hierarchies
      • Calendar hierarchy
      • Fiscal calendar hierarchy
  • Sales hierarchies
    • Sales regional hierarchies
      • Sales regional hierarchy 1
      • Sales regional hierarchy 2
    • Time hierarchies
      • Calendar hierarchy
      • Sales cycle calendar hierarchy

The project designer would like to create a set of hierarchy prompts originating from the "Finance hierarchies" folder. From this location, the user could navigate into the "Geography hierarchies" and "Time hierarchies" folders, and from there choose the hierarchies desired.
 
Other hierarchy prompts should originate from the "Sales hierarchies" folder, from which the user would see "Sales regional hierarchies" and "Time hierarchies."
 
When creating the hierarchy prompts using the option 'List all hierarchies (no restriction),' the user may navigate through the folders, but the origin is always the Data Explorer folder inside Schema Objects\Hierarchies. In this scenario, the desired behavior is to start folder navigation at an arbitrary folder anywhere in the project.
 
It is also possible to create a hierarchy prompt using the results of a search object to define which hierarchies to allow. In a search, an originating folder may be specified; however, by default the results of the search are displayed as a single flat list and the folder structure is not represented.
 
NOTE: Shortcuts to hierarchies are interchangeable with hierarchy objects in terms of prompting, making this a powerful way to organize the end-user experience of navigating among hierarchies.
 
To achieve the desired prompting behavior, follow the steps below:
 

  • Create a new search (Tools menu -> Search for Objects). In the 'Look in' box, name the folder from which navigation should begin. (In this example, the folder is inside the Data Explorer, but it could be anywhere in the project.) Also, uncheck the box to include subfolders (it is checked by default), as shown below:
ka02R000000kY1CQAU_0EM440000002FZ2.gif
  • On the Object Types tab, select to search only for hierarchy objects, as shown below:
ka02R000000kY1CQAU_0EM440000002FZF.gif
  • Save the new search object.
  • Create a new prompt object. Under Filter definition prompt, select 'Choose from all attributes in a hierarchy', as shown below:
ka02R000000kY1CQAU_0EM440000002FZ3.gif
  • On the next page of the wizard, choose the option to use the results of a search object and select the search from step 3, as shown below:
ka02R000000kY1CQAU_0EM440000002FZ5.gif
  • Continue with the remainder of the prompt definition by choosing default prompt answers, specifying the Web display style, and providing descriptive text.
  • Before the prompt will display folders when it is executed in a report, it is necessary to reopen the search object for editing and enable the search to retrieve folder objects. Note that folders and hierarchies are both enabled in the image below:
ka02R000000kY1CQAU_0EM440000002FZH.gif

NOTE: Due to an architecting restriction in Strategy Desktop, if the search object is configured initially to retrieve hierarchies and folders, the prompt wizard will not allow users to use that search in a hierarchy prompt. It will display the following error:
 

ka02R000000kY1CQAU_0EM440000002FZI.gif

 
This search object does not return objects of the desired type.
Please use a valid search object.
To get around this error, it is necessary to configure the search to retrieve only hierarchies at first. After the search is used in the hierarchy prompt, it is the possible to edit the search to retrieve folders as well.
 
When the report is executed with Strategy Desktop, the user will be able to navigate into the folders underneath the search origin, as shown below:
 

ka02R000000kY1CQAU_0EM440000002FZE.gif

 
The folder structure will also display in Strategy Web.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 12, 2017

Last Updated:

June 12, 2017