Exercise – Using Command, Object, and Integrity Managers

In this exercise, you will use Command Manager to create a Project, then Object Manager to move some objects into it. Finally, Integrity Manager will be used to compare the Reports between source and target Projects:

  1. Open MicroStrategy Command Manager. In Windows, it is installed by default in C:ProgramDataMicrosoftWindowsStart MenuProgramsMicroStrategy Products.
  2. Connect to the MicroStrategy Analytics Modules Project Source. If the Login window doesn't open by default, go to File | Connect | MicroStrategy Metadata.
  3. We will now check the different outlines (scripts and examples) that exist in Command Manager. Click on the Outlines... button:

From the Outlines window, Choose Outline contains commands for different object types and administrative tasks. Give yourself a few minutes to browse through the different folders and familiarize yourself with the examples and syntax.
  1. We will first list all the Reports we have created so far within MicroStrategy Tutorial. Open the Report_Outlines folder | List_Reports_Outline | Verify the syntax and review the sample | Insert | Cancel to close the window:

  1. Modify the script so that it reads like this:

LIST ALL REPORTS IN FOLDER "Public ObjectsReportsMy Exercises" FOR PROJECT "MicroStrategy Tutorial";

Make sure that the folder path starts with . If you saved your Reports in a different path, change the command accordingly.
  1. Click on the Execute icon to run the command:

You should see all Reports and Intelligent Cubes within that folder.

  1. We will create a new Project. Delete the prior script and click on Insert Outline | Project_Outlines | Create_Project_Outline | Insert | Close the window.
  2. Modify the script so that it reads like this:

CREATE PROJECT "MicroStrategy Tutorial UAT" DESCRIPTION "User Acceptance Project";

  1. Click on the Execute icon to run the command.
  2. In MicroStrategy Developer, reconnect to the MicroStrategy Analytics Modules Project Source. If it was opened, close and reopen it. Make sure that your newly created Project MicroStrategy Tutorial UAT is there.
This is an empty Project with no objects, but with the default folder structure. Also, there is no Database instance associated to it. If you want to move Reports from MicroStrategy Tutorial, which uses a source database, we will need to associate the same database instance to the MicroStrategy Tutorial UAT Project. For this exercise, this won't be required since we will use the Intelligent Cube imported from an Excel file in Chapter 5, Dashboarding - Creating Visual Reporting, which won't connect to the database.
  1. We will use Object Manager to move some objects into the new Project. Open MicroStrategy Object Manager. In Windows, it is installed by default in C:ProgramDataMicrosoftWindowsStart MenuProgramsMicroStrategy Products.
  2. In the Open Project Source window, select MicroStrategy Analytics Modules Project Source and click OPEN.
You can either select a 2-Tier or 3-Tier Project Source.
  1. Click on File | Open | This will open a second window to the same MicroStrategy Analytics Modules Project Source | OPEN.
This step is optional since you can move the objects within the same Project Source/window.
  1. There will be two windows on your screen. Let's arrange them horizontally. Select Window | Tile Horizontally.
  2. In the top window, browse in MicroStrategy Tutorial and locate My Exercises. In the lower window, browse in MicroStrategy Tutorial UAT to Public ObjectsReports.
  3. Drag and drop the following objects from MicroStrategy Tutorial to the Reports folder in MicroStrategy Tutorial UAT:
  • Imported Cube
  • Category Dataset

 

A Conflict Resolution window will open. There, you can see which objects will be moved and the Action associated with the migration, such as Use Existing, Replace, Use Newer, or Create New. In this example, the two objects are new to the Project. Click Proceed to move the objects to the new Project.

Every time any Schema Objects are moved to a Project, it is necessary to perform an Update Schema: In Object Manager Project menu | Update Schema. In this exercise, this is not necessary.
  1. Close each Project source by right-clicking the Project Source in Object Manager | Disconnect from Project Source | Close Object Manager.
  2. Open MicroStrategy Web to publish the Intelligent Cube in the new Project and test our Report. Open MicroStrategy Tutorial UAT Project and navigate to Shared Reports; there you will see the two objects we moved | Right-click Imported Cube | Republish. Browse to the folder in your computer where the TutorialData.xlsx file is and select it | Open | Finish.
  3. Once the cube is refreshed, click Done | Execute the Category Dataset Report.
  4. The last part of this exercise consists of verifying the two reports are the same between both environments. This last part requires a Server connection/3-Tier Project Source. Open MicroStrategy Integrity Manager. In Windows, it is installed by default in C:ProgramDataMicrosoftWindowsStart MenuProgramsMicroStrategy Products.
  5. Go to File | Create TestProject versus Project.
You might want to review the different options for future reference.
  1. In the Server Name box, type the Intelligent Server name. If you don't know or you can't remember its name, you can go to MicroStrategy Developer and right-click on the Project Source | Modify Project Source | Copy the Server name from the Project Source Manager box | Switch to Integrity Manager and paste it in | Input the Port number (you can use the same procedure as before) | Type the Login id and Password | Select MicroStrategy Tutorial from the Project dropdown | Next.
  1. Repeat the process to add a MicroStrategy Tutorial UAT Project | Next | the MicroStrategy Tutorial folder structure will be shown. Browse to the My Exercises folder and select Category Dataset | Next | Next (leave the text boxes about prompt answers blank) | Next (leave the default output directory for log files) | Check SQL/MDX and Data | Next:

  1. Click Save Test | Filename Chapter7 | Save | Run | Select the Category Dataset row to see the results | Check that both SQL/MDX and Data tabs match:

In this example, we are not really using SQL since the Report accesses a cube imported from an Excel file.
  1. Without closing Integrity Manager, go back to MicroStrategy Developer | Access the MicroStrategy Tutorial UAT Project | locate the Category Dataset Report | Edit | Remove Month from the Report view | Save and Close.
  1. Return to Integrity Manager | Select the Category Dataset row | Right-click Refresh Selected Items to rerun the test | Select the Category Dataset row to see the results | Verify that the SQL/MDX and Data tabs do not match:

  1. This finalizes the exercise.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.166.75