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

KB320116: Customizing MicroStrategy Web 10.5 to Display Attributes in Folders Using the Web SDK


Community Admin

• Strategy


MicroStrategy Web can be customized to display attributes and other objects from the folder browsing interface, using the MicroStrategy Web SDK and the Web Customization Editor.

SYMTOM:
By default, attributes are not displayed when browsing through folders within the Strategy Web interface, even if a shortcut to the attributes folder within the Schema Objects folder is made through Strategy Developer.
 
In the below screenshot, a shortcut is created in Strategy Developer:

ka0PW0000000k7hYAA_0EM440000002GMF.jpeg

 
Browsing through this shortcut in Strategy Developer, into a subfolder containing attributes, displays the attributes in the folder:

ka0PW0000000k7hYAA_0EM440000002GMH.jpeg

 
This shortcut can be seen from the Strategy Web interface, if placed in a folder that Strategy Web has access to:

ka0PW0000000k7hYAA_0EM440000002GMJ.jpeg

However, browsing into a subfolder containing attributes doesn't display the attributes within by default:

ka0PW0000000k7hYAA_0EM440000002GM7.jpeg

 
CAUSE:
This is normal platform behavior and is working by design - attributes are not shown in Strategy Web by default, when folder browsing. 
 
ACTION:
Strategy Web can be customized to display attributes and other objects from the folder browsing interface, using the Strategy Web SDK and the Web Customization Editor. 
The following steps demonstrate how to change this behaviour:

  • Launch the Strategy Web Customization Editor.
  • Create a new plugin and give it a meaningful name.
  • Navigate to Strategy Web Configuration->Pages->my(My Reports).
  • Double-click on my(My Reports) to open the page in the editor.
  • Select the "Add-on Properties" tab from the bottom, which shows all add-ons tied to this page.
  • Click through each "FolderSetFlagsAddOn" element until the "Add-on Properties" shows "beanName" with the value "fb":
ka0PW0000000k7hYAA_0EM440000002GMB.jpeg
  • In the "Add-on Properties" section click "Add New" to add the "typeRestrictions" property to this add-on.
  • This property takes comma separated int values, based on the values from EnumDSSXMLObjectTypes.
    • See this developer zone reference for a full list of options: https://www2.microstrategy.com/producthelp/Current/WebAPIReference/com/microstrategy/webapi/EnumDSSXMLObjectTypes.html
    • All object types to be shown need to be included here, including default object types (documents, reports, etc), else they will no longer be shown.
  • To show the object types “attribute,document,ext shortcut,folder,report,shortcut” use the comma separated values “12,55,67,8,3,18”, obtained using the reference above:
ka0PW0000000k7hYAA_0EM440000002GM8.jpeg
  • Save all changes, and repeat the steps for the “shared(Shared Reports)” page.
  • Save all changes, and restart Strategy Web to complete the customization.

After following these steps correctly, attributes will now display in Strategy Web within any folder that contains attributes:

ka0PW0000000k7hYAA_0EM440000002GMD.jpeg

ADDITIONAL INFORMATION:
The Strategy SDK allows you to customize several Strategy products and extend and integrate the Strategy business intelligence functionality into other applications. However, before changing the way Strategy products look or behave, it is helpful to understand how the application is built. For more information regarding the Strategy products or the process of customizing Strategy products, please refer to Strategy Developer Zone (https://developer.Strategy.com).
To access the Strategy Developer Zone, you must have access to the Strategy Knowledge Base, you must have purchased the Strategy SDK, and you must be current on your Strategy maintenance agreement. If you are a US-based business and believe that you satisfy all three of these conditions but you do not have access to the Strategy Developer Zone, please contact Strategy Technical Support at support@Strategy.com or at (703) 848-8700. If you are an international business, please contact Strategy Technical Support at the appropriate email address or phone number found at https://www.Strategy.com/us/services/support/contact.
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. In the event of a code change in future builds, Strategy may not be able to provide additional code on this matter even though this customization is provided at this time for this specific build. 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:

March 30, 2017

Last Updated:

February 14, 2024