Portlet Information from Portal

Hello,
   I'm developing a non-SAP portlet that will be consumed by the portal and was wondering what information, if any, the portlet will have access to from SAP.  Basically I am wanting to know if I will be able to get any information about the user that logged into the portal.
Thanks,
Brandon

Simon,
   I've been looking into how to extract the user id from the SSO Ticket.  I found where I need the SAPSSOEXT stuff, but this seems to be just a patch to the SAP system.  My application will be on an external java server and thus will not have access to the libraries that this patch contains.  Do you know of a way for me to get the necessary libraries, such as in a .jar, so that they can be accessed on the external server?  Or can the SSO Ticket only be accessed by an application on the same server?
Thank you for your assistance.
Brandon

Similar Messages

  • Delete connection information from portal

    i have successfully imported the portal pages and portlets.now i am not able to edit the connection information as it is disabled in the connection information for my old connection.
    how can i delete or edit connection information from portal
    thanks
    mish

    Check out this thread. Something similar would do for a KM Repository as well.
    <a href="https://forums.sdn.sap.com/click.jspa?searchID=2812737&messageID=608126">https://forums.sdn.sap.com/click.jspa?searchID=2812737&messageID=608126</a>

  • Archive History information from Portal

    When you delete items in a folder it is not possible to keep track of them.
    For security/political raisons we want to keep all information from the Portal, even deleted, expired items.
    What is for you the best solution ?
    Copy the deleted items via a trigger in a track folder is a good solution for you?

    At the content area level, you have the option of retaining deleted items (edit the content area and go the "Items" tab). You can also choose whether you want to display the deleted items in the edit mode of a folder.
    So, checking 'Retain Deleted Items' and unchecking 'Display Deleted Items' will allow you to retain all the deleted items without anyone knowing about it :-).
    FYI, portal content areas discussion forum is better target for such content area related questions.
    null

  • Handle Portlet event from portal.

    Hi all,
    I wander that we can handle a event is issued by portlet in the portal?
    Example: when I click a command-Link on the portlet, then portal can catch some info of this action I did in the portlet.
    Do you have any idea about it?
    Thanks a lot!
    Edited by: AS84 on Oct 26, 2012 8:26 AM

    Hi again.
    I'm busy at the moment but you have to follow this steps:
    As Producer side (your Portlet):
    - Click on your ADF Component (CommandLink or CommandButton) that you want to generate an event.
    - In Properties Inspector you'll see "Contextual Events" pane. Select in "+" and add new Event.
    As Consumer side (your portal page):
    - Generate a class called EventCosumer or something similar to handle events.
    - Create a method to handle your event: For example
       * Metodo manejador del boton pulsado
       * @param customPayLoad El texto del boton pulsado
      public void handleButtonEvent(DCBindingContainerValueChangeEvent or String customPayLoad) { // It depends of the payload of you want to share
        // Take that you want of value passed
      }- Generate a DataControl from your EventConsumer Java (Right click -> Generate Data Control).
    - Create a methodAction binding in your pageDef.
    - In your pageDef in Contextual Events tabs, subscribe your pageDef to the event generated by EventConsumer.
    This is basically the steps to do all programmatically. Remember that you can subscribe and consume payLoad values in Runtime too :).
    Regards.
    Reference links:
    - My own blog entry (Spanish): http://www.danielmerchanoracle.blogspot.com.es/2012/05/adf-11g-eventos-contextuales.html
    - Frank Nimphius ADF sample about Contextual Events: http://www.oracle.com/technetwork/issue-archive/2011/11-may/o31adf-352561.html
    - Yannick Ongena Blog entry: http://yonaweb.be/inter_component_communication_between_taskflows_adf_and_webcenter
    Edited by: Daniel Merchán on 29-oct-2012 10:43

  • Portlet disappeared from Portal Builder after editing

    I created a Master-Detail form in portal builder. At the end of one edit, I clicked cancel to undo the change. Somehow, the portlet was totally disappeared. I checked the repository table WWA_FORM$ and WWA_MODULES$, this form is still there, but it just does not show up in the portal builder navigator page. Can anybody help me to explain this abnormal behavior and how to get the form back to the builder?
    Thank you for your help.

    I did more research and found out that the form module that was missing is not in the table WWV_modules$. I am wondering why Oracle portal created such an inconsistancy. The module is still in wwa_modules$ table, but not in wwv_modules$ table. How did the record get deleted from wwv_modules$ table, but not wwa_modules$? I am the only user of this thing and I never delete this module. All I am doing is editing. Anybody has any ideas?

  • Portlet minimization from .portal file

    i'm using 8.1 sp2.
    I have a portlet that I would like minimized always. I can open up the portlet and designate it as such through the default minimized=true and it works.
    however, when i try to accomplish the same feat through the portal file, it doesn't work. i check the xml in the portal file and indeed it does designate that instance of the portal as minimized. however, it doesn't do it upon rendering.
    in this scenario, i need to do it through the portal if possible because that same portlet appears on several portals. and only on one portal do i want that portlet not to appear.
    outside of some programmatic logic statement, what should I be looking at?
    Thanks,
    -Andy

    i just tried this in sp4 and it worked fine.
    I think i recall a bug about this a while back that was fixed in one of the service packs
    Chris Jolley
    Portal Architect

  • How can I pass information from one portlet to another?

    First, some background...
    I am using Portal 5.0.2 and developing portlets using JSP/Java on a remote server.
    I need to pass information from a portlet on pageA to another portlet on pageB, but I can't do it using the traditional methods, such as query string, session, cookies, etc. due to either portal framework limitations or because of functional constraints (basically, a user will not necessarily be logged in to the portal, but he can view anything available to the GUEST user). Here are the different ways I've considered using to save state and their limitations:
    Query string: can't use this because portlets on remote servers don't have access to it
    Cookies: if user disables cookies, code will not function properly
    Session variables: limited to one user's connection with one portlet (i.e., can't access a session variable set in portletA from portletB)
    Application variables: because the user may not be logged in, I have no way of uniquely naming variables, which is a necessity in order to maintain state for EACH user
    User Settings: again, the user may not be logged in, so I can't use these
    PCC: can't access client-side variables because server-side JSP executes first
    Are my assumptions above correct? Has anyone had any success using one of these methods given the same constraints, or does anyone have an alternative solution? I'd certainly appreciate any help anyone could provide.
    Thanks,
    Jose

    One possibility would be to use a Login PEI to set a unique UserInfo Name/Value for the user. I think in 5.0 each guest session is unique, so would have unique UserInfo. Then you could pass this value to your portlet (by specifying it in the web service) and use it as a key into a Application-scoped hashmap where you store your info. In other words, your Application variables option, but you have a way of uniquely naming your variables via PEI-set UserInfo.

  • Portal's ability to pull information from foreign data stores?

    Besides gateways, what are other alternatives to allow Portal to pull
    information from foreign data stores?

    Outside of gateways, the main way is to write a web provider/portlet that directly access the data in the store and formats the result into portlet html.

  • How to Delete account information from "My Mail" Portlet permanently?

    Hi Everyone,
    I am using "My Mail" portlet from the portlet library provided by BEA WebLogic Portal 8.1(Service Pack 3).
    Can anyone tell me how to Delete account information from "My Mail" Portlet permanently?
    The problem is , once i configure my account with the mail portlet, it always takes me to my inbox folder whenever i use that portal. I want to delete my account information from this portlet.
    Anurag.

    There is currently no way to do this.

  • Dynamic page information from the portal database?

    Is it possible to get information about existing dynamic pages from the portal database? We're upgrading our portal from 9.0.4 to 10.1.4 and because we will be running the new version on a different platform, we can't run any upgrade scripts and need to build again from scratch. I was hoping I could pull dynamic page information from a portal view or table into a spreadsheet, to save our developers having to click into each dynamic page application in the old version to get the pl/sql code to copy and paste into the new version. The generated dynamic page packages just have api calls, so it may be possible that there's an api to do this. Does anyone know if this is possible, and if so, how to do it? Thanks.

    closing the thread

  • How do I retrieve document information from the portal tables?

    Hi, I'm really stuck on this and any help would be much appreciated.
    I want to select out document information using the categories and perspectives as search criteria, I've written the following select statement but am not sure that this is the correct way to do it and I keep getting a 'unhandled user-defined exception ... at PORTAL.WWCTX_SSO'
    (I have set the context before running the sql)
    select id, display_name, description, real_filename, mime_type, doc_size
    from
    portal.wwsbr_all_items, portal.wwv_document$
    where
    wwsbr_all_items.filename = wwv_document$.name
    and category_id=(select id from portal.wwsbr_all_categories where name = 'MY_CATEGORY')
    and id in (select item_id from portal.wwsbr_item_perspectives where upper(perspective_name) = 'MY_PERSPECTIVE')
    and is_current_version = 1 and (expiredate IS NULL or expiredate > sysdate)
    Alison

    If the iPhone was connected to iCloud at the time you deleted the Contact, then the Contact has been removed from iCloud and is not recoverable.
    Check at www.icloud.com to see what iCloud Contacts you still have.

  • Retrieving Webcenter User Profile information from portlet programmaticaly

    Hi guys,
    I'm triing to retrieve WC user profile information programmatically from a jsr 286 portlet but:
    ADFContext.getCurrent().getSecurityContext().getUserName(); ----> always return anonymous
    ADFContext.getCurrent().getSecurityContext().isAuthenticated() ----> always return false
    (i'm obviously authenticated on webcenter with my profile)
    Anyone knows what the problem is or how to retrieve webcenter user profile information from within a portlet?
    Thank you.

    thank you for the reply, but that issue seems not resolved.
    I hope there are other ways to retrieve user information.
    Anyone knows if there is a way to retrieve programmatically user profile from a jsr286 portlet inside webcenter?
    Edit:
    i've tried passing this parameter to the portlet : #{webCenterProfile[securityContext.userName].userName}
    I can retrieve from the request object and the username is correct, the problem is that i need the whole profile (i have some logic that are dependant on user email, lastname etc), and adding all profile attributes as parameter seems to me not the correct solution.
    I need a way to access the user profile directly from the portlet.
    Edited by: ZOLTAN on Jun 22, 2011 5:56 AM

  • How can i download file from a pageflow portlet in Webloigc Portal?

    How can i download file from a portlet in Webloigc Portal?
    My Question is, when i download files used codes in a pageflow listed below,
    it didn't work. but in non-portal environments, it worked well.
    How can I download a file from a portlets in portal??
    Thx in advanced.
    this.getResponse().setContentType ( "application/ms-excel" ) ;
    this.getResponse().setHeader ( "Content-Disposition" ,"attachment;filename="
    +new String("Excel.xls".getBytes(),"iso-8859-1")) ;
    sth.write(this.getResponse().getOutputStream());

    i always use an old fashioned method when i have to do this, i create a new jsp that contains a scriptlet that writes to the ServletOutputStream.
    <i>outputWriter.jsp</i>
    // define your own class to get file here, otherwiser use netui-data:callControl tag
    <code><pre>
    File file = FileControl.getFile(fileName);
    String fileName = (String) request.getParameter("fileName");
    response.setContentType(file.getContentType());
    ServletOutputStream sos = response.getOutputStream();
    InputStream is = file.getInputStream();
    for(int i = 0; (i = is.read()) != -1;)
    sos.write(i);
    sos.close();
    </pre>
    </code>
    i then call this jsp from the jsp to which i forward in my action using a simple url rewrite with file name on the url.
    <a href=outputWriter.jsp?fileName=nameOfFileToDownload                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Passing information from external asp file and getting it in the portal

    Hi,
    I think that the answer for my question is simple but I'm not sure how it is done.
    I would like to pass information from asp page(microsoft server pages) to the portal and extract the information in the portal
    I know how to how to pass the the information as POST or GET method
    but how do I extract the infomation within an iView ?
    and what is the portal URL I need to call from the asp page ? a page URL or an iView URL ?
    Thanks
    Y.R

    Hi,
    In order to use an ASP application in the portal u have to first create a system. In the System Definition Properties, give the url of your ASP page in the Name of server field and the name of the ASP page in the URI field.
    For more clear understanding, please go through the following document
    http://help.sap.com/bestpractices/crossindustry/enterpriseportal/v160/documentation/How-to_Guides/25_HowToUseAppIntegrator_en.pdf
    Best Regards
    Priya

  • Announcing: Developing JSF Portlets with WebLogic Portal Whitepaper

    Just Released: Developing JSF Portlets with WebLogic Portal Whitepaper
    A supplemental developer's guide has been published to help guide WLP 10.x customers that wish to use JSF as the web framework for building portlets on WebLogic Portal. This is a sizable document (150 pages) that covers a large number of topics. It also coaches developers on best practices and common pitfalls.
    Important: It also clarifies the supported configuration of JSF within Portal Web Projects. Workshop for WebLogic by default configures a web project in a configuration that is not supported by WebLogic Portal. The guide explains how to address this:
    * Change from the unsupported MyFaces JSF implementation to the supported Sun Reference Implementation (RI)
    * Change from the unsupported "client" STATE_SAVING_METHOD to the supported "server"
    The guide can be downloaded here:
    http://download.oracle.com/technology/products/weblogic/portal/weblogic-portal-jsf-whitepaper.pdf
    To help internet searches locate this document, the table of contents is reproduced below:
    Introduction
    1.1. Prerequisites...................................................................... 8
    1.2. Applicable Versions............................................................ 8
    1.3. Native Portlet Bridges and Standard Portlet Bridges .......... 8
    1.4. JSF Portlet Support Roadmap ........................................... 9
    1.5. Whitepaper Structure ....................................................... 10
    1.6. Look Before You Leap ..................................................... 10
    1.7. For More Information........................................................ 10
    Part 1: Converting JSF Applications into Portlets
    2. IDE Support for JSF Portlets Chapter ...................................... 12
    2.1. Workshop for WebLogic – WebLogic Portal's Supported IDE 12
    2.2. Workshop Features for JSF Support in WebLogic Portal.. 12
    3. Introduction to JSF Portlets Chapter ........................................ 18
    3.1. Creating Your First JSF Portlet......................................... 18
    3.2. Essentials of JSF Portlet Views........................................ 21
    3.3. WebLogic Portal Artifacts................................................. 22
    4. Configuring JSF within WebLogic Portal Chapter..................... 24
    4.1. JSF Library Modules in WebLogic Server ........................ 24
    4.2. Installing the JSF Libraries into a Portal Web Project ....... 25
    4.3. JSF Configuration Settings............................................... 27
    4.4. Configuring JSF 1.2 ......................................................... 29
    4.5. Building an Unsupported JSF Implementation Library Module 31
    4.6. Faces Configuration is Web Application Scoped.............. 31
    5. Navigation within a JSF Portlet Chapter................................... 33
    5.1. Navigating within a Portlet with the JSF Controller ........... 33
    5.2. Redirects.......................................................................... 34
    6. Namespacing Chapter ............................................................. 35
    6.1. Namespacing Managed Bean Names.............................. 35
    6.2. Client ID Namespacing with the View and Subview Components 35
    6.3. Client ID Namespacing with the WLP NamingContainer .. 36
    7. Logging, Iterative Development, and Debugging Chapter ........ 39
    7.1. Logging............................................................................ 39
    7.2. Iterative Development ...................................................... 39
    7.3. Debugging ....................................................................... 40
    8. Custom JavaScript Chapter ..................................................... 42
    8.1. DOM Manipulation within a JSF ....................................... 42
    8.2. Form Validation within a JSF Portlet ................................ 45
    9. Preparing JSF Portlets for Production Chapter ........................ 46
    9.1. Configuration.................................................................... 46
    9.2. Performance and Scalability............................................. 47
    9.3. Security............................................................................ 49
    9.4. Localization...................................................................... 50
    Part 2: Interacting with the Portal Environment
    10. Native Bridge Architecture Chapter ...................................... 54
    10.1. Container Architecture Overview.................................. 54
    10.2. Container Architecture.................................................. 54
    10.3. Container Interactions .................................................. 55
    11. Interportlet Communication Chapter .................................... 56
    11.1. Using Session and Request Attributes for IPC (Anti-pattern) 56
    11.2. Using the WLP Event Facility for IPC with JSF Portlets 56
    11.3. Notifications ................................................................. 60
    11.4. Comparison of the IPC Approaches ............................. 60
    12. Scopes Chapter ................................................................... 62
    12.1. Conceptual Scopes for Standard JSF Applications ...... 62
    12.2. Conceptual Scopes for Portal Applications................... 63
    12.3. Implementation Patterns for Portal Scopes .................. 63
    13. State Sharing Patterns Chapter ........................................... 66
    13.1. State Sharing Concepts ............................................... 66
    13.2. HttpSession Versus HttpServletRequest ...................... 66
    13.3. Base Code for HttpSession Patterns ............................ 67
    13.4. Single Portlet Pattern ................................................... 68
    13.5. Multiple Portlet Patterns ............................................... 69
    14. Rendering Lifecycles Chapter .............................................. 77
    14.1. WLP and JSF Lifecycles .............................................. 77
    14.2. Invocation Order of WLP and JSF Lifecycle Methods... 77
    14.3. Accessing WLP Context Objects from JSF Managed Beans 78
    15. Portal Navigation Chapter .................................................... 80
    15.1. Programmatically Constructing JSF Portlet URLs ........ 80
    15.2. Changing the Active Portal Page.................................. 80
    15.3. Redirects within a Portal............................................... 83
    16. Ajax Enablement Chapter .................................................... 85
    16.1. Ajax in JSF Portlets...................................................... 85
    16.2. Partial Page Rendering Pattern.................................... 85
    16.3. Stateless API Request Pattern ..................................... 86
    16.4. Portlet Aware API Request Pattern .............................. 87
    16.5. Controlling the WLP Ajax Framework........................... 91
    17. Additional WLP Features Chapter........................................ 93
    17.2. Portlet Container Features ........................................... 93
    17.3. Portal Container Features ............................................ 98
    18. Example: Implementing a Login Portlet Chapter .................. 99
    18.1. Login Portlet Motivation................................................ 99
    18.2. Login Portlet Design..................................................... 99
    18.3. Login Portlet Implementation...................................... 101
    Part 3: Integrating Third Party Libraries
    19. Integration Overview Chapter............................................. 111
    19.1. Types of Libraries....................................................... 111
    19.2. Roadmap for MyFaces Trinidad and ADF Faces Rich Client 111
    20. Using the Facelets View Technology Chapter.................... 113
    20.1. Introduction to Facelets .............................................. 113
    20.2. Configuring Facelets Support ..................................... 113
    21. Using the Apache MyFaces Tomahawk Component Library Chapter 115
    21.1. What is Apache MyFaces Tomahawk? ...................... 115
    21.2. Support for Tomahawk in WLP................................... 115
    21.3. Tomahawk Component List........................................ 116
    21.4. Installing and Configuring Tomahawk......................... 119
    21.5. Resolving the Duplicate ID Issue................................ 120
    21.6. Referring to Resources .............................................. 120
    21.7. forceId Attribute.......................................................... 124
    21.8. File Upload................................................................. 125
    22. Using the Apache Beehive Navigation Controller Chapter . 126
    22.1. Apache Beehive Page Flow ....................................... 126
    22.2. JSF and Page Flows .................................................. 126
    22.3. Configuring the JSF Integration with Page Flows ....... 127
    Appendices
    23. Appendix 1: Consolidated List of Best Practices ................ 130
    24. Appendix 2: Known Issues and Workarounds.................... 132
    24.1. CR383659, CR383662 Inconsistent failures with JSF portlets 132
    24.2. CR342124: IllegalStateException due to duplicate client-id 132
    24.3. CR384916: IllegalStateException due to duplicate client-id when using certain components such as Tomahawk and Trinidad...... 133
    24.4. CR361477 Problems with the integration of JSF portlets with Apache Beehive Page Flows.................................................................. 133
    24.5. CR377945 JSF 1.2 suffers from a memory leak during iterative development .............................................................................. 134
    25. Appendix 3: The JSFPortletHelper Class ........................... 135
    26. Appendix 4: The CleanupPhaseListener Class .................. 147

    Hi Peter!
    First, I wish to thank you for the great work.
    We followed your whitepaper and managed to deploy a JSF portlet on WLS.
    But we are not able to register it (consume it) as remote portlet in Oracle Portal 10.1.4. The error log is as follows:
    An error occurred while trying to refresh the provider. (WWC-43190)
    An error occurred during the call to the WSRP Provider:
    java.rmi.RemoteException: serialization error: serialization error:
    unexpected null value for literal data; nested exception is:
    serialization error: serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    serialization error: unexpected null value for literal data
    com.sun.xml.rpc.encoding.SerializationException: serialization error:
    unexpected null value for literal data
    Java stack trace from root exception:
    unexpected null value for literal data
    at
    oracle.webdb.wsrp.RegistrationContext_LiteralSerializer.doSerialize(RegistrationContext_LiteralSerializer.java:107)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    oracle.webdb.wsrp.GetServiceDescription_LiteralSerializer.doSerialize(GetServiceDescription_LiteralSerializer.java:88)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:119)
    at
    com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:70)
    at
    com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.java:473)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:62)
    at
    oracle.webdb.wsrp.WSRP_v1_ServiceDescription_PortType_Stub.getServiceDescription(WSRP_v1_ServiceDescription_PortType_Stub.java:63)
    at
    oracle.webdb.wsrp.client.design.v1.OraWSRP_v1_ServiceDescription_PortType.getServiceDescription(Unknown
    Source)Do you have any idea why this happens? Or you can provide some useful links to WLP -Oracle Portal federation?
    Thank you and best regards,
    PaKo

