Eclipse setup

Install following to de-compile class files:

decompiler

 

Where is tomcat installed app:

C:\Users\shibBasak\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\MicroStrategy

This should be also the “Application Root” in MSTR Eclipse config

Turning off JS validation in eclipse:

js_validation

Where is MSTR Eclipse plugin?

it is a separate zip file.

 

 

Posted in Uncategorized | Leave a comment

My Links

Plunker for UI coding

Posted in Uncategorized | Leave a comment

Customizations

Posted in Uncategorized | Leave a comment

HTML container in MicroStrategy 10 Presentation mode

There have been issues with dashboards in Presentation mode that uses JavaScript through HTML container. In previous versions often HTML container will hold JavaScript which can be linked to a panel. For example, upon clicking an image/button, a popup window(hidden panel) will appear. With MicroStrategy 10 presentation mode this scenario may not work. It appears that id of HTML element have changed and I also found ids have different format and dynamic, changes on every render. One attribute that remains static is the k element. See below screenshots from chrome dev tool.

 

1.1 Id of source element

Basically we need to find a way get a hold off source, which will initiate event. For example, an icon which will bring up a popup upon clicking. If we insert this image through HTML container, we can assign an id in html img tag. If img is inserted through image insert, we can use k attribute. Please follow similar steps as in section 1.2.

 

1.2 k attribute of target panel

 

 

 

 

More to come. Leave a comment if you need quick update.

 

Posted in Uncategorized | Tagged , , , , , | Leave a comment

MicroStrategy Bone note

https://lw.microstrategy.com/msdz/MSDZ_World2015/docs/ReferenceFiles/com/microstrategy/web/app/transforms/AbstractAppTransform.html

AbstractAppTransform is an abstract class that acts as the parent of all Transforms used by Web Universal. It’s job is to abstract general behavior that can be inherited by all the classes who extend it. There are several reasons to have a parent abstract class, among them:

  • Include the set of methods and FormalParameters that are shared among all our transforms.
  • Ensure that all transform follow the same execution flow.
  • Ensure the basic HTML structure of all transforms is consistent across the application.

The javascript class informs the DHTML code the bone associated with this component. A bone is the corresponding concept of a bean in Microstrategy’s javascript environment. Those Transforms that require a bone should override the getScriptClass() method.

Posted in Uncategorized | Tagged , , , | Leave a comment

How to wrap text around HTML table – L shaped HTML text

  • Define table
  • Align table left(or right, as needed)
  • Write text to wrap

Sample code below


<table cellpadding="0" cellspacing="0" border="1" width="200" align="left">
<tr><td>Row 1 - Cell 1</td></tr>
<tr><td>Row 2 - Cell 2</td></tr>
</table>
<p>Hello, this is a beautiful day!! This text wraps around the table on the left. This text wraps around the table on the left.
This text wraps around the table on the left. This text wraps around the table on the left.
This text wraps around the table on the left. This text wraps around the table on the left.
This text wraps around the table on the left. This text wraps around the table on the left.
This text wraps around the table on the left. This text wraps around the table on the left.
</p>

Posted in web development | Tagged , , | Leave a comment

Police bans rallies for private university students

This news really caught my eyes by surprise. This week govt placed VAT for private university students. So private students came down streets in protest and as usual they caused some damages. Consequently Police banned any rallies for private university students. They rather suggested students to find a peaceful solution upon talks. I am against any damaging activities. But I am wondering if same was done by public university students, will police had taken such step? Is there a double standard? By the way, I myself went to a public university.

Posted in Uncategorized | Leave a comment

Hello world!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Posted in Uncategorized | 1 Comment