Getting the portal URL?

If I want to redirect the browser to the portal URL, how do I do it? Is there an API to get the Portal URL?
Thanks
Mani

You can use PostbackURL object.
Regards
Tarun

Similar Messages

  • Getting the Portal URL in the code

    Hi All,
    Is it possible to get the URL of the Enterprise Portal (http://<host>:<port>/irj/portal) in the web dynpro code?
    Actaully i am sending mails from my application to various users and need to include the URL of the Enterprise Portal in the mail.
    How to go with this? Any ideas?
    Thanks,
    Venkat

    Hi,
    If you build the mail message from your dynpro application than you can use this code to get the server name and port:
    String hostName = TaskBinder.getCurrentTask().getProtocolAdapter().getServerName();
    int port = TaskBinder.getCurrentTask().getProtocolAdapter().getServerPort();
    String url = "http://" + hostName + ":" + port + "/irj/portal";
    Hope it helps,
    Roy

  • How to get the Portal Page name from PLSQL?

    Can anyone tell me how to get the portal page name from my dynamic page using plsql?
    Apparently you can get the page id and work it out from there, but my calls to get the page id are not returning any values anyway.
    My code for attempting to get the page id is below.
    <oracle>
    declare
    v_pageid varchar2(30);
    begin
    v_pageid := wwpro_api_parameters.get_value('_pageid', '/pls/portal30');
    htp.print('Page is '|| v_pageid);
    end;
    </oracle>
    Ideally I'd actually just like to get the page name. Is there a straightforward way to do this?
    Thanks in advance!
    Sarah

    Few clarifications -
    1. wwpro_api_parameters cannot be used to get default portal
    page parameters such as '_pageid', '_dad', '_schema' etc.,
    2. Page information can be obtained through any components which
    are available in that particular page. For example, in case of
    dynamic page, we need to publish it as a portlet and add it to the
    page. This process creates necessary packages in the DB, but we
    will not have access to the portlet methods.
    So, I would prefer creating a simple DB provider & portlet and access
    page title from its show method as follows -
    //Declare local variable l_page_id, l_page_title as varchar2
    select page_id into l_page_id from wwpob_portlet_instance$ where
    portlet_id = p_portlet_record.portlet_id and
    provider_id = p_portlet_record.provider_id;
    select name into l_page_title from wwpob_page$ where id=l_page_id;
    More information on DB provider can be found at
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/understanding.database.providers.html
    Secondly, usage of wwpro_api_parameters.get_value method is
    incorrect. This method expects two arguments -
    <ul>
    <li><b>p_name : </b> The name of the parameter to be returned.</li>
    <li><b>p_reference_path : </b> An unique identifier for a portlet instance on the current page.</li>
    </ul>
    p_reference_path would be something like 99_SNOOP_PORTLET_76535103 and not some type of path as its name suggests.
    The following code fragment fetches all parameters available
    for a portlet.
    Note : Copy this code into 'show' method of your portlet.
    //Declare l_names, l_values as owa.vc_arr
    * Retreive all of the names of parameters for this portlet
    l_names := wwpro_api_parameters.get_names(
    p_reference_path=>p_portlet_record.reference_path);
    * Retreive all of the values of parameters for this portlet
    l_values := wwpro_api_parameters.get_values(p_names=>l_names,
    p_reference_path=>p_portlet_record.reference_path);
    //Loop through these arrays to get parameter information
    htp.p('<center><table BORDER COLS=2 WIDTH="90%" >');
    htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
    htp.tableData(wwui_api_portlet.portlet_heading('Name',1));
    htp.tableData(wwui_api_portlet.portlet_heading('Value',1));
    htp.tableRowClose;
    if l_names.count = 0 then
    htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
    htp.p('<td COLSPAN="2">'
    ||wwui_api_portlet.portlet_text(
    'No portlet parameters were passed on the URL.',1)
    ||'</td>');
    htp.tableRowClose;
    else
    for i in 1..l_names.count loop
    htp.p('<tr ALIGN=LEFT VALIGN=TOP>');
    htp.tableData(l_names(i));
    htp.tableData(l_values(i));
    htp.tableRowClose;
    end loop;
    end if;
    htp.p('</table></center>');
    Hope it helps...
    -aMJAD.

  • How can I don't get the gatewayed url?

    I integrated a customized application into my portal.
    but ,portal always generates gatewayed url,
    for example
    http://demo:80/portal/server.pt/gateway/PTARGS_0_200_359_207_0_43/http%3B/demo%3B80/tpl/abc/totalReport.do?method=drawPieChart&type=16
    I only want to get the true url,that is
    http:/demo:80/tpl/abc/totalReport.do?method=drawPieChart&type=16
    How can I set the portal not to gateway the url?
    thanks for any ideas.

    Adjust the webservice that you are using so that it doesn't gateway that URL.
    This is set on the HTTP Configuration page of a webservice.
    It would appear that your is set to something like:
    http://demo:80/portal/server.pt/(perhaps more path here/).
    so just remove that

  • On my iPad, when I try to open a movie I purchased from iTunes, I get "The requested URL was not found on this server."

    On my iPad, when I try to open a movie I purchased from iTunes, I get "The requested URL was not found on this server."  It's on my laptop but when I play it there, it 'jerks' every couple of seconds.  How can I fix both these issues?  Thanks!!

    Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.

  • Not able to get the complete URL in mail content

    Hi All,
    I want to give the below link in mail which is sent from workflow, so on click of it, the user will be able to open the particular opportunity directly.
    https://<sys_host>%3Fcrm-object-type%3DBT111_OPPT%26crm-object-action%3DB%26crm-object-keyname%3DGUID%26crm-object-value%3DXXXXXXXXXXXX
    XXXXX here is GUID of the Opportunity of 32 character.
    For this, I have created a attribute of type BAPITGB-LINE. When inserting this expression into the mail activity of the WF, I have chosen the data to be exported as "All lines as cont. text".
    In this attribute, when I concatenate the values and the guid, I get only part of the link as below which is 133 characters.
    https://<sys_host>%3fcrm-object-type%3dbt111_oppt%26crm-object-action%3db%26crm-object-keyname%3dguid%26cr
    When I try to append it in a internal table of type BAPITGB, I am getting the complete URL but with a space between every line in the internal table as below.
    https://<sys_host>%3Fcrm-object-type%3DBT111_OPPT[SPACE]%26crm-object-action%3DB[SPACE]
    %26crm-object-keyname%3DGUID[SPACE]%26crm-object-value%3D
    DFD60A8AD0E53DF1918F0050569F0324
    Please let me know, how to avoid this space in append statements. Also, the concatenate is taking only 132 characters, after which it cuts the URL, leaving it incomplete.Kindly correct me if I was wrong somewhere.
    Thanks,
    Ramya
    Edited by: Gali Kling Schneider on Jul 11, 2011 9:47 AM

    Hi Sanjay,
    As suggested, I have split the URL into 3 links in WF container having the initial values as below.
    Link1 -> <sys_host>.%3Fcrm-object-type%3DBT111_OPPT
    Link2 -> %26crm-object-action%3DB %26crm-object-keyname%3DGUID
    Link3 -> %26crm-object-value%3D
    In the mail activity, I have given the link as: &LINK1&&LINK2&&LINK3&&GUID&
    &GUID&-> GUID of the opportunity.
    When I tested this in log-> List with technical details-> mail, it had the correct value without space as below.
    https://<sys_host>.%3Fcrm-object
    -type%3DBT111_OPPT%26crm-object-action%3DB
    %26crm-object-keyname%3DGUID%26crm-object-value%3DDFD60A8AD0E53DF1918F00505
    69F0324
    But in SOST, when I checked for the link it is having spaces as below:
    https://<sys_host>%20%3Fcrm-object-type%3DBT111_OPPT%20%26crm-object-action%3DB%26crm-object-keyname%3DGUID%20%26crm-object-value%3D%20DFD60A8AD0E53DF1918F0050569F0324
    Kindly advice.
    Thanks,
    Ramya
    Edited by: Gali Kling Schneider on Jul 11, 2011 9:48 AM

  • When i try to watch synced video on my itouch i get "the requested url cannot be found on this server".  I am able to watch the video on my pc in itunes.  however, i cannot watch it on my itouch.

    When i try to watch synced video on my itouch i get "the requested url cannot be found on this server".  I am able to watch the video on my pc in itunes.  However, i cannot watch it on my itouch.  It shows in the video window that the video is there but when i select it to watch it i get the message and then it goes back to the video menu.  It's like it's not really syncing - even though it shows on my itouch.  It doesn't seem to be specific to videos downloaded to the itouch directly or itunes directly.  It's happening to both.

    This is happening to me too. I recently purchased about 4 music videos from iTunes, 3 of them play on both my pc and my iPod Touch but there's one particular music video that will only play on my pc and gives me the same "The requested url cannot be found on this server" message when I try to play it on my iPod. Can someone please rectify?

  • How to get the customize url of an portlet using PLSQL

    How to get the customize url of an portlet using PLSQL.

    Are you trying to call the portlet Customization form directly from the browser?

  • How to get the Portal Username to SAP Transaction IView ( ABAP cust repor )

    Hi Experts,
    We have an ABAP program that will be exposed in portal as SAP transaction IVIEW.  However the username that is being displayed in the report is the username that is defined in SICF > SAP > BC > GUI > ITS > WEBGUI.  I tried to remove the username and password defined, changed the procedure to Alternative Logon Procedure and deleted some logon procedure list retained Basic and SSO Authentication but we are getting DDIC username.  We have successfully implemented SSO, and it works in Personal Information of Standard ESS.  The following are configure in our portal:
    1.  We have set SSO ticket
    2.  We are using User Mapping for portal and ABAP System
    3.  Retain Basic and SSO authentication
    what could be the cause why the program (iview) is still getting the user instead of Portal Username? How can we get the portal username for our abap customized report exposed in iview

    Hi,
    Make sure that the System you are using to connect to R3 has Log On Method and Authentication Ticket Type properties has SAP LOGON TKT as the value selected.
    Path: System Administration --> System Configuration ---> Systems....
    Regards,
    SrinivaS

  • 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

  • Get the Portal User in Flex through webmodule project

    Hai All
    I have created the Flex project and then imported in NWDS through webmodule project . How do i get the portal log on user in Flex through webmodule project like what we will get in webdynpro java or webdynpro abap with the following code in init() method
    IWDClientUser wduser=WDClientUser.getCurrentUser();
    com.sap.security.api.IUser user=wduser.getSAPUser();
    What should i write in Flex init() method to get the portal log on user or is it possible to the portal log on user in flex?
    HOW  TO GET THE <User.LogonUid> from LOG ON PORTAL USER into FLEX
    Kindly help me.
    Regards
    Dhinakaran J
    Edited by: J Dheena on Sep 16, 2009 10:45 AM
    Edited by: J Dheena on Sep 16, 2009 2:41 PM
    Edited by: J Dheena on Sep 17, 2009 7:53 AM

    Hi,
    Have you been able to find this? Please let me know.
    Thanks,
    Manish

  • Deploy Monitoring reports Fail Cannot get the ReportServerWebService URL

    Hi, I am deploying the monitoring reports in a single host different to FE or Backend
    When I launch the wizard the installation fail with the message:
    > Deploying Monitoring Reports... This might take a few minutes.
    The Monitoring Database is using SQL instance "mendbsql3\ARCHLYNC2013".
    The data source is using SQL instance "(local)\ARCHLYNC2013".
    System.Runtime.InteropServices.COMException (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr
    errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException (0x800700A4)  
    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException
    (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException
    (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()System.Runtime.InteropServices.COMException
    (0x800700A4)   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()   at Microsoft.PowerShell.Commands.GetWmiObjectCommand.BeginProcessing()Cannot
    get the ReportServerWebService URL. Verify that Reporting Services is deployed and configured properly on the target SQL instance:"mendbsql3\ARCHLYNC2013", and that WMI is included on the exception list of firewall setting on the server that is running
    Reporting Services.
    I check the configuration of the reporting services configuration, all see OK. I probe the URL in the server that I want to configure like a monitoring reporter
    and I can explorer and administrate the Reporting Services. The firewall into the servers is off.
    Somebody else have this problem.
    THX.

    Hi Lapatinogo
    This is how I install Monitoring in my lab series.
    http://lyncme.co.uk/microsoft-lync-server-2013/the-complete-home-lync-lab-part-3-installing-lync-2013-monitoring-and-lync-edge-server/
    Navigate –> Lync Server –> Your Site –>
    Lync Server 2013 –> Standard Edition Front End Servers –>
    Your Server
    Right Click –> Edit Properties –> Scroll Down to Monitoring
    Tick Monitoring –> Press New –> Enter your
    SQL Server FQDN –> Specify your instance –> Untick
    This SQL instance is in mirroring relation (As stated in Part 1 you should already have a SQL Server with an instance available) –> Press
    OK
    Press OK –> Press Action –> Press
    Topology –> Press Publish
    Press Next
    Press Next –> This should complete successfully –> Press
    Finish
    Launch Lync Deployment Wizard
    Press Yes –> Click Deploy Monitoring Reports
    Press Next
    Press Specify a User Account and Password that has rights to the instance –> Press Next
    Press Specify User Group (I will be using the default group) –> Press
    Next
    Press Finish
    Launch the Lync Server Control Panel
    Login with an account that is apart of the CSAdministrator
    Click View Monitoring reports –> Click your SQL Server FQDN
    You should now see the below window   Successful deployment of Lync Monitoring

  • I am not getting the Portal Content inside the System Landscape

    Hi,
    I am not getting the Portal Content inside the System Administrations-> System Configuration->System Landscape. This is not visible. I am SAP NetWeaver 7.0.
    What could be the possible reasons?
    Regards
    Kaushik Banerjee

    Kaushik,
    do you have the full tree in Contentadmin? do you have no entry in the systemadmin? or is it just empty in the lower nodes? this would be normal, you don't see the content in systemadmin, just the defined systems.
    kr, achim

  • How to get the current URL in UIX

    I've tried:
    ${pageContext.request.requestedURL}
    ${uix.bajaContex.servletRquest.requestURL} (works but returns .uix, I want .do links)
    They didn't work.
    Thanks,
    Eduardo

    Eduardo,
    I guess that this has to do with the way that Struts and UIX controllers work together. My assumption is that though you see .do in teh URL, its actually .uix that is processed at last.
    Can't you get the request URL from the findForward method in the Struts DataAction ?
    Frank

  • Get the "original" url of a jsp

    hello,
    i'm developing a web appliacation with tomcat and struts.
    i have actions that i call from html, for example from a link:
    <a herf="editThing.do?id=1">edit the item of "Thing" with identificator 1</a>
    struts performs this action and redirects the browser to a jsp that displays the information getted by the action.
    then, when "i arrive to the jsp" i would like to get the original url of the current jsp page, that is:
    i don't want a url like : http://server:port/webapp/page.jsp
    but the original!! http://server:port/webapp/editThing.do?id=1
    could somebody help me, please?!
    excuse me for my poor english, i'm from Barcelona.

    Have your Action class put a reference to the current URL in the request. For example:
    Action class:
    request.setAttribute("URL", request.getRequestURI());JSP:
    The original URL is: <%=request.getAttribute("URL")%>

Maybe you are looking for