How to modify the default length of an email subscription message in MicroStrategy

When we are using MicroStrategy Distribution Services and  try to delivered the reports based on subscription then we have the limitation to place only upto 250 characters in the message body. If we want to add some more text then we need to modified the default setting or add plugin to apply new setting such as MicroStrategy SDK customization . 

In another way we can modify the default system definition file .
By default, the length of the message for an email subscription is hardcoded to 250 characters

However, if the user must modify the value in the out of the box files manually for some reason, the following steps must be implemented:

  1. Locate the file "sys_definitions.xml" in the "\WEB-INF\xml\" folder. The location of this folder may vary depending upon the web server application used to host MicroStrategy Web and the operating system in which the web server is installed. For example:
    When running Microsoft Internet Information Services (IIS) on Windows 7, the "sys_definitions.xml" file can be found in the following location:
    C:\Program Files (x86)\MicroStrategy\Web ASPx\WEB-INF\xml\

    When running Tomcat 7.0 on Windows XP, the "sys_definitions.xml" file can be found in the following location:
    C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\MicroStrategy\WEB-INF\xml\
  2. Open the file (sys_definitions.xml) in a text editor and search for the following line:
    "Length of the message allowed for the scheduled email and send now features"
     n="customMessageLength" scp="user_project" v="250" dt="integer" mn="1"
     class="com.microstrategy.web.app.preferences.PreferenceDefinitionMinMax"

  3. The value presented as v="250" must be changed to the desired value e.g v="5000"
  4. The Web Server (Tomcat, IIS, WebSphere, WebLogic, etc) must be restarted for the updated value to take effect. 
Once the web server restarted you can add your required characters in the message.
 

Comments