Variables in URL iview

Hi.
We are going to create URL iview in Portal 60 SP15.
When we create URL iview, We want to use variable for URL parameter. (For example <User.UserID>)
Any idea ?
Regards, Arnold.

hi,
under configuring url parameters you can see that
http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/98dc60ad8243139402836e11abb2ba/frameset.htm
If you set the parameter as a variable that can be personalizable by end users , 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.
Regards,
Ganesh N

Similar Messages

  • Url iView: passing user/pass as get variables.  Launching in new window

    Hi,
    I pass username and password as get variables from a url iView, and want a page containing this iView to open in a new page using the "Launch in new window" property set to "Display in a separate window". 
    When previewing the iView or page it is on, it works fine.  But when launching it from the detailed navigation, this does not work.  A new window is opened, but the user is prompted for username and password.
    The page to display is an external site, and we have only got the url with user/pass to access it.
    Any ides on what can be wrong?
    Best Regards,
    Bjorn

    Hi,
    Using the url in IE works fine.  It seems to work everywhere but in the portal menu.
    I have the appintegrator in the back of my mind, and will start to have a look at it.  We are also considering a OSS message - this must be a bug in the system as far as I can see.
    Bjorn

  • Parsing url iview variables

    Hi all,
    I need create a URL iview that redirect to a target page parsing one variable.
    How can I call the URL iview with one variable and propagate this variable to a target page?
    thanks in advance,
    david

    Hi David,
      While creating the url iview, pass you variable at the end of the url like http://www.yahoo.com?myVariable.  And in the target, you can get the myVariable value using getParameter method.  Hope this will help you.
    Regards,
    Venkatesh. K
    /* P.S: Consider Points if it is useful */

  • Set user Language in URL IView

    Hello,
    I am trying to put the Language of the user in the parameters of the URL.
    For example :
    http://sopraganesh.cr.infra.lab/redirect.asp?page=ECD&lang=en
    How can I parameter the URL IView to automatically retrieves the language of the connected user?
    Thanks for your help,
    AN

    Hi
    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.
    Procedure
           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
    Description
    GET
    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: http://www.google.com/search.asp?&querystring=SAP where querystring indicates the parameter identifier and SAP is the parameter value.
    POST
    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: http://www.google.com/search.asp.
    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:
    Attribute
    Description
    URL Parameter
    Specifies the parameter identifier as recognized by the information source. For example, in the URL http://www.google.com/search.asp?&querystring=SAP, 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.
    Value
    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.
    Type
    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.
    Personalize
    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.
    Name
    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

  • Multi-language with URL-iViews

    hi folks,
    I have the following little problem:
    Our EP is mostly based on URL-iViews to static HTML-sites in german. Now, we are planning to extend the EP with an english Version. The Users should see the portal in the language they choose in the portal personalization menu.
    My first thought was to use the portal-content-translation but this doesn't work for URL-iViews, as there is almost no text to be translated.
    Now, my idea is to put a little script between the portal and the HTML-sites that checks the chosen language and redirects the user to the specific version.
    The Problem is, I have no idea how to do that.
    It would be really nice if anyone could tell me how to do this or maybe you have a better solution for my problem.
    Thank you in advance for your efforts.
    Kind regards
    Norbert

    Hello Michael,
    unfortunately that doesn't work.
    If I put an URI like http://yourcontentserver.com/<request.language>/content1.html
    in the URI file of the URL-iView Editor and after that on preview I get the following error: page could not be found
    When I use a PHP-Script to catch the variable like http://yourcontentserver.com/index.php?lang=<request.language>
    I can't put it like that in the URI field cause I can't save it.
    When I use the URL-parameter fields and enter "lang" and "<Request.Language>" I get the following URL as an result:
    http://yourcontentserver.com/index.php?lang=%3CRequest.Language%3E
    As you can see, the variable isn't "translated".
    Maybe you could I didn't understand you right?
    Message was edited by: Norbert Stroh

  • SSO to BW reports via URL iView

    Hi all,
    I've searched the forum on this but could not get a clear guide. Here's my scenario:
    1. We use Windows logon credentials to sign on to the Enterprise Portal
    2. Once signed in, authorized users load a URL iView.
    3. The iView contains URL links to SAP BW reports.
    4. Based on user's role, they can access only certain reports.(Available report URLs will be different)
    5. User clicks on the link and opens another Internet Explorer window to show the BW report <b>without signing on</b> again.
    Key question: How do we incorporate the SAP Logon Ticket into the URL and how do we configure BW server to accept SSO based on this URL?
    Any help is much appreciated. Thanks!

    Hi Kok,
    The first step is you need to create a system object under system administration --> system configuration --> system landscape. Expand the portal_content. Right click the folder and create a new folder. Then right click on the folder to create a new system. This system object should point towards the BW system. You need to give the details of the BW server. The right click the system object and create an alias.
    If you are using BW 3.5, you need to follow the 13 steps given under img. If BW version < 3.5 then you have to export the portal ticket to BW and BW ticket to EP.
    Regards
    Arun

  • Problem with URL iView regarding fetch mode and SSO to non-sap webapps

    Hi,
    I have created an URL iView which opens an internal webapp. When the fetch mode is set to client-side the page is displayed for the user. But when I set the fetch mode to server-side, the page cannot be displayed by the user.
    No proxy is needed. I tried to open the wepapp direcly on the portal server without any problem. Are there any additional points to be considered?
    On the other hand I want to realize SSO to this webapp (form based authentication) with user mapping. Is it correct, that I have to user server-side fetch mode, when I want to use the POST request method?
    Thanks ahead,
    Bernd

    >
    Bernd Speckmann wrote:
    > On the other hand I want to realize SSO to this webapp (form based authentication) with user mapping. Is it correct, that I have to user server-side fetch mode, when I want to use the POST request method?
    Yes.
    >Are there any additional points to be considered?
    Have a look at System Administration - System Configuration - Service Configuration - Applications - com.sap.portal.ivs.httpservice
    This is used to do the Server side fetch.
    Have fun
    Johannes

  • Configuring SSO to a URL iView

    hi everyone......
    i'm relatively new to EP....
    and my requirement is.....
    i've created a URL iView and when i logon to the portal.....i need my <b>yahoo or gmail inbox</b> to appear in this URL iView.....
    i read frm a thread that i need to confgure SSO for this by creating a system....
    can u plz guide me how to configure SSO and also the usermapping.......
    help is highly appreciated....
    thanks and regards,
    Sudheer

    Hi Sudheer,
    Please Ensure The following:
    SSO with Yahoo:
    UPLOAD:
    1.Upload the par in PCD
    SYSTEM CREATION:
    1)Create ->System from par -> select com.sap.portal.howtos.webapp -> web application->give name & Id
    2)Properties-->object->system definition
           Name of the server : login.yahoo.com
           Port : (empty)
           URI :/config/login
    3)create alias
    4)set user Mapping
    IVIEW CREATION:
    1)Iview from par
    2)Iview type:com.sap-appintegrator.sap
    3)template:generic
    4)Properties Setting:
         System : (system alias name )
         URL Template :<System.protocol>://<System.server><System.uri>?<Authentication>
         URL Template fragment for UserMapping: <System.protocol>://<System.server><System.uri>?<Authentication>
    Regards,
    Ramganesan K.

  • How to change the URL of a URL-iView over Code ?

    Hi all,
    i am getting started with the Portal-Application-Developement and want to change the URL of an URL-iView on runtime with java-code.
    i have read the context and can get the Property url with this statement.
    endContext.getProfile().getProperty("url")
    But if i change this property, nothing is done.
    endContext.getProfile().setProperty("url", "http://www.yahoo.com");
    Where is my fault.
    Thanks for help.
    Regards Jürgen

    Hi,
    the context is of Type IPortalComponentContext.
    I cant find no method getParameter() at the context or the profile.
    The methods to read the properties of the URL-iView are
    context.getProfile().getProperty("url")
    context.getProfile().getAttributeValue("url")
    But if i want to set (change) this attribute, nothing is done.
    Regards Jürgen

  • How to pass SSO Login Ticket to an URL iView

    Hello experts,
    We have an application running on Netweaver and it is setup to accept SSO Login Tickets for authorisation.
    I have the following question:
    We want to expose some of the portlets in our application in a portal page using URL iViews, but we don't know, how to setup this environment, so for each iView, the SSO Login ticket is passed to the portlet of our application (this way access to it can be granted)?
    How can we achive this? Or, is there another approach for this scenario?

    Hi Megha,
    The portlets are part of our application which is deployed on the same Netweaver App server as is the Portal.
    When the user log in into the Portal - SSO Tiket is being issued and we want this ticket to be passed to the URL of the URL iView, but currently HTTP 401 error is returned or HTTP Basic authentication login popup is displayed. We want to be able to use the SSO Ticket for this purpose.
    Regards,
    Georgi

  • Problem with JavaScript in URL iView

    Hi,
    I am facing a problem with javascript when i am trying to access my application through URL iView. In the javascript window.top is used to access the frames in the window. But the EP is not recognizing it as valid. what exctly the problem and please suggest me a solution.
    Ashok.

    Hi,,
    thanks for the quick reply. But what i asked was different. I will put it in different way. I have deployed a application in Web Application Server and trying to access it through URL iView. My application is pure J2EE application with html,jsp and JS files. In javascript we used window.top property of the java script which is working fine MS IE. The problem is window.top is a IE specific property which is not having any equallent open standerd so EP is throwing a java script error. As I know the only possible solution for this problem is inherating IE rendaring capabilities to iView(i.e iFrame). is there any way to do that?
    Ashok.

  • URL iView doesn't open link in new window

    Hi All,
    I'm have an URL iView that I want to display in the portal content area but whenever the user clicks on a hyperlink on that iView launch a new window for the link.
    I've tried using the 'Open iView links in new window' without any success. Is this supposed to work or this property is for another purpose...? Can someone point me to a solution.
    Thanks

    Hi Detlev,
    I checked what you said. I've already looked at that page but didn't saw that important disclaimer. My problem was that I didn't had a captured area-URL iView but a full page-URL iView as it says:
    +These properties are relevant in the following instances only:
    §         The iView content is displayed in its source format. The rendering type must be defined as Keep Source Formatting. See Defining the Look and Feel of the iView Content.
    §         The iView content displays a captured area, and not the entire Web page. See Selecting the Capture Area.+
    I only had to change the 'Open iView links in new window' to Yes after capturing a part of my page and it started working.
    Thanks for sharing

  • Open web page from URL iview in maximized window

    Hi,
    I would like to open a web page in a <b>maximized</b> browser window, using an URL iView.
    I know how to open a window in a separate window, I just can't get it maximized.
    N.B. I do <b>NOT</b> want to open in <b>fullscreen</b> mode, i.e. I want a title bar and menus.
    Does anyone know how to do it?
    I tried to play around with the "window function" property of the iView, but no luck so far. I can't specify a fixed width and height of the target window at design time, as these values may vary at runtime.
    regards
    Lothar

    Hi Lothar,
    Yes, That will require Java Coding, Its true. Basically what the problem here is that to maximize we are trying to fetch the Screen resolution dynamically through Portal that Portal is not allowing us. Thats why I feel that we should go for Java Programing, Create a Par, Deploy it in the server and then create iView for that.
    For Creating the Abstract Portal Component for Opening a Maximized Window You should do following steps.
    1. Open Your NWDS
    2. Create a project ie Portal Application
    3. Create Portal Object ie Abstract Portal Component.
    Now here is the piece of code that may help you
              response.write("<SCRIPT language=javascript>");
              response.write("function onOpenWindow()");
              response.write("{");
              response.write("window.open('http://abc.com','windowName','width=screen.availWidth,height=screen.availHeight,resizable=yes')");
              response.write("}");
              response.write("</SCRIPT>");
              response.write("<a href = \"javascript:onOpenWindow()\">abc.com</a>");
    Paste this code in doContent...
    I think it may help you
    Thanx & Regards
    Anish

  • Difference: SAP BW Report iview - Query iView - URL iView

    Hi,
    I want to show BW reports on the portal. Can anybody suggest me the different ways of doing it ? And also let me know about checklist of steps that need to be performed.
    Can anybody tell me the difference between showing BW reports through URL iviews, showing reports through Query iView and showing reports through SAP BW Report iView ?
    Which one can i use for showing BW reports taking into consideration the implementation of SSO between the two? I tried the URL iView (using the Web URL of reports generated by BW) but it asks for Username/password. Is that the problem with SSO. How can i check if SSO parameters have been set or not. I have imported the verify.der to BW System and added that to ACL. Is there anything else which is required?
    Thanks in advance.
    Rgds,
    MA

    Hi Manoj,
    I feel BW report iview will solve your problem. You can create a query sting in BW query designer and give the same in BW query  string text area while creating BW report iview.
    In the case of an url iview you are just giving a URL link of the BW report (this will ask for username/password).
    But, in the case of a BW report iview you can view the required query as an iview (user mapping can be successfully done in this case) You should give fully qualified domain name in Was server option while creating the system.
    While using the logon ticket Login id of both the system (ie BW and Portal) should be the same.
    Refer the link for SSO using logon ticket)
    User Mapping-based Single Sign On
    Regards,
    Vinod

  • Print BW report embedded via URL Iview

    Hi,
    We have a VC application which contains a BI report. In the VC we created a "Print" button which should print the entire contents of the VC Application. Unfortunately it seems this print is not compatible with the URL Iview since it ignores the content of the BI report.
    Is this normal ? Is there a workaround available in VC to print a BI Web application via the VC ?
    thanks

    Please let us know if there are any updates on this. I am also facing the same issue where I have a WAD report ( html link) in the VC model along with other reports in VC. The Print screen just prints the VC part and the WAD part comes as blank.
    Regards,
    Nidhi

Maybe you are looking for