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

KB32162: How to add header and/or footer information to individual exported reports and multiple exported reports in MicroStrategy Web


Community Admin

• Strategy


How to add header and/or footer information to individual exported reports and multiple exported reports in MicroStrategy Web

 
In Strategy Web  a user has the option to add header and footer information at 3 levels.
 
The user level, where all the reports for a particular user will contain a specific user defined header and/or footer.
This can be defined in the 'User preferences' -> Export Reports -> Export Header and Footer -> Edit custom settings..   as shown below:
 

ka0PW0000002vYTYAY_0EM44000000287z.jpeg

 
This will lead you to a new window where the different header and footer options are available so that any report this particular user exports will contain that information.
 
The Project level, the same setting exists, which will apply to all reports for all users in that particular project so that any report exported will contain the specific information in the header and footer. Additionally, there is a project header and footer which will display the information for any report executed via web for the project (not just exported reports).
 

ka0PW0000002vYTYAY_0EM440000002886.jpeg

 
Keep in mind that the project level settings can be done only by the designated Strategy administrator user.
 
 
The report level,  where only a specific report will display the header and/or footer information defined by a user. For this to take place, the user must define this at least once when exporting (either Excel or PDF) when the export options window pops up and clicks the 'Edit custom settings' button.
 

ka0PW0000002vYTYAY_0EM44000000287y.jpeg

 
The options displayed would be the same and are configured the same way as the User level preferences, however, if the user would like the header and footer to be permanent for a particular report, the user must save the report again after exporting with the header and/or footer options selected.
This will enable the options for header and/or footer to be saved through the report definition. Any changes to the report, even if prompted will not reset the header and footer.  If the header and/or footer need to be removed, it must be done manually through the export options window and saving the report again after exporting.
Please note:
In Strategy 2021 update 3, due to the risk for tab nabbing of the browser, the design was changed to stop tab nabbing function, which led to the options not being able to be kept.
However there is a workaround available starting from Strategy 2021 update 9 - please follow below steps:
 
Modify the settings in the web server:
 

  1. Find the file named "sys_defaults.xml" which exists under the Strategy/WEB-INF/xml .
  2. Open it, find the keyword "exportOptionReferrer", and modify the value to 1. like the following:
     
    <pr des="A flag to allow opener to pass to export page from current report" n="exportOptionReferrer" scp="server" v="1"/>
  3. Restart Tomcat.
  4. Open a report and export. A dialog is displayed. Modify the options to customize it and export.
  5. Click the edit button or do some other manipulations, and save the report. Now the options are saved into the report definition.
  6. Next time you see the export dialog, the options will be the same as those you selected last time.
  7. For distribution services, subscribe to the report with the modified option saved in the definition.

 
 
 


Comment

0 comments

Details

Knowledge Article

Published:

June 15, 2017

Last Updated:

August 9, 2024