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 */

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

  • 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

  • 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

  • Portal runtime error while accessing BI Report as URL iView

    Hi All,
    I created an URL Iview with the URL of BI report, when i am trying to access it then getting portal runtime error.
    I had check the log it is showing the following details about the error, could you please help me out what is the root cause based on the log details...??
    Thanks in advance.
    Logfile Details
    1) 08:48_14/09/10_0049_139354050*
    *[EXCEPTION]*
    *com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &#39;&lt;System.ConnectionString&gt;&#39;; the problem occured at position 0. Cannot process expression &lt;System.ConnectionString&gt; because Invalid System Attribute:*
    *System:    &amp;#39;SAP_LocalSystem&amp;#39;,*
    *Attribute: &amp;#39;ConnectionString&amp;#39;.*
    *at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:125)*
    *at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)*
    *at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)*
    *at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)*
    *at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)*
    *at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)*
    *at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:235)*
    *at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)*
    *at java.security.AccessController.doPrivileged(AccessController.java:246)*
    *at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)*
    *at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)*
    *at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)*
    *at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)*
    *at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)*
    *at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)*
    *at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)*
    *at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)*
    *at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)*
    *at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)*
    *at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)*
    *at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)*
    *at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)*
    *at java.security.AccessController.doPrivileged(AccessController.java:219)*
    *at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)*
    *at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    2) Full Message Text*
    *Content pass of Application Integrator failed.*
    *Component Name:       'com.sap.portal.appintegrator.sap.Transaction',*
    *Context Name (iView): 'pcd:portal_content/net.ea.epson.BI_ROLES/com.epson.financeuser/ZB(3a)FINANCE_USER/com.Epson.UnitandGrossProfit',*
    *Top Layer:            'Transaction/DragAndRelateLayer',*
    *Producer ID (FPN):    'null',*
    *System Alias:         'BIDCLNT100',
    Thanks,
    Kalki Reddy.

    Hi Avadh,
    Thanks for your reply.
    I tested thru connection test of the system , it was tested successflly without any issues. all are into tick mark only.
    but when i am trying to use the system alias name while creating Trasaction iview also i am not able to get the system alias name in the dropdown for selecting the system alias.
    but system alias what ever it is "BIDCLNT100" is in active and connection test is done correctly without any issues.
    Please let me know the problem why i am not able to get the same system alias name "BIDCLNT100" not able to get in the drop down list while creating the transaction IView??
    Please reply , Thanks in advance
    Thanks,
    Kalki Reddy

  • Datasocket Server looses connections after a few hours "Parsing URL"

    Hi there,
    I need some help cause the DataSocket server is doing some bad stuff...!
    The server runs on a WinNT 4.0 platform as a datalogger. It works fine, but after a few hours it seems the server looses connection somehow, the datasocket status of the frontpanel elements tells: "Connecting: Parsing URL" .
    The server has about 5 DINT variables and about 3 clusters containing INT variables (size about 30).
    I really ran out of ideas aof what happens on this "old" machine, maybe someone had some preblems like me and solved them....
    Thank for hints and tipps!

    Hello,
    what service packs for Windows NT have you installed?
    Datasocket server crashes after a short period of time when diagnostic
    window is open (Tools->Diagnostics). Disable the "Auto-Refresh"
    option in the Diagnostic Dialog from the Options menu.
    regards
    P.Kaltenstadler
    National Instruments

  • 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

Maybe you are looking for

  • Updating values in ADF

    Hi!! I am using jdeveloper 11.1.1.5 I had created RFQhdVO and RFQlnVO based on EO I had also created a Viewlink RFQhdVO.docno = RFQlnVO.docno and RFQhdVO.pfx = RFQlnVO.pfx I had dragged and dropped RFQhdVO as a af:ReadOnly Table. I had dragged and dr

  • CheckPoints with Sequence containers - Please help

    Hi experts, I have a very critical requirement using checkpoints.I have SSIS 2012. As you can see, there are two sequence containers (Call it as SEQC). SEQC1 has Execute SQL tasks 1 , 2 and 3. Similarly SEQC2 has tasks  4,5 and 6. After that two indi

  • How do I get replacement rubber feet?

    How can I buy replacement rubber feet for my Mac Book Pro?

  • CSSC , ACS, CTA, NAC

    Hello! I have recently installed Cisco Secure Services Client to coonect to wireless network, which uses 802.1x authentication (EAP-FAST). Also i have ACS 4.1 in my network. 1) When i'm connecting to Guest1 (for example) SSID (there is no authenticat

  • Ethernet Communications with a Rockwell Reliance VFD

    How can I communicate with and control (read from and write to drive parameters) a Rockwell Reliance VFD (SP600 / GV6000) with their Ethernet/IP Communications Module - M/N RECOMM-ENET from Labview ?