Theoretical concepts of portal component types

hi all..
    can any one send me theoretical concepts of portal component types
regards,
ramn.

Hi ramn,
refer the link..
http://help.sap.com/saphelp_nw04/helpdata/en/d7/fc139ba1549047a5372ad3c0d540ea/frameset.htm
Vikas

Similar Messages

  • PortalRuntimeException in Business Object document iview No portal component associated with the following context

    Hi all,
    We are stumped with a problem in our QA Enterprise Portal (7.3.1 Sp7) that throws a portal runtime error when we preview a Business Objects document iview.  The Business Objects Server versions are 4.0 SP5 and/or 4.1 SP3.
    The error is caught in the the defaultTrace file, /usr/sap/QNW/J00/j2ee/cluster/server0/log
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: There is no portal component associated with the following context:
    pcd:portal_content/com.summit.SES_BI/com.summit.iviews/Daily_Margin
    at com.sap.portal.prt.component.PortalComponentContext.<init>(PortalComponentContext.java:93)
    Here is what we have tried
    * Confirmed the iviews exist in the PCD, by browsing to the content folders and right lick, preview on the iview.
    * Our PRD and DEV systems work correctly and are on same versions of EP Runtime and java. 7.3.1.7.0.201..
    * Occurs with all Businessobjects iviews from the QA portal and all doc types, webis, dashboards. Tried creating new iview.
    * Reapplied the com.sap.businessobjects.iviews.templates.epa to the Portal from t he BI 4.1 SP3 distribution
    * Deleted and recreated the BI portal system connector using the SAP BOBJ system template set path to http://bi-qas:8080/BOE
    * Set the embed key value in the BI system connector property and in the custom global.properties file, restarted tomcat and SIA services
    * Set permissions for everyone end user on the content folders and the BI system connector
    * Confirmed Single sign on configured correctly between BI and Portal
    * Confirmed that the QA BI server is configured correctly by directing the working DEV Portal to the QA BI server.
    * Performed actions in note 1709737
    We are certainly stuck and the defaultTrace file is not very informative.  Any suggestions are greatly appreciated
    Lee Lewis

    This is resolve with note 1615838  - SAP Netweaver Enterprise Portal 7.3 iView creation with BI 4.0 results in exceptions.
    The note includes a file portalapp.xml that need to be inserted into com.sap.businessobjects.iviews.par that is included in the BI server distribution.
    Then deploy the ear file.....
    Odd thing is that the note mentions 4.0 and we are on 4.1 SP3...
    Environment
    SAP BusinessObjects BI Platform 4.0 SP02 Patch 4 or lower
    SAP Netweaver Enterprise Portal 7.3
    Lee Lewis

  • 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

  • Difference between portal component and portal service?

    Hi I am kishore...
             I worked on portal components but not on portal services... Would anybody tell the difference between the portal components and portal services...? What is a portal service..?
               How we know which one to choose in the scenario.?
        Thanks in adavance

    Hi kishore,
    A portal component is custom Java code that is executed according to user requests, and generates HTML output for display on the client.
    Portal components:
    Page builder, which assembles pages
    Admin tools, such as logger, which is comprised of user interface messages.
    Pages
    Technically, the page is also an iView. A page includes iViews or pages (nested) and Layout components
    iViews
    There are two different isolation levels (iView types)
    Embedded: iViews’ html is embedded as part of page html. iViews are called synchronically on the server, and retrieved in one response, to  the client (this is the page response)..  Each iView reloading reloads all iViews on page.
    URL (Isolated): iViews are fetched by an IFRAME element in an “own” request. One response for the page followed by additional request-response for each iView (depending on browser 2-4 requests simultaneously).
    Portal Services:
    A portal service is a component that offers a globally accessible function in the portal. 
    A portal service act as the middleware, that is, interfaces that are enabled to exchange procedures and data. They offer functionality to portal components, and other services.
    There are two groups of portal services:
    Portal services (part of the PRT)     
    Caching                     
    Notification
    iView service
    Application Repository
    System Landscape
    Role, pages, worksets
    Web Services
    Unification service
    Portal services (external to the PRT)     
    Client Eventing                 
    URL generator
    Logger
    JCO client service
    Hope this helps.
    Regards
    Atul Shrivastava

  • EP60 SP2 Portal Component Support

    Hi EP Experts,
       We are using EP60 SP2 and we are using Universal worklist to look at the workitems in the workflow inbox.
       Current UWL portal component supports only SAP file types while attaching a document to the work item. When i try to attach (.doc,.xls,.txt...) other than SAP document types i get some error 'PC application file couldnot be imported'.
       Attachment funtion through SAP Business workplace supports all type of documents.
       Was there any enhancement with EP60 SP3 or is there any patch released for EP60 SP2 to overcome this limitation with UWL.
       Did anyone came across this problem?
    Thanks experts
    arun
    Message was edited by: Arun Prasad

    Hi José,
    From System Administration>Monitoring>Knowledge Management>Component Monitor>Service>Scheduler-> I view this error:
    My component startup failed 2/23/10 2:44:53 AM
    Configuration Error: Failed to load task My component error(there is a red point)
    From Properties :class java.lang.NullPointerException
    When i reapet the upload of my fil.par(directly to Sap Portal), scheduler restart and files into KM are update.
    What's you think?
    Best Regards
    Giovanni

  • Use WebDynpro JCO Destination in Abstract Portal Component

    Hello,
    I was wondering if it is possible to use a WebDynpro JCo Destination in an Abstract Portal Component? I have a portal component that make as JCO call to run an rfc. I get the MYSAPSSO2 ticket from the cookie and pass this in to the JCO client. This works fine. Now I need to be able to run this for anonymous users as well. I was hoping to be able to retrieve a WebDynpro JCo destination that is set up as a userid/password type and use this to make the connection to run my RFC. This way I could avoid having to store the userid and password somewhere and encrypt/decrypt  it etc...
    Thanks,
    Bert

    Yes Asusha
    You can use JSP , JSPDyn pages in Abstract portal component.
    You can call a Jsp file from the abstract portal component.
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
         com.sapportals.portal.prt.resource.IResource somePage =          
                   request.getResource("jsp", "pagelet/test.jsp");
                   response.include(request, somePage);
    Then you can made your desired UI in JSP.
    Hope this helps..
    Cheers
    Chinmaya
    Reward for helpful answers

  • Call jspdynpage or Abstract Portal Component from SAPUI5

    Hi,
    I am new to SAPUI5, so might ask basic and dumb questions.
    I am trying to develop an application in sapui5 which should have the functionality to read and write a file to the server. It is different from file upload as the user wont be selecting any file, rather the data in the form should be written to a file in the server on a click of a button. After doing some research I figured out that sapui5 doesn't give an option to read/write a file to the server.
    So, as an alternative I thought of developing a service, an SAP portal application (jspdynpage, WDJ, abstract portal component - or if you can suggest any other app) that can be called from the sapui5 for reading/writing purpose. The data can be received/sent as an xml, and in the sapui5 application I can parse the data and do the needful.
    Now my question is how to call the portal application (that would be a url) without redirecting, and pass the necessary parameter? Sapui5 should just call that url and data should be passed or received as a parameter. I am not sure if OData model call will work, as I am getting an exception. Can you please provide a solution to this?
    Ps: We are on SAP EP 7.3 and would like to stick to SAP apps, and no additional database etc.
    Regards,
    Piyush.

    Hi All,
    I found a way to do that. I created an Abstract Portal Component application that accepts data through url parameters. Used the regular java APIs to read/write files to the server.
    Now the challenge, at least to me, was to call this application from SAPUI5 application. I used ajax call.
    var response = $.ajax ({
         url: "<url>",
         type: "POST"
    Next, will also try to find if I could use any of the models provided by SAPUI5 to call the portal application.
    Note: Make sure both your sapui5 app and the portal application is deployed on the same server, else it wont be able to authenticate (SSO wont work) and you may receive exceptions.
    Regards,
    Piyush.

  • Abstract portal component and JSP question

    Can we use htmlb components in abstractportal components.
    I am using isolatedhtmlcontainer in abstractportal component and it is not compiling. It works fine with Dynpage component
    Also one more question can we just write a JSP to get the userid of the portal. I tried typecasting request object to IPortalComponentRequest , but iam not able to get the userid . Can anyone suggest anything . I want get the userid from the jsp and pass this userid to asp as query string
    Thanks
    LAK

    Yes you can create a JSPDynPage and define the component type as NativeJSP in portalapp.xml for e.g.
      <i>      <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/YourJSP.jsp"/></i>
    The explicit object for IPortalComponentRequest is componentRequest in JSP. The other way to get componentRequest is
    IPortalComponentRequest       currentRequest       = (IPortalComponentRequest) pageContext.getAttribute(javax.servlet.jsp.PageContext.REQUEST );
    to get the user further just call currentRequest.getUser()

  • Portal Component Navigation

    Hi all,
    I would like to ask you for help with my problem. I have created simple Portal Application with one Portal Component, created iView from deployed PAR.
    iView works fine, but if I want to send some data through HTML form (from my page to the same), there is problem. I tried to use simple form:
    <FORM method="post" action="">
    <input type="text" name="required_field">
    <input type="submit" name="mysubmit" value="go">
    </FORM>
    Problem is, that when I submitted form, page was refreshed, but result page is blank (no error, only blank).
    I tried another method with using form action like this:
    <FORM method="post" action="ParUserMapping">
    <input type="text" name="required_field">
    <input type="submit" name="mysubmit" value="go">
    </FORM>
    If I use my Portal Application name as link destination it returns to me error:
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: ParUserMapping.default.
    Exception id: 05:36_31/08/06_0032_16393450
    See the details for the exception ID in the log file
    My portalapp.xml is:
    <application>
      <application-config>
        <property name="SharingReference" value="com.sap.portal.usermapping, com.sap.portal.runtime.logon"/>
      </application-config>
      <components>
        <component name="MyPortalComponent">
          <component-config>
            <property name="ClassName" value="com.deloitte.MyPortalComponent"/>
            <property name="PrivateSharingReference" value="com.sap.portal.usermapping, com.sapportals.portal.prt.runtime.PortalRuntime"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    I just want to send my value via form to same page, but I don't now, why this not works. Should I set any default point/object for my Portal Application?
    I would appreciate any help.
    Many thanks,
    Pavel

    I solved problem by changing Form action attribute to:
    IPortalComponentURI uri = request.createPortalComponentURI();
    uri.setPortalRequestEvent(request.createRequestEvent("LoadUserMapping"));
    >> uri.toString()

  • Accessing static content (javscript, css) from JSPs in portal component

    Hello,
    I have a portal component with some jsp files in the folder dist/PORTAL-INF/jsp . Within the jsps I want to access some css and javascript files which I've put in the folders dist/css and dist/scripts. Can anybody tell me how I can access them from the jsp?
    Thanks and best regards
    Dominik

    Hello,
    I finally solved it. To whom it may concern:
    The integration in the JSP should look like the following:
    <%
    IPortalComponentResponse componentResponse = (IPortalComponentResponse)pageContext.getAttribute(javax.servlet.jsp.PageContext.RESPONSE);
    IResource css = componentRequest.getResource(IResource.CSS, "css/style.css");
    IResource js = componentRequest.getResource(IResource.SCRIPT, "scripts/script.js");
    componentResponse.include(componentRequest, css);
    componentResponse.include(componentRequest, js);
    %>
    And make sure that the css file does NOT start with the tag
    <style type="text/css">
    Best regards,
    Dominik

  • New portal component not available for new iView

    I've just written my first portal component using the NetWeaver Developer Studio.  It's a trivial "Hello World" application. 
    If I run it in the portal from the NWDS it runs successfully allowing me to capture the full URL.
    I tried to export the par file and upload it to my portal.  I used the Archive Uploader from the portal to load the par file (System Configuration -> Support -> Portal Runtime -> Administration Console).  The upload appeared to go successfully but the "Archive Deployment Checker" shows the local and repository versions as "undefined" with "update", "delete" and "refresh" buttons - no "install" button.
    When I try to build an iView to display this component I don't see it in the list of possible types. 
    (portal content -> new iViews -> choose source type of "portal component") I can't see anything that looks remotely like my component.
    If I create a generic applicationintegrator iView I can paste the full URL from my NWDS test run and it works.  I can even build that into a role and make it appear in the portal content area. 
    How do I:
    1  find/make visible my component so I can build an iView directly from it
    2  if I can't do 1, configure the URL a little more generically so it's portable.
    The URL in the iView looks like
    http://dev.mycompany.com:5xx00/irj/servlet/prt/portal/prtroot/MyHomePage.HomePage
    and I'd like it to look like
    http://<prtroot>/MyHomePage.HomePage

    Hi Murray,
    Try to deploy your portal application from NWDS itself.
    NWDS
    Windows / Preferences / SAP Enterprise Portal /Add
    After that check in Portal Archive Selection your component will be there.
    And for shorter URL you needs to check the DNS settings.
    Regards,

  • Error while consuming web service in portal component

    Hi All,
    I am working on a portal application which uses web services in portal component via web service.
    I have tested the web service and then creted a relevant portal service to it .When using this portal service in the portal component and running it Im getting the following run time error
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : Test_portal_service_app.Test_portal_service_app
    Component Name : Test_portal_service_app.Test_portal_service_app
    com.sap.portal.ivs.global.ume.UMECLient.
    Exception id: 11:17_03/07/08_0028_2739150
    See the details for the exception ID in the log file
    I did not use any ume attributes or ume api methods in the portal component .
    I have also added sharingreference= portalserviceapplication name  in deploymentdescriptor of the portal application which has the portal component.
    Please provide any suggestion for the possible cause of error .
    Urgent!!!!
    Thanks.

    Hi all,
    Please throw some light into this issue i am getting the following exception.
    com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: Proxy Authentication Required.
    I have given the proxy settings in the com.sap.portal.ivs.httpservice  in the portal and also
    defined a proxy server in the Visual Administrator under Services -> Webservice Container -> HTTP Proxy Server
    I am calling service in the following manner.
    IPortalRuntimeResources runtime = PortalRuntime.getRuntimeResources();
       IService service = runtime.getService(IWS_P_Service.KEY);
       IWS_P_Service ws_service = (IWS_P_Service)service;
        Volumes from = new Volumes(Volumes.VOLUMES_KILOLITER_VALUE);
        Volumes to = new Volumes(Volumes.VOLUMES_LITER_VALUE);
        ChangeVolumeUnit cvu = new ChangeVolumeUnit(1200,from,to);
        // working upto here
         response.write("working");
         ChangeVolumeUnitResponse cvu_res = ws_service.ChangeVolumeUnit(cvu);
         double result = cvu_res.getChangeVolumeUnitResult();
         response.write(result+"");
    It is working upto "working".
    If any body has any solutions please post.
    Thanks

  • Error Reading Property File in Portal Component

    Hello,
    I have created a portal component that calls an api that is located in a jar file.  The documentation on the Portal Component Structure specifies putting the jar file in the PORTAL-INF/lib directory, which I have done.  The problem is, my jar file reads a property file using ResourceBundle, but it doesn't find the property file.  I have placed the property file in the jar file, and throughout the portal component structure, but it just can't find it.  Has anyone else done something similar?  If so, where did you put your property file(s) for external jars that are used in the portal component.
    EP6 SP2 Patch27
    thanks,
    Keith

    Hi,
    I had similar issues and moved the property files to PORTAL-INF/classes.
    Best Regards
    Frank

  • 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.

  • Anonymous access to Portal Component over direct URL.

    Hi All,
    Im having a few Issues with enabling anonymous access to a portal component.
    Here is a mock of our portalapp.xml file
    <?xml version="1.0"  encoding="iso-8859-1"?>
    <application>
      <application-config>
        <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
        <property name="startup" value="true"/>
        <property name="releasable" value="true"/>
        <property name="Vendor" value="com.ourdomain"/>
        <property name="SecurityArea" value="OurSecurityArea"/> -->
      </application-config>
      <components>
        <component name="MyComponent">
          <component-config>
            <property name="ClassName" value="com.ourdomain.MyClass"/>
            <property name="ComponentType" value="servlet"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    I want to be able to access the servlet over a URL like...
    http://host:port/irj/servlet/prt/portal/prtroot/MyApp.MyComponent
    I have added the Default User Group Everyone to the no_safety area of our com.ourDomain Security Zone.
    However when try to navigate to the URL we are first faced with a SAP Portal login page. on successful login the servlet is then shown.
    Note: I was able to get the Same Servlet working within an iView when the iViews Authentification Scheme was set to anonymous...However i am under instruction to get it working without the iView...
    As Background, The servlet is to be a sink for accepting data sent via an HTTP Post.
    Any help with this or pointers in the right direction would be greatly appreciated.
    -Paul

    Hi Darrell,
    Thankyou for that, yes it has helped....And I can now access the servlet directly without need to login.
    I figured that there was something that i was missing.....
    -Paul

Maybe you are looking for