Skip to Content
author's profile photo Former Member
Former Member

Set user Language in URL IView


I am trying to put the Language of the user in the parameters of the URL.

For example :

How can I parameter the URL IView to automatically retrieves the language of the connected user?

Thanks for your help,


Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2005 at 09:17 AM


    Once you have defined the iView’s URL to the targeted Web page, you may need to configure parameters that are passed to the information source as part of the URL. In the URL iView Editor, you can do the following to URL parameters:

    · Add, remove, and modify URL parameters

    · Determine whether or not portal end user can view and personalize URL parameters at runtime

    · Assign intuitive display names to URL parameters that are viewed or personalizable by portal end users

    · Specify the URL request method (GET or POST)

    If you navigated to the targeted Web page and defined the iView URL using the portal built-in browser, the URL parameters and request method may already been defined in the URL iView Editor.



    1. Open the iView in the URL iView Editor.

    The editor does not display URL-specific parameters in the URL address within the URL box. URL parameters that were part of the URL referencing the selected Web page (the information source) are automatically removed from the source URL and displayed in the URL parameter list in the editor. At runtime, the portal automatically appends the URL and the listed parameters to the targeted URL request.

    2. In the Request Method option, choose either GET or POST to specify the request method. The request method indicates how the browser sends information to the information source:

    Request Method



    This request method appends parameters to the URL when the data request is sent to the information source. The server receives the data in one long query string, which typically limits the length of parameters that can be passed.

    For example, a URL using the GET request method would be: where querystring indicates the parameter identifier and SAP is the parameter value.


    This request method sends parameters for the URL in the header of the data request stream; parameters are not appended to the URL. This allows for long parameters to be passed to a script and parsed one element at a time.

    For example, a URL using the POST request method would be:

    POST is only supported when the Fetch Method property defined in the iView is set to Server-side. For more information, see URL iView Properties.

    For iViews that have a mixture of parameters sent by GET and POST together, you must:

    § Choose POST as the request method.

    § Set the Fetch Mode property to Server-side

    § Append the GET_EXPLICIT_ prefix to the parameter identifier of each parameter that is sent by GET. For example, a parameter defined as searchstring should be defined as GET_EXPLICIT_searchstring. When the iView sends a data request, the prefix is removed from the parameter identifier at runtime. Parameters sent by POST do not require a special prefix.

    3. To add a parameter, click Add below the table. A new entry is added to the parameter list.

    To remove a parameter, select the checkbox of the relevant parameter in the list and click Remove. Before doing so make sure the parameter is not required by the information source.

    4. Define the attributes of existing or new parameters, as follows:



    URL Parameter

    Specifies the parameter identifier as recognized by the information source. For example, in the URL, the parameter identifier is querystring.

    As stated above, parameters that need to be sent by GET when the request method is defined as POST, must have the GET_EXPLICIT_ prefix. For example: GET_EXPLICIT_searchstring.

    Enter special characters that are present in the parameter identifier as is. Do not convert them to ASCII code. For example, enter first name, and not first%20name. At runtime, the portal will encode special characters to ASCII when fetching the iView data.


    Specifies the value of the parameter. This is not mandatory.

    If you set the parameter as a variable that can be personalizable by end users (see following attribute), then this value will be the parameter’s default value. However, if you set the parameter as not personalizable, then this value is the fixed value of the parameter.

    Enter special characters present in the parameter value as is. Do not convert them to ASCII code.


    Specifies the data type of the parameter.

    Choose one of the following options:

    · String: Apply this option for all data types whose property is not a mapped user name or password; for example, an integer or string.

    · Mapped User: Apply this option when the URL parameter designates a “user name” that is required to authenticate the user with the information source at runtime.

    · Mapped Password: Apply this option when the URL parameter designates a “password” that is required to authenticate the user with the information source at runtime.

    § When Mapped User and Mapped Password are selected, the Value and Personalize attributes cannot be edited.

    § If you want to enable user mapping for the user name and password parameters, in the System drop down-down list, choose an appropriate system already defined in the portal, which contains the necessary settings. See Selecting a System.


    Specifies whether or not portal end users can view the parameter and its assigned value if they personalize the iView at runtime. This attribute also allows you to determine whether or not end users can personalize the parameter value.

    Choose one of the following options:

    · Hidden: The end user does not see the parameter and its value. This is the default setting.

    · Read / Write: The end user sees the parameter and is able to modify its value.

    · Read Only: The end user sees the parameter and the fixed value assigned to it. The end user cannot modify the parameter value.


    Specifies an intuitive display name for the parameter identifier. If you set the parameter to be viewable by end users at runtime, this name is displayed instead of the parameter identifier, which is often abbreviated and unintuitive.

    This attribute is available only if Read / Write or Read Only is selected in the Personalize attribute. If you do not specify a name, the Personalize attribute will be reverted to Hidden.

    with regards

    subrato kundu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2005 at 03:00 PM

    hi deltev

    basically my intention is to give exactness as per query so inorder to copy paste i have given required section u have misunderstood me.pasting the link always does not give u solution .i am quite fair enough not vindictive in my effort because it also requires time to find out and paste the source hope u will understand because the question is very specific.

    With regards

    subrato kundu

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Subrato,

      I disagree. I have listed the arguments, you have nothing set against them. Anyhow, the quotation in fact was not resolving the issue, so this was worse as it could be otherwise.

      Please, I just pointed out some circumstances which are not very lucky. I would appreciate it if such arguments would count. It's just for making the lives of the questioners easier. Exactly this should be our aim, shouldn't it?!



  • author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2005 at 03:19 PM

    Thank you for this help, but I thought it was possible to transfer parameters only with a generic URL IView without using specific java development.

    I don't want the user select the language, but only transfer the one of the logon user.

    I tried different solution for example in the param of IView, I put

    param : lang value : <Request.Language> with different form.

    I also put * in the param : parameters to Pass

    I display all the parameters in the corresponding page but no language or lang param in my page.

    I suppose the only way is to Request.Language in java to pass the user language in the URL.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.