Dynamic link to a portal component

Hi
   We are developing a masthead for the portal with  a dropdown list. this list as the event " onchange " with a link to a custom component responsible for changing the user language. Is it possible to generate a dynamic link to this component having the component name? i know this is possible in web dynpro using web dispatcher
Example of final link:
Final path: www.server:portal\irjpath\com.company.component.PortalLanguageComponent
Only Parameters i would know PortalLanguageComponent /  com.company.component
Thanks
Edited by: Phatinox on Aug 18, 2011 6:20 PM

Let's say your custom component (<Component-Name>) is developed in a project (<Project-Name>), then you can call this component using this url: "/irj/servlet/prt/portal/prtroot/<Project-Name>.<Component-Name>", hope this helps.

Similar Messages

  • How to Link another JSP Page in the same portal component

    Hi Guys,
      I am a new guy to SAP, currently, I want to add href link to another JSP in the same component, so I used <a href="<%=webpath%>/jsp/AboutPage.jsp">, but obviously, the link can not display target page due to privilege restriction, does anyone know how to resolve this problem? thanks very much!
      Best Regards
      James

    Thanks srinivas,
       Sorry for late response, too busy yesterday.
       Currently, I want to create a URL link in the page which links another JSP page in the same portal component, but the problem is this JSP page is under PORTAL-INF folder, so due to privilege problem, I can not create the link like the following:
    <a href="jsp/test.jsp">Link</a>
       I konw if I move test.jsp out of folder PORTAL-INF, the above way should work, but then, I found the JSP page can not access componentRequest and get resource bundle object.
      Am I clear, please let me know, thanks!
    Regards.
    James

  • Linking portal component

    Hi all,
                   How to write code to redirect from one portal component to another portal component.
    I am using Response.Redirect("portalcomponent.ascx") like how we redirect page in asp.net application.
    It shows runtime error...
    anyone give an idea to retify this issue.

    Hi Sudarshan,
    how are you doing ?
    a key to keep in mind is that with the PDK you are programming in EP using ASP.NET as a language / syntax class implementation (very similar to how J# uses the java language syntax for .net classes)
    As navigation is within EP, the EP methodologies apply:
    Please have a look at the EPCF API's
    with : WDPortalNavigation.navigateAbsolute(), etc ...
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/6fa84016631814e10000000a1550b0/frameset.htm
    with respect,
    amit

  • Howto create a dynamic link with current domain

    We need to create a dynamic link on a html page in the portal.
    The link should contain a dynamic part containing the domain where the CLIENT is in. It should look like this : http://mytool.windowsdomain.corp/tool where "windowsdomain.corp" is dynamic. Where could we get this information from?
    Thanks!
    Matthias

    Hi Matthias,
    you could paste something like this in a Custom JSP Component:
    <script type="text/javascript">
         function getServerURL() {
              return top.document.location.protocol+"//"+top.document.location.host;
         function redirect(uri) {
              try {     
                   top.location.href=uri;
              } catch (e) {
                //unfortunately this is not triggered in IE - only in mozilla
                   alert("No valid Redirection-URL could be generated. Please contact your Administrator.");
        redirect(getServerURL()+'/tool'+top.document.location.search);
    </script>
    Best Reagrds, Thomas

  • How to access a  web service(.wsdl) from portal component.

    Hi ,
    Is there any document/tutorial available on how to access a webservice from portal component ?
    I have found this linkhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/g-i/how to access a web service.htm...
    but the urls in the link are not working...
    i want  to know the steps to access webs service and sample code if some body has already done that..
    Thanks for the help.
    Lakshmi

    Hi Lakshmi,
    See the links below:
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/581140d72dc442e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a3/918340d990ce62e10000000a155106/content.htm
    Hope this helps.
    Regards,
    Pooja.

  • How to create a dynamic link in a Form to link to a specific FOLDER

    Hello,
    I have created a reports of all employees of my department.
    This reports shows me the empno and ename
    When I clicked on a empno ( for example empno = 1 ) then then I got a MASTER DETAIL FORM about that employee(empno = 1) .
    Who he or she is and which course he or she had followed.
    I want create a dynamic link in the MASTER DETAIL FORM which shows me directly the folder of that employee ( in this example folder 1 ).
    If I clickt on the report with all employees of my department on an other number ( for example empno = 3333333) then if I click on the dynamic link in the MASTER DETAIL FORM I want to see the folder of employee 3333333 !!! You know what I mean ?
    What I want to know is, how to create a dynamic link that shows me directly a folder which is dependent on which empno I had clicked on in the report ( report with employee numbers and ename )
    Is there any way to pass some parameters into a link to a Folder ? Is this possible in Portal ? Does anyone know how to do this, or do you have a suggestion how to solve this problem ?
    Thanks a lot !!!
    Chu Lam

    Hi Chetan,
    I am glad that someone had replied on my question.
    I will explain it to you again.
    I have created a report that shows me all employees. If I click on a employee number then I get an MASTER DETAIL FORM on my screen with all the information(where he works now and which number I have to dial ifhow can I reach him by telephone) of that employee on which number I clicked on.
    I really like this mechanism. (You click on a number and the information that you see in the next screen is dependent of the number you clicked on ! )I have created all this. It works fine.
    What I want is to expand this example.
    Every employee has a FOLDER (yes, those ones in Content Area ) which they can insert text or image into that folder. The folder name is just the employee number. ( employee with employee number 3303, he owns a folder which is named 3303 and an employee with empno 9999, he or she owns a folder with the name 9999. )
    Every employee can tell more about himself in that FOLDER by iserting text and images. For example : What he likes, pictures of his vacation, something like this.
    What I want is this :
    If I click on the first report,which provides me all employees on screen, on a employee number 3303 then I get a Master Detail Form on my screen with all information about that employee with employee number 3303. And I want in this MASTER DETAIL FORM to create a link that shows me directly the FOLDER of that employee ( 3303), so I can learn more about employee with employee number 3303. But I don't know how to create this link.
    That link had to be dependent on the employee number. The difficult thing about this link is that this link had to be dynamic.
    I hope this will make it clear to you :
    (report all employees:)
    empno ename
    3301 john smith
    3302 peter clark
    3303 wilson jones
    If I click on a empno ( for example 3303) then I get a MASTER DETAIL FORM which provides me information.
    (MASTER DETAIL FORM )
    EMPNO 3303
    ENAME wilson jones
    department New York
    mobile number 98908763
    Company tel. no day
    AOL 097485838 monday till wednesday
    Oracle 04848584333 thursday and friday
    LINK
    (what I want is to create a link here )
    If I click on LINK in this MASTER DETAIL FORM then I want to link to the FOLDER of this employee ! ( In this example it is FOLDER 3303.
    BUT IF I CLICKED ON THE FIRST REPORT ON A DIFFERENT NUMBER ( FOR EXAMPLE 3301) THEN IF I CLICK ON LINK IN THE MASTER DETAIL FORM THEN I HAVE TO LINKED TO FOLDER 3301.
    I just want to know how to make a link like this ( create a dynamic link to a specific folder ).
    Thanks in Advance.
    Chu

  • Calling a procedure from a dynamic link

    I have the following situation-
    I have a report created using SQL Query.
    I need to call a Stored Procedure(move_to_portal) through a link from one of the fields in the report (Exec_id field of the report).
    How can I do this?
    The links do not allow me to choose a stored procedure as the Target component....so maybe I have to create a dynamic link.
    How to do this? Any help would be appreciated.

    I have just another question-
    I have a procedure testing_del_archive which is being called with 2 parameters...from a dynamic link in my SQL Query.
    The following is my code....
    SELECT re.report_exec_id, re.exec_userid,
    NVL(re.batch_exec_date, re.begin_date) report_date,
    re.rows_returned,
    re.status, re.error,
    f_file_url(re.filename) file_url,
    re.comments,
    ''Archive''archive
    FROM metadev.report_execution re, metadev.report r
    WHERE re.report_id = r.report_id
    AND r.spec_number = :v_spec
    AND re.status <> 'DELETED'
    AND re.exec_userid like (DECODE(:v_user_filter,'ALL','%',:v_user_filter))
    ORDER BY begin_date DESC
    The first parameter is the value in the execution id field and the second argument is hardcoded "Archived"...
    IT GIVES AN ERROR....
    Do you guys know where I am going wrong...

  • Error in service call of Portal Component

    Hi
    When user trying to access the ITS screen through portal he is getting the following error.
    Portal runtime error with exception id.
    I
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    With the same exception id i could see the another error...
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Exception occured in layer CommonTopLayer
    All other users can access it successfully..
    What could be the problem.
    Please suggest us.
    Thanks & Regards
    Sowmya.

    hi,
    i had the same exception.....
    and find some notes mentioned in other thread:
    Note 1063785 - Runtime of Remote Delta Links fails...
    but seems still not work.
    any suggestion?  or some support package maybe..?
    Edited by: fishy 61 on Oct 13, 2009 4:18 AM

  • Tried to upgrade and after uninstalling and reinstalling several times, keep getting "procedure entry point could not be located in dynamic link library" followed by "iTunes was not installed properly"  Error 7.....Help, please??

    Tried to upgrade as instructed and after uninstalling and reinstalling (even back to the former iTunes which I was happy with)several times, keep getting message "Procedure entry point could not be located in dynamic link library"  followed by "iTunes was not installed properly"  "Error 7".    Help, please??

    Entry point errors can usually be fixed by deleting the offending dll, then repairing the component it is part of from the programs and features control panel. Unfortunately you neglected to include the detail of which dll is mentioned.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • How to access the webservice in portal component

    hai
         how to access the webservice in portal component.
         anyone knows give the solution
    Rds
    Shanthakumar

    Hai
    Please check this link.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/connectivity&
    Regards

  • Creating iViews Based on Remote Portal Component iViews

    Hi,
         Does anybody know if Portal 7.0 EHP 2 supports creating a local iview for a remote transactional iview? I saw this SAP Help link, but it is not really clear on Transactional iviews.
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/f7/34fe8694c84512a2c62cc6d145736e/frameset.htm
    Thanks
    Sathish

    Hi Prasanna,
    this needs some clarifying concerning wordings:
    1.) An iView is an "instance" of a portal component. Within the Portal, you have deployed different applications, each app consists of one ore more components (and/or services, but services are faceless).
    2.) The "traditional" way to implement such a component is to do it directly via HTMLB, JSPDynPages etc. Deploy this app within the portal and then you can create an iView build directly on this component.
    3.) Alternatively, you have components at hand, which import other applications / or web stuff. The most simple for example is an URL-iView. This is an iView using a component which just retrieves the content from some URL given. A more complex example is the ApplicationIntegrator, which does the same plus passing login params etc.
    4.) One possibility is to integrate WebDynpro-Applications via a specific WebDynpro iView. The combination of this has the added value that from WebDynpro Applications you are able to use the Portal Services, so you have a far more tight integration.
    5.) With all this at hand, the rest should be self declaring: Yes, you can develop "normal" J2EE-Apps, based on "good old JSP/Servlet + EJB" technology and integrate it via URL/AppIntegrator iViews. But you can also use WebDynpro for your frontend and EJB's for your backend with the advantage of tighter integration.
    Hope it helps
    Detlev

  • I am running Windows7 on my PVC. When I log in I'm getting two Apple error messages. One says, " The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll." The second says, "Apple Photostreams stop

    I am running Windows7 on my PVC. When I log in I'm getting two Apple error messages. One says, " The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll." The second says, "Apple Photostreams Uploader has stopped working".  Help!

    Entry point errors can often be fixed by deleting the offending dll, then repairing the component it is part of. If that doesn't help read on...
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If the advice above doesn't resolve things you could try this alternate version:
    iTunes 12.1.0.71 for Windows (64-bit - for older video cards) - itunes64setup.exe (2015-01-28)
    which is a 64-bit installer for the 32-bit version of the core application, similar to previous 64-bit releases.
    Or roll back to the previous build:
    iTunes 12.0.1.26 for Windows (32-bit) - iTunesSetup.exe (2014-10-16)
    iTunes 12.0.1.26 for Windows (64-bit) - iTunes64Setup.exe (2014-10-16)
    tt2

  • Urgent Please help me... How to access BAPIs from abstract portal component

    I am developing an application in Abstract Portal Component (in
    PDK).
    In that application I can able to acess BAPIs from my Componets
    using the code like
    inputPopSearchBapi = new Zad_Bapi_Pop_Search_Form_Input();
    outputPopSearchBapi = new Zad_Bapi_Pop_Search_Form_Output();
    popSearchBapi = new DropBox_PortType();
    colorList = new Tjj12Type_List();
    inputPopSearchBapi.setIm_Agencyid("0010000001");
    try {
    jcoClient.connect();
    outputPopSearchBapi =
    popSearchBapi.zad_Bapi_Pop_Search_Form(inputPopSearchBapi);
    colorList = outputPopSearchBapi.get_as_listIt_Color();
    request.getComponentContext().putValue("color",colorList.iterat
    or());
    jcoClient.disconnect();
    But I am not able to Access the data that is comming from the
    BAPI in my JSP Page. Pleeeeeeease help me. If you want any
    clarification about my problem then ask for further
    clarifications

    Hi,
      You can refer this link, to connecting the BAPI from Abstract Portal Component <a href="http://www.huihoo.org/openweb/jco_api/com/sap/mw/jco/JCO.html">JCo Tutorial1</a>
    <a href="http://www.apentia-forum.de/viewtopic.php?t=1962&sid=9ac1506bdb153c14edaf891300bfde25">JCo Tutorial2</a>
    With Regards,
    Venkatesh. K
    /* Points are Welcome */

  • Creating a Webservice for portal Component

    Hi experts ,
    i have portal component , for which i want to create webservice , i e. wanted to publish it as a  wsdl ,
    Im using NWDS 7.01 and here i have already created a portal component of type JSPDynpage , now in nwds after opening Webservice Perspective ,
    im not able to create VI and WSD for the component ,as im getting error as Project does not have the right nature. please provide a solution .
    Regards
    Govardan Raj

    Hi,
    go thro this thread, that discusses same topic and has explanations.
    /thread/36796 [original link is broken]
    the following thread may also help you.
    Creating a new web service...
    regards,
    P.Venkat

  • How to use a portal service in portal component(DynPage)

    Hi,
    I have made a portal service and i want to use this in my portal component .
    Please tell me how can i use it.
    also can anyone tell me step wise creation of portal component and portal service and their connectivity by using a smalll example in which connectivity is done in Dynpage and using stored procedure .

    Hi,
    Check this link:
    [How to Create a Portal Component and a Portal Service Tutorial|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0b57e590-0201-0010-a29f-abd37a436f54?QuickLink=index&overridelayout=true]
    Thanks and Regards,
    Shyam

Maybe you are looking for

  • Opening a Word doc

    Hello all, I am new to Flex.  I have some experience with AS3 (still switching over from AS2). Anyway, I am making a Flex project where I have a text link in a datagrid.  This link needs to open a word document that is on our company network.  Curren

  • Problem in using asant tool in Sunone Apps Server 8.0 on Windows XP

    Hi, I am using asant.bat tool to build example applications in j2eetutorial14. whatever taget i am using to build the examples in sample directory ie, <J2EE_HOME>/j2eetutorial14/examples/web/bookstore> asant build <J2EE_HOME>/j2eetutorial14/examples/

  • Having trouble with one cash receipt...

    Hello, thanks for reading this.  I have a report that displays cash receipts for the day, using 3 different tables.  This report breaks down the daily receipts by payment method - cash, check, credit card, eft.   I recently added a field that would d

  • Should we use JDeveloperor VAJ with BEA Weblogic?

    I work in an organisation that extensively uses Oracle, and we have brought in an Ecomerce solution that uses EJBs/JSPs on BEA Weblogic with an Oracle back-end. We have used JDeveloper for stand-alone Java development previously and already have lice

  • PKG can't silent install on Mac Os 10.5

    I have made an Installer by PackageMaler3.0.6 on Mac OS 10.8. Also I have add a JavaScript function in Distribution,This function use for detect the certain App is running or not. Some code like this: var allProcess = new Array(); allProcess = system