Please click on any Advertisement, if you like this blog.

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:

Wednesday, August 27, 2014

Steps to configure Microstrategy with Eclipse


Very important links related to this post:

Hi Guys, recently I got the opportunity to work on plugin for BingMap using Microstrategy. For this, I had to configure MSTR (Microstrategy) with Eclipse. This was our first step in this task and I think it was the most tedious task as it had taken almost 3 days due to lack of clear steps with screenshots. I am trying to give here the steps with screenshot, so that others can do this configuration with in few hours.

Step1:  Download and install Eclipse IDE suitable for java programming
Step2: Install Java.
Step3: Install tomcat. No need to establish a relation between Tomcat and Eclipse.
Step4: Increase memory of Java from Tomcat configuration editor. If it is not done, we will get "Out of Memory Error" regularly while working on MSTR perspective in Eclipse.


Step5: Download Microstrategy.war and place it at "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps".
Step6: Start tomcat. After this,a folder with name as  "Microstrategy" will be created at "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps"
Step7: Download SDK for Microstrategy from "https://resource.microstrategy.com/support/" and find Eclipse plugin for Web Customization Editor from this "SDK\tools\WebCustomizationEditor". Extract the zip file and place this plugin folder in "Eclipse/plugin" folder.
Step8: In Eclipse, click on Window -> Preferences -> Microstrategy. You will get a Microstrategy configuration window as shown in image:


Step9: In this window, fill data as shown in image in each of the spaces like in text boxes for "Application Root", "Microstrategy Web URL" and check box for "Visual Settings". After this, click Apply and Ok button.
Step10: To start working on Microstategy, we have to open Microstrategy perspective and for this click on "window -> Open Perspective - > others.. -> Microstrategy Web Customization Editor".

Step11:  Your Microstrategy Perspective will be ready with tabs like Application Settings, Css Settings and Package Explorer as shown in image.




This is all about configuration of MSTR with Eclipse. Please add your inputs if I have missed something.


Very important links related to this post: