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

KB46886: "TypeError: cannot read property elem of undefined" when duplicating or pasting a grid in a panel stack and then switching panels using a panel selector in Editable Mode in MicroStrategy Web


Community Admin

• Strategy


"TypeError: cannot read property elem of undefined" when duplicating or pasting a grid in a panel stack and then switching panels using a panel selector in Editable Mode in MicroStrategy Web 9.x

SYMPTOM:
 
Strategy Web 9.x Developers might encounter the following error when duplicating/copy-pasting a grid inside a panel stack and switching panels with a panel selector:
 
Sample Code/Error
"TypeError: cannot read property 'elem' of undefined"
 

ka04W000000OgKvQAK_0EM44000000269X.png

 
STEPS TO REPRODUCE:

  • In Strategy Web 9, create a document with any dataset.
  • Insert a panel stack with two panels and a button bar panel selector.
  • Insert the dataset as a grid in one of the panels. The document will look as follows in Design Mode:
     
     
ka04W000000OgKvQAK_0EM44000000269T.png
  • Run the document in Editable Mode
  • Right click the grid and select duplicate as shown below:
     
     
ka04W000000OgKvQAK_0EM44000000269Z.png
  • Now switch panels using the panel selector, notice that a javascript error will show just below the toolbar and clicking on it will reveal the pop-up shown in the symptom:
     
ka04W000000OgKvQAK_0EM44000000269V.png

Note: The error will also show up when copying and pasting a grid in editable mode in the panel stack.
 
CAUSE:
 
This is a known issue when duplicating / copy-pasting grids in Editable Mode in Strategy Web 9.4.1.
 
ACTION:
 
Contact Strategy Technical Support for an update on this known issue.
 
WORKAROUND:
 
Use design mode instead of editable mode when duplicating or copying grids into panel stacks.
 


Comment

0 comments

Details

Knowledge Article

Published:

June 15, 2017

Last Updated:

June 15, 2017