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

KB41420: Content and title of a report sent via Distribution Services are in the default metadata language rather than the user language after creating a new subscription in Command Manager 9.4.x-10.x


Community Admin

• Strategy


This knowledge base article documents why content and title of a report sent via Distribution Services are in the default metadata language rather than the user language after creating a new subscription in Command Manager 9.4.x-10.x

SYMPTOM:
After creating a new subscription via Command Manager 9.4.x-10.x for a user with a language preference other than the default for the metadata, it may be noted that the content and title of the associated report are generated in the metadata language.
 
TROUBLESHOOTING STEPS PERFORMED:
It is possible to replicate this issue in the Tutorial project according to the following steps: 

  • Set English as the default language for the metadata, with French as a secondary option:

ka04W000000OeKpQAK_0EM4400000029hy.jpeg
  • Set the language for the user to French in the User Editor in Developer:

ka04W000000OeKpQAK_0EM4400000029hg.jpeg
  • Ensure that the 'Supports multiple languages' option is checked for attribute forms to be incorporated with the report:

ka04W000000OeKpQAK_0EM4400000029hk.jpeg
  • Add a French translation for the report name:

ka04W000000OeKpQAK_0EM4400000029hp.jpeg
  • Log in with this user to run a report in Developer, to ensure that the content is displayed in French, as desired:

ka04W000000OeKpQAK_0EM4400000029i0.jpeg
  • Execute the script below to create a file subscription for the user:
     


    
    CREATE FILESUBSCRIPTION  "subscription_name"  FOR OWNER "owner_name"
    
     SCHEDULE "schedule_name"   USER "user_name"  CONTENT "report_name" IN FOLDER "location"  IN PROJECT "Project_name"
    
     DELIVERYFORMAT   PDF   FILENAME "tile_name"  SUBJECT "SUBJECT" ;



     
    Please note that this issue persists for deliveries by e-mail or print.
     
  • Trigger the subscription and note that the user receives the content of the subscription in the default metadata language.  The title also appears in English:
ka04W000000OeKpQAK_0EM4400000029hu.jpeg

CAUSE:
The language used for the content of subscriptions created via Command Manager is governed by the user preferences defined in the Web interface.
 
ACTION:
This issue can be addressed by selecting the desired language within the user preferences in Web.  In the above example, setting the language preference to 'French' would result in the content of the report being generated in the target language:

ka04W000000OeKpQAK_0EM4400000029hn.jpeg

After logging back into Web to ensure that the above modification takes effect, the report title and content will be sent to the user in French on the next execution of the subscription:

ka04W000000OeKpQAK_0EM4400000029hi.jpeg

  
 
 


Comment

0 comments

Details

Knowledge Article

Published:

June 12, 2017

Last Updated:

June 12, 2017