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

KB44121: A JavaScript error message appears when the Insert Function button is clicked in the Insert New Metric window in MicroStrategy Web


Community Admin

• Strategy


A JavaScript error message appears when the Insert Function button is clicked in the Insert New Metric window in MicroStrategy Web.

SYMPTOM:
A user attempting to insert a function into a new derived metric is shown the "Insert Function" window but it appears empty and a JavaScript error appears in Strategy Web 9.3.0, like shown below.

ka04W00000148sWQAQ_0EM4400000026bs.png

 

ka04W00000148sWQAQ_0EM4400000026c4.png


Sample Code/Error
Strategy Web
Strategy client-side error log:

TypeError: this.settings is undefined at http:///MicroStrategy/javascript/mstrFunctionWizardEditorImpl.js:1

 
STEPS TO REPRODUCE:

  • Run a report.
  • Right click on a metric header and click "New...", as shown below.
ka04W00000148sWQAQ_0EM4400000026cB.png
  • Insert a function into the definition using the function button, like shown below.
     
ka04W00000148sWQAQ_0EM4400000026cA.png
  • Notice the empty Insert Function message, shown below.
ka04W00000148sWQAQ_0EM4400000026bs.png
  • Clicking on the JavaScript error that appears on the page shows the following error:
ka04W00000148sWQAQ_0EM4400000026c4.png
  • 
    Sample Code/Error
    Strategy Web
    Strategy client-side error log:
    
    TypeError: this.settings is undefined at http:///MicroStrategy/javascript/mstrFunctionWizardEditorImpl.js:1



     

CAUSE:
The user attempting to add a function does not have access to the "Functions and Operators" folder located under the Schema Objects folder in Strategy Desktop 9.3.0, as shown below.
 

ka04W00000148sWQAQ_0EM4400000026c5.png

 
ACTION:
Change the security properties for the "Functions and Operators" folder to allow users the ability to view the contents of the "Functions and Operators" folder located under the Schema Objects folder. Also check "Apply changes in permissions to all children objects" to give the user access to all subfolders as well.


Comment

0 comments

Details

Knowledge Article

Published:

June 15, 2017

Last Updated:

June 15, 2017