Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Passing the user language from MRE-User to Report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Passing the user language from MRE-User to Report
 Login/Join
 
Gold member
posted
Hi,

I encountered following problem:

I want to fit my report language to the language the MRE-User has selected.

As far as I know, the user-language is stored in IBIWF_language.

Set report language can be set with SET LANG = DE

Now I'm looking for a way to pass the the language from MRE to the report, i.e.:

SET LANG = IBIWF_language

(or something like this).

But the report doesn't recognize IBIWF_language.

Would appreciate any help.

Thanks,

Stefan

This message has been edited. Last edited by: Stefan,


WF 7.6.9
PMF 5.1.3
BID 7.6.9

Win XP
HTML, PDF, Excel, PowerPoint
 
Posts: 69 | Location: Germany | Registered: September 21, 2009Report This Post
Member
posted Hide Post
quote:
IBIWF_language

Try the below steps:
1) If you are sure that IBIWF_language would store the language selected by MRE-User then, by running this command: -TYPE &IBIWF_language must display the content of the variable: IBIWF_language. If it is displaying the language value then it means you can set the same language in your report by adding the below command:
SET LANG = &IBIWF_language

2) If this (-TYPE &IBIWF_language) command in your report is not returning any value then, first try to capture the language selected by MRE user into one variable say -SET &USER_LANG='';. Next, you can use the same variable in your calling report setting the below command in your report:
-SET LANG = &USER_LANG;


Version: WebFOCUS 7.6.6
O.S. WebFOCUS is mounted on Unix
Output Report: HTML, Excel, CSV, PDF and TXT
 
Posts: 14 | Registered: November 24, 2008Report This Post
Expert
posted Hide Post
If you're using "Dynamic Language Switch", you most likely need to add the following line to the Custom Settings in the WF Admin Console Configuration panel:

<set> IBIWF_language = &IBIWF_language (pass)


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
Francis is on the right track, but the syntax is actually:
<SET> IBIWF_language (pass)


This tells the WebFOCUS Client to pass the value of IBIWF_language to the Reporting Server.

The syntax Francis was using is kind of a hybrid of the old way to send variables and the new. It might in fact work, but its not the way the syntax is Documented.

e.g. The following would also work:
<SENDVAR>
IBIWF_language = &IBIWF_language
<ENDSENDVAR>


WF 71.x, 76.x, 7701, 8.0 Beta OS: Linux, Win2k3, Win2k, Win2k8, WinXP


 
Posts: 203 | Registered: November 19, 2007Report This Post
Gold member
posted Hide Post
Hi all,

thanks for your great ideas.

I put
IBIWF_language(PASS)
in my site.wfs. After restarting the http-Server it works as expected.


WF 7.6.9
PMF 5.1.3
BID 7.6.9

Win XP
HTML, PDF, Excel, PowerPoint
 
Posts: 69 | Location: Germany | Registered: September 21, 2009Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Passing the user language from MRE-User to Report

Copyright © 1996-2020 Information Builders