Home
Analytics
Import BIRT report to MAXIMO 7 with localized lables
avdouevs
I am trying to create my own BIRT 2.3.2 report for Maximo 7.1 (Base Services 7.1.1.6) and I have following problem. I define label texts using localize tab. When I preview my report in Eclipse all the labels are displayed correctly, however when I import my report to Maximo all the labels that are defined using localization feature are no displayed at all.
I do importing in the following way. First, in Maximo report administrator I choose "new report" and then fill in text fields.
File name: "file.rptdesign" file Application: WOTRACK
report type: BIRT folder: WOTRACK
After that I press save. Next, I select import report and select file "file.rptdesign" from my file system. I leave resource file field blank. Finally, I generate a request page and choose to preview the report. I don't get any error messages.
In the report, data is fetched correctly, not localized text is displayed properly, but localized text is not visible.
Am I doing something wrong? Do I have to do something with reports.xml file or do I have to do something with wotrack.properties file? I didn't add any new words to localization dictionary. Do I have to refer to WOTRACK application somewhere in the design file?
Question #2: If I add some new words in localization, how do I upload these changes to MAXIMO?
Thank you in advance,
Ivan
Find more posts tagged with
Comments
RCirne
<blockquote class='ipsBlockquote' data-author="'avdouevs'" data-cid="70994" data-time="1291377983" data-date="03 December 2010 - 05:06 AM"><p>
I am trying to create my own BIRT 2.3.2 report for Maximo 7.1 (Base Services 7.1.1.6) and I have following problem. I define label texts using localize tab. When I preview my report in Eclipse all the labels are displayed correctly, however when I import my report to Maximo all the labels that are defined using localization feature are no displayed at all.<br />
<br />
I do importing in the following way. First, in Maximo report administrator I choose "new report" and then fill in text fields. <br />
<br />
File name: "file.rptdesign" file Application: WOTRACK<br />
report type: BIRT folder: WOTRACK<br />
<br />
After that I press save. Next, I select import report and select file "file.rptdesign" from my file system. I leave resource file field blank. Finally, I generate a request page and choose to preview the report. I don't get any error messages.<br />
<br />
In the report, data is fetched correctly, not localized text is displayed properly, but localized text is not visible.<br />
<br />
<br />
Am I doing something wrong? Do I have to do something with reports.xml file or do I have to do something with wotrack.properties file? I didn't add any new words to localization dictionary. Do I have to refer to WOTRACK application somewhere in the design file?<br />
<br />
Question #2: If I add some new words in localization, how do I upload these changes to MAXIMO?<br />
<br />
<br />
Thank you in advance,<br />
Ivan<br /></p></blockquote>
<br />
To upload resources to a report, put the files (properties, images, javascript, etc) in a zip file and put the path to this zip file in the resources field of the import report dialog.<br />
<br />
I hope this helps.
avdouevs
Thank you very much for your response. Adding all the .properties files and reports.xml to the zip file and uploading it to Maximo solved my problem.<br />
<br />
Best Regards,<br />
Ivan<br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="'RCirne'" data-cid="71100" data-time="1291735290" data-date="07 December 2010 - 08:21 AM"><p>
To upload resources to a report, put the files (properties, images, javascript, etc) in a zip file and put the path to this zip file in the resources field of the import report dialog.<br />
<br />
I hope this helps.<br /></p></blockquote>
RCirne
Glad I could help.
leeysh
Hi Ivan,
I did the same method you mentioned. Created and zipped all ****.properties, ****_zht.properties and reports.xml and import them with the Report. However, when I login to MAXIMO in Chinese, the reports do not show in Chinese.
Can know what is in your reports.xml?
Cheers,
Genevieve
avdouevs
Hi Genevieve,<br />
<br />
I apologize for a late response. According to our latest experience it is not necessary to attach reports.xml at all. In report design open Propery Editor and resources. There specify your ****.properties as a properties file. May be you will have to add it to shared resources before you will be able to add it there.<br />
<br />
After that put ****.properties and xxxx_zht.properties to a .zip folder and upload it with report.<br />
<br />
<br />
Best regards,<br />
Ivan Avdouevski<br />
<br />
<blockquote class='ipsBlockquote' data-author="'leeysh'" data-cid="78230" data-time="1307613734" data-date="09 June 2011 - 03:02 AM"><p>
Hi Ivan,<br />
I did the same method you mentioned. Created and zipped all ****.properties, ****_zht.properties and reports.xml and import them with the Report. However, when I login to MAXIMO in Chinese, the reports do not show in Chinese.<br />
<br />
Can know what is in your reports.xml? <br />
<br />
Cheers,<br />
Genevieve<br /></p></blockquote>
leeysh
<blockquote class='ipsBlockquote' data-author="'avdouevs'" data-cid="78754" data-time="1308562408" data-date="20 June 2011 - 02:33 AM"><p>
Hi Genevieve,<br />
<br />
I apologize for a late response. According to our latest experience it is not necessary to attach reports.xml at all. In report design open Propery Editor and resources. There specify your ****.properties as a properties file. May be you will have to add it to shared resources before you will be able to add it there.<br />
<br />
After that put ****.properties and xxxx_zht.properties to a .zip folder and upload it with report.<br />
<br />
<br />
Best regards,<br />
Ivan Avdouevski<br /></p></blockquote>
<br />
Hi,<br />
Thanks for your reply. Recently I managed to deploy in another computer and it worked. Probably the Chinese language installed in my own development environment got corrupted. So it doesn't show.<br />
<br />
Thank you once again!
<br />
<br />
Cheers,<br />
Genevieve
avdouevs
No problem!<br />
<br />
<blockquote class='ipsBlockquote' data-author="'leeysh'" data-cid="78755" data-time="1308563317" data-date="20 June 2011 - 02:48 AM"><p>
Hi,<br />
Thanks for your reply. Recently I managed to deploy in another computer and it worked. Probably the Chinese language installed in my own development environment got corrupted. So it doesn't show.<br />
<br />
Thank you once again!
<br />
<br />
Cheers,<br />
Genevieve<br /></p></blockquote>