Maybe you are looking for

  • How to script the add certificate exception in Firefox 32.0.2 ?

    Hi, I meet some issues with the Firefox certificates management. Here is my context: - Firefox v32.0.2 on Windows 7 32 bits - a self-signed certificate created with OpenSSL 32 bits - Firefox and self-signed certificate have been deployed on 11000 wor

  • When I open a new internet "tab", only a blank page comes up, not my saved "home page"

    Running a Mac, had a new hard drive installed, reloaded Firefox, etc.... When I open a new tab for a new internet page, my home page does not open, I only get a blank page "untitled". I never had this issue with the other HD in the Mac. All updates a

  • Swaps on program buffer

    Hello all, I am trying to figure out why we started having many swaps in program buffer on ST02 and I found this on history that is quite strange. It appears that Free storage is bigger than available storage!! Few months ago that we had the same iss

  • Changing the first item being focused in a window

    Hello fellow programmers. I'm developing an application that contains a number of radio buttons as well as a PLAY and STOP button. I would like the PLAY button to be focused whenever the window is opened. I was able to get this done by calling the re

  • Old back-up versions of Lightroom

    Can I discard old versions of Lightroom back-ups and just keep the most recent one? According my my computer the back-up folder has 22.9 GB of old Lightroom back-ups and I could use the space if the old copies aren't needed.  If I discard the old ver