Portal url creation

Hi,
in a jsp page (Portal application), how to create an url that points to
an action in a jpf
Thx
Emmanuel

hi,
i need to keep the portal context...
subba tanniru a ?crit :
If the JSP is part of same JPF, use <netui:anchor> tag and specify action.
Otherwise, use uri similar to struts.
For example, to call 'goToPage1' action in /portalWeb/portlets/simple/simple.jpf, use Go To Page1. But You will loose portal context since you are directly going to page flow controller.
Hope that helps
-Subba

Similar Messages

  • How to catch URL parameter from Portal URL in Web Dynpro iView

    Hi All,
    I have a web dynpro application running as a portal iView successfully. Now the client wants to make it internationalized with 7 languages. Currently they access the portal - and via role assignment they get to the portal tab with the wd iView. Now they want to send a parameter for the language key with the portal URL. So when they are typing in http://myportal.mydomain.com now they want to type in http://myportal.mydomain.com?sap-locale=de or so. My question is how can I catch this parameter in the WD application when it is running inside a portal iView? Is it at all possible?
    I have written a very small application which is trying to catch a URL parameter named PARAM. The code I have written is the default one as below:
    String paramValue = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("PARAM");
    When I run the application standalone and add the PARAM=something in last of the URL I can catch it. But when I create an iView and while previewing it I add the same PARAM value it is coming as null all the time. Same when I add this iView to a role and show it via role assignment in protal. Please help to let me know how to achieve this. I think if I can read the parameter value from Portal URL in the WD iView - then I can set it as the default locale of the application and then show language specific file to achieve internationalization.
    Your urgent help will be highly appreciated.
    Warm Regards,
    Shubho

    Hi Shubhadip
    Even if you get the parameters, how do you internationalize your application? Are you not following the standard way as described in the following link. In this case you never need to capture any such parameter. This is done by the WD runtime automatically .
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm">Internationalization of WD projects</a>
    You can retrieve application parameters specified at the creation of iview by "adding parameters(with the same name as in iview application parameters) to the default plug of the Component Interface View of the WD application". "onDefaultPlug" method of the interface view controller you get these values as parameters, which you can save in the context node of component controller for later use.This is guaranteed to work.
    But again this is not what you want exactly. You want the user to specify the value at runtime. If you have just 7 languages, you can create 7 set of iviews with different application parameter value indicating language key, and assign to 7 different set of roles, each representing one set of users with common language.
    I hope you find a solution.
    Regards
    kk

  • Sun Java Enterprise Portal Desktop creation from scratch

    Please see below our request.
    1.     What I need?
    We are expert in J2EE and relative technologies. We just want a support which helps them to move in a right direction to adopt and excel with SUN JES. Basically, this document expects a guidance to show right direction in creating SUN JES Desktop. Below are the bullet points which try to explain the actual expectation from the response documentation:
    •     Sun JES Desktop: We require hands on documentation which would assist us in creating a desktop from scratch. This documentation should unveil step by step demonstration of Sun portal desktop creation. The document can assume that all the components with SUN JES are already been installed with default sample desktops.
    •     Replica of existing Directory server to new Directory server: We would like to understand the procedure involve in creating a replica of existing directory server. We have already exported LDIF file from the existing directory server. But when we are importing it to the directory server installed at our local machine, it is prompting us with an error message that schema for the importing content not available. This suggests that we have not created schema at our local machine. Therefore, we would require an assistance to export all the content from an existing directory server to new directory server along with the schema.
    •     Change Deployment: It should explain all the required steps involved for re-deployment of the content available with the portal. In other words, if there is a change made in the content of the portal (any JSP, JAR or configurable file) then what are the steps required to re-deploy and reflect the changes on portal?
    2.     Current Status
    2.1.     SUN JES Installation and Configuration
    We are through with initial setup of SUN JES. We have installed entire required component on our local machine (Windows XP) with default configuration for sample desktop which includes:
    •     Sun Application server
    •     Sun Directory server
    •     Sun Access Manager
    •     Sun Portal server (Instance created in web server)
    •     Sun Instant messaging
    •     Sun Web server
    The setup also includes configuration of sample portal (myPortal) which has some desktops already created like enterprise, developer and community desktop.
    2.2.     Component understanding
    We have gone through almost all the documents available under SUN documents. But we felt those were rather high level understanding documents. We have basic understanding of the all the components which come up with SUN JES.
    3.     Desktop Example
    As we are very new to the SUN JES, we expect something which is very basic to understand. In other words, when we start with any Java or programming language, we use to have Hello World short of program. Similarly, we expect a very simple desktop which just assist in learning steps involved in creation of desktop from scratch. Here, we can assume that all the required components are already being installed and running. Let us take an example:
    Suppose we have 4-5 users who belong to different groups. These groups have some defined policies (Something that we use to create with access manager). On the basis of the groups, they are allowed to access the sites available with the portal.
    User - A, B, C, D
    Group – I, II
    User-Group Mapping
    A, D -> I
    B, C -> II
    Desktop contents:
    Page displaying URL for google.com and myhcl.in
    Group I – On click of google.com, it should display the page in channel. Whereas, on the click of myhcl.in, it should display a message, quoting “You are not authorized to view this page.
    Group II - On click of myhcl.in, it should display the page in channel. Whereas, on the click of google.com, it should display a message, quoting “You are not authorized to view this page.
    Again, in all we just require a very basic desktop, which helps us in understanding the procedure involve in creating a SUN portal desktop. We think that this exercise would cover and help us in understanding all the nitty-gritty involved for learning SUN JES. Please feel free to add anything which you think will help us in learning SUN portal.
    Please let me know if anything unclear.

    Hello,
    I am not sure how much you are comfortable with profile creation for the different users.
    while user provisioning, if you are aware of kind of user and can assign the profile then this could be easily done.
    what if you don't show the link for unauthorised user instead of showing message that "You are not authorised....."
    create two different profile with two different channel having links and assign appropriate profile to the users.
    - sumant

  • SSO is not working for an Alias URL but is working for original portal URL

    Hello,
    We have a BSP running inside the portal and expects authentication.
    When I run this BSP using the portal regular address everything is working OK and SSO is working after logging into the portal.
    At next step, we have configured an alias for the portal URL at the DNS Server.
    When activating the BSP from the alias URL it asks for 2nd authentication. Meaning, SSO is not working after logging into the portal.
    I have activated an HTTP trace in order to see why and it seems like when running it from the alias name it recognizes it as a different domain and I assume this is why the authentication is coming up.
    I would like to suppress this for the alias URL but don't know how.
    I found this UME property on the server:ume.logon.security.relax_domain.level
    This UME property controls the amount of sub domains to remove from the server name to obtain the domain for which the logon ticket is valid.
    I have changed this property from its default value 1 to 3 (and restarted the server of course) which, in our case, leaves only ourCompany.com for the ticket in the original server URL. Yet, the authentication pop up is still not supressed when browsing through the alias URL.
    Any idea what can I do next?
    Thanks,
    Roy

    Hi Dezso,
    I found the 401 let me know if I look on it right:
    I have an entry node with two subnodes: request and response.
    The response has:
    <responseStatus>HTTP/1.1 401 Unauthorized</responseStatus>
    And the request before that doesn't have any MYSAPSSO2 in it, all it has which is related to cookies is this:
    <header name="Cookie">UserUniqueIdentifier=1174345919524; alreadyLogged=1179560552416</header>
    <cookies>
    <cookie name="alreadyLogged">1179560552416</cookie>
    <cookie name="UserUniqueIdentifier">1174345919524</cookie>
    </cookies>
    Can you advice what to do next?

  • Display an error message in Portal during creation of Object Link

    Hi,
    I have a requirement where I need to throw an error message in Portal during creation of Object Link.
    The requirement is whenever the user clicks on Item and try to create a Object Link for Material-Plant combination, if the Mat-Plant combination exist, than I have to throw/display an error message.
    I tried for some enhancements in BAPI_BUS2172 but it does not work out.
    Please help.
    Thanks in advance.
    Arbind

    Hi,
    If you include the UI, it will display at the top of the screen..
    Please see below how to create a message in the message editor.
    http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/frameset.htm
    and this is how you access the error message in the application ti display it to the end user
    http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/frameset.htm
    Regards,
    Ganesh N

  • How to create an External Alias for a Portal URL ?

    Hi Gurus,
    Can anybody tell me how to create an external alias for a portal link(URL). Actually, my problem is i want to send this Portal URL(link) thru' a SendMail step to the user so that when he clicks on it, it will take him to his UWL(Ofcourse after signing-in). As this URL length is > 80 char(101 char), i am not getting the full lenght URL in my Outlook mail. THough we are on ECC 6.0,Basis Rel 7.0, as per the OSS note 559234, we should have this length extended to 132 bytes. But, for some reason, its not happening. And,in the same OSS note, it was mentioned that we can use external aliases to achieve this(shortening the URL length).
    Can anybody tell me how to achieve this, either thru' increasing the URL length or thru' ext. aliases.
    Please reply asap.
    Thanks in advance
    venu

    Not an issue as of now. I'll open up again if needed

  • External portal capturing internal portal URL in Log and trace file

    Hi,
    We are facing one issue in portal like we have two portals for internal (Intranet) and external (Internet) users.
    Once users logged in the application and try to get the information about mylink from the external portal link (internet) they should not get any information about the internal portal.
    But in log and trace file we can see the external portal link capturing the internal portal URL.
    We need to find, from where system capturing the internal portal URL.
    Thanks.

    The tkproffed trace file is in seconds.
    "set timing" is in hh:mi:ss.uu format. So 00:00:01.01 is 1.01 seconds.
    You have to remember that most of these measurements are rounded. While your trace file says it contains one second of trace data, you know it's more.
    One excellent resource for trace files is "Optimizing Oracle Performance" by Cary Millsap & Jeff Holt. (http://www.amazon.com/Optimizing-Oracle-Performance-Cary-Millsap/dp/059600527X ) I thought I knew trace files before, but this book brings your knowledge to a whole new level.
    There is also an excellent WP by Cary Millsap ( http://method-r.com/downloads/doc_details/10-for-developers-making-friends-with-the-oracle-database-cary-millsap ) that gives you some insight.

  • The portal url appears in external links in XML Forms

    Hi,
    I have created an XML Forms application that should contain a link to an external webpage.
    In the Edit view I have created 2 text fields.
    1 for the url and 1 urlname for the name of the link.
    In the Show view I have created a link (Lable)  with:
    Hyperlink property:        /DataSchema/DataModel/url
    Schema Reference:          /DataSchema/DataModel/urlName     
    Style :              Function Link
    When I run the application It renders the link as a link with the urlname as the name of the link.
    Great !! ;0)
    <b>...but</b> when clicking on the link it open up a new window with the <b><b><b>portal URL</b> + the specified url:</b></b>
    E.g.
    Test data:
    Name:     Google
    URL:     http://www.google.com
    Result:
    <b>http://<portalurl>:58000/irj/portal/http://www.google.com</b>
    Why does this happen? And what can I do in order to open up the new window with just the url that I have provided (http://www.google.com)
    Thanks for any help !
    Best regards
    Rasmus

    Hi All and thanks for all help
    But..
    The thing is that it has nothing to do with the application.
    E.g. I have tested the <b>SAP_APP_FAQs</b> forms application delivered by SAP.
    This forms application has an external link called <b>Read more… </b>When I test this forms application everything is OK. It opens up the target URL in a new window e.g. <b>http://www.google.com</b>
    This is exactly what I want so I make a copy (save as) of the project. I run the application and believe it or not I got the wrong result: <b>http://<portalurl>:58000/irj/portal/http://www.google.com</b>
    I have not made any changes of the application!!
    Can any tell me what’s wrong?
    Thanks in advance
    Best regards
    Rasmus

  • Regarding URL Creation

    I want to submit a request to action class Lookup.do with in the Portal context. I have a struts portlet associated with the Lookup action. How to create portal url for Lookup action in the following jsp.
    <%@ page language ="java" import="javax.portlet.PortletURL" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="http://www.bea.com/servers/portal/tags/netuix/render" prefix="render" %>
    <%@taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%>
    <%@taglib uri="http://beehive.apache.org/netui/tags-template-1.0" prefix="netui-template"%>
    <html>
         <head>
              <script>
                   function doSubmit() {
                        document.lookupForm.action = 'kop/Lookup.do';
                        document.lookupForm.submit();
              </script>
              <title>Struts Application</title>
         </head>
         <body bgcolor="red">
         <html:errors />
              <html:form action="Lookup">
              <p><font face="Arial" size="3" color="white"><bean:message key="test.Heading"/></font>
              </p>
                   <table>
                        <tr>
                             <td><font face="Arial" size="3" color="white">Login Name:</font></td>
                             <td><html:text property="loginName" /></td>
                        </tr>
                        <tr>
                             <td><font face="Arial" size="3" color="white">Password:</font></td>
                             <td><html:password property="loginPassword" /></td>
                        </tr>
                        <tr>
                             <td><html:submit /></td>
                        </tr>
                   </table>
                   Click here to continue.
              </html:form>
    </html>

    Lalit,
    It is almost certainly a problem with your proxy configuration, as it works fine for me (with no proxy in between).
    John

  • How to Hide user & pass in PORTAL URL

    Hi Experts,
    I need a help on portal URL. We are using SSA (Spend Analytics) in Portal. One of the option in portal is that you can generate an E-mail Link of a report which goes to users.
    Link looks like this for end user (They receive it via E-Mail)
    http://Host:Port/irj/servlet/prt/portal/prtrootxapps.analytics.ds_par.inbounds?guid=CC1E61FF_7B3F_45CB_A3BE_B00F6BD487B7&objType=REPO&objId=0DA4575B_3C28_E6D8_66C5_04008115C625
    Users should be able to view this link as soon as they click on it. If a user is already logged into portal and copy and paste the link, it works fine. However, if a user is not logged in and copy and past this link to IE, It automatically changes URL to something else and shows user & password
    This is how it looks like. URL changes to the following link..
    http://HOST:PORT/irj/portal?j_user=XYZ_USER&j_password=XYZ_PASS&submit_logon=true
    So I'm not sure what is making portal to redirecting the link to (http://HOST:PORT/irj/portal?j_user=XYZ_USER&j_password=XYZ_PASS&submit_logon=true) when they enter generated link (http://Host:Port/irj/servlet/prt/portal/prtrootxapps.analytics.ds_par.inbounds?guid=CC1E61FF_7B3F_45CB_A3BE_B00F6BD487B7&objType=REPO&objId=0DA4575B_3C28_E6D8_66C5_04008115C625) and why is it showing user/pass and from where is it picking user & password.
    I kindly request all experts to please help me in this. I want to hide users/pass and make sure the link works fine without getting redirected it.
    Your help is much appreciated
    Thanks in Advance!!
    Afi

    i don't understand!
    i need to create a userid parameter on this configuration file frmweb.cfg
    [myconfig]
    userid=
    host=
    port=
    por example
    {myconfig]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejpi.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    userid= what can i write here?
    host = ??????????
    on this sistem too many user acces theses report
    and how can i call report to use this parameter?
    sorry because my english is not good
    saludos desde panama

  • How to pass username and password with the portal url

    i want to access portal from my web site. i have created username and password fields in my web page. when submited , my portal page should open. so how to pass username and password with the portal url.

    This is not straightforward; but it is doable.
    First tell us about your portal version; portal 10.1.4 has a slightly different method of doing it and the pre-10g portals were completely different animals.
    And if you are in AS Rel 2, then the most important document for you would probably be the following:
    [Creating Deployment Specific Pages| http://download-west.oracle.com/docs/cd/B14099_19/idmanage.1012/b14078/custom.htm#i1015535]
    You might want to use it in conjunction with some metalink notes about your portal version and such a login page.
    hope that helps!
    AMN

  • How to encrypt Password while calling Portal URL from Abap

    Hi all,
    My requirement is to call portal from R/3 4.6C.  As part of it I'm calling Portal URL along with user id & Password by using the FM CALL_BROWSER. The problem here is User ID & Password are visible everyone in the URL.
    Is there any way that I can encrypt sothat it doesn't become a security issue?
    I really appreaciate for your help.
    Thanks
    Seshu

    can you please mention the abap code  by which you are sending the username and password to a portal via url.....
    are you able to log on to the portal...please share your code ......
    Edited by: Ashutosh Shukla on Apr 18, 2008 9:17 AM

  • Company name in Internet Explorer Title Bar When Portal URL is launched

    Hai Gurus,
    I want to shown my company name in Internet Explorer Title Bar, when portal URL is launched. Please let me know how to do this.
    Thanks & Regards,
    H.K.Hayath Basha.

    Hi Kuthbudeen,
    To change the title of the browser go to:
    System Administration > System Configuration > Service Configuration > Portal Runtime > Central Configuration.
    Scroll down to: portal.html.head.title
    and change to required name.
    Do restart ur portal for the changes to take effect.
    Revert back if changes have taken place or not?
    In addition,
    U need to restart portal server ( logoff will not help)
    Regards,
    Purav
    Edited by: Purav Mehta on Jan 15, 2008 11:20 AM

  • Significance of Port No in Portal URL

    Hi Everybody,
       I wanted to know the concept of port no in portal URL.Sometimes i am able to access my portal with http://myportal:50000/irj/portal and sometimes even without port no.
    Is 50000 default port for http portal?then what about 80 even if i give this port instead of 50000 i am able to access portal.
    Can anybody throw light on this?
    Thanks in Advance
    Rani A

    Hi Rani,
    The port is decided like this
    50000 +  ( J2EE instance No * 100)
    ie if J2EE port is 00 then 50000
    If J2EE port is 01     then 50100
    If J2EE port is 02     then 50200
    For Visual administrator it is like 50004 or 50104 or 50204
    Etc like this for each use.
    Regards
    Arun

  • Portal url redirection....

    Hi All,
    our portal is going for migration. so we want our users not to enter into our portal.
    for that we want to show some message when user enters the url. some message like a"portal is under maintenance please login after some time" this should come when user enters the url.
    to be more clear....
    our portal url is https://trainingServerUrl.com    this will show the login page to the user where he will enter his login id and password.
    now....
    for next few days.......
    when user enters https://trainingServerUrl.com in the browser, it should say portal is under maintenance please login after some time" . i.e. it should not show the login page at all.
    PradeeP

    thanks again.....
    I can not follow this.... because it will effect for the original server. which i dont want because some others should work on the server like administrator to do the migration work and soo...
    actually, http://trainingServerUrl.com is pointing to http://servername:50000/irj/portal.
    if I do as you said.... no one can see the login page even by using http://servername:50000/irj/portal.
    I just want the user who enter http://trainingServerUrl.com  in the browser should get the message. other users who enter http://servername:50000/irj/portal can use the portal.
    PradeeP
    Edited by: pradeep bondla on Aug 6, 2008 12:36 PM

Maybe you are looking for