Monday, September 8, 2014

Steps to create new plugin for BingMap by Eclipse in Microstrategy Perspective

Very important links related to this post:

In my previous post, I have discussed the "Steps to configure Microstrategy with Eclipse". In this post, I am going to reveal the steps for creating the plugins for BingMap by Eclipse in Microstrategy Perspective.

Step1: Open Eclipse and go to the Microstartegy perspective and click on Select plugin icon in Application Settings tab.


Step2: Type new plugin name and click on ok.


Step3: After this, the new plugin will be created at following location:


Step4: Create new style for each of the 3 java files by clicking on new Style under Application settings tab.


Step5: Fill the wizard as shown in image.


Step6: Establish relation between [style 2 and style1 ] and [style 3 and style 2]. For this select style2 and style parameter tab at the bottom.




Step7: Now map layout.xml with Style2. for this, select style2 and click on style layouts tab at the bottom and select the path of already existing layout.xml file.

After these steps, our plugin will be ready to test and it will be automatically deployed in Microstrategy folder in Tomcat folder which was generated due to exploding of Microstrategy.war on tomcat start. Now, we can do most of the visual work by doing some changes in layout.xml file. The Layout.xml file is an xml file having some javascript code inside it. We can easily modify the javascript code here to get visual appearance as per our requirement. We can easily debug the javascript code inside this xml file by using Chrome debugger tool.

Very important links related to this post: