RFI: Portlet Personalization

We are currently evaluating BEA Portal7.0 and
we would like to have a clear picture about
PortletAPI and User Profile.
Is there any information/examples available
for definition and access(get/set) for portlet
properties of a valid portal user?
Here is the basic use case:
We have email portlet with user email address property
for the current user. Now, how do we define this property?
(We didn't find any portlet property editor in EBCC)
How do we access this property from a JSP in a valid user session?
How this work in generally? Are portlet properties
(e.g. user display profile) stored with user profile?
Where can we define user specific properties for a particular
portlet? In the portlet definition or in user profile definition?
If user specific portlet properties are stored separately from
the portlet definition, how can we move a portlet to different
domain? Are there any portlet import/export utilities available?
The curent portal documentation is not very helpful:
It tells us to create "edit.jsp" without any specific details...
Is there more usefull information available?
Thanks for your help!

Zoro,
The primary technique to access a user profile property (like
email address) from a JSP is the <um> taglib:
http://edocs.bea.com/wlp/docs70/jsp/p13njsp.htm#1001350
Property sets themselves are defined in the EBCC:
(the 4.0 documentation applies):
http://e-docs.bea.com/wlp/docs40/ebcc/propset.htm
These links should get you started on what you need to do.
-Phil
"Z0R0" <[email protected]> wrote in message news:3ddaa7f1$[email protected]..
>
We are currently evaluating BEA Portal7.0 and
we would like to have a clear picture about
PortletAPI and User Profile.
Is there any information/examples available
for definition and access(get/set) for portlet
properties of a valid portal user?
Here is the basic use case:
We have email portlet with user email address property
for the current user. Now, how do we define this property?
(We didn't find any portlet property editor in EBCC)
How do we access this property from a JSP in a valid user session?
How this work in generally? Are portlet properties
(e.g. user display profile) stored with user profile?
Where can we define user specific properties for a particular
portlet? In the portlet definition or in user profile definition?
If user specific portlet properties are stored separately from
the portlet definition, how can we move a portlet to different
domain? Are there any portlet import/export utilities available?
The curent portal documentation is not very helpful:
It tells us to create "edit.jsp" without any specific details...
Is there more usefull information available?
Thanks for your help!

Similar Messages

  • Struts Portlet Personalize Link

    I have a struts app that I have deployed as a portlet using the PDK struts tags/libs/etc..
    I'm trying to figure out, how to write custom code to allow users to click the "Personalize" link and specify some customization parameters for the portlet.
    I have seen a way to do this based on a JDeveloper example. However, the JDeveloper example is just a single JSP which handles everything (i.e. request, etc..) instead of calling a controller (i.e. a struts app).
    I've found that I can specify one of my actions in the provider.xml, which will allow me to call my struts action, prepopulate the page with data, and then forward to a JSP. However, when I forward to my JSP, it is within the context of the Personalize page itself, which already has an HTML form. So, I can't create my own custom HTML form and don't have control over the whole page. Also, with the form that is generated, there are Apply, Ok, and Cancel buttons.
    I really want to have control over the entire page. Is this possible? I can't see a way to eliminate the surrounding form.

    Can u please guide me how to create a portlet from existing struts application.

  • Copy portlet

    Does oracle portal support copy portlet like that of available in IBM portlet?

    Hi Ray
    Is it possible for you to delete and recreate page 2 ? If yes, delete page 2, and copy page 1 to page 2, and be sure to check the box that keeps portlets personalizations ...

  • SAP Data Source for OmniPortlet available for download

    What are we Announcing ?
    The beta release of SAP Data Source for OmniPortlet.
    SAP data source for OmniPortlet makes it easier than ever before to integrate SAP R/3 systems with Oracle Application Server(OracleAS) Portal. With the new SAP data source, one can easily build SAP portlets including search for BAPI Function Modules and Business Objects, configuration of appropriate input and output parameters, filteration criteria, desired views and layouts, portlet personalization, and even portlet-to-portlet communication using parameters and events.
    How can I use it?
    SAP Data Source is a plugin data source for OmniPortlet. You can connect to any SAP R/3 server and declaratively build SAP portlets with ease. In addition to all the basic features of OmniPortlet, SAP data source leverages OracleAS Portal External Application for secure access to the SAP R/3 instance. SAP data source comes as a zip file, with very simple steps to configure. Learn more about this data source from http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDKRELEASE2/PDKHOME902/SAMPLES/SOLUTIONS/UPLOADAREA/SAPDS/VIEWLET/SAP_DS_VIEWLET_JAN05_VIEWLET_SWF.HTML
    How do I get it?
    This data source is available through the Portal Integration Solutions page on Portal Studio. You would be asked to enter your OTN user details to download the data source.
    Portal Integrations Page: http://portalstudio.oracle.com/servlet/page?_pageid=3191&_dad=ops&_schema=OPSTUDIO
    We are keen to service any issues that you might have while using this data source. Please post your feedback/concerns/issues on the "Portal Developer Kit" forum.
    Regards,
    Abhinav

    Hi,
    please find the below data source
    2LIS_03_UM - stock revaluation.
    2LIS_03_BF- goods movement.
    2LIS_03_BX- stock initialization.
    please find the below doc, it is helpful to you.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/906b837a-0d54-2c10-08b8-bde70337547e?overridelayout=t…
    Thanks,
    Phani.

  • Configuring Entitlement

    Hi All,
    I am using WebLogic Portal 8.1 to develop a portal. I encountered a problem
    about configuring entitlement to enable portlet personalization.
    For example, I had a login portlet and a news portlet. Those 2 portlets are
    visible to everyone. Once users logged on, only news portlet is visible to
    logged users. Login portlet should be invisible to all logged users. It is
    easy to configure in WebLogic Portal 7.0. However, I don't know how to
    configure it in WLP 8.1 Portal admin. How can I configure it in WLP 8.1?
    Any help would be appreciated. Thx.

    You're right, if you're setting it during the render phase. Use a backing
    file and
    depending on your login approach, try using either handlePostBackData() or
    prerender() to set the profile.
    Portlets have lifecycles, and a lifecycle will run on all the portlets
    before the next lifecycle is run the lifecycles are:
    init()
    handlePostBackData()
    prerender()
    render() -> delegates to the JSP
    dispose()
    page flows are invoked during the preRender phase so this happens before the
    JSPs are invoked.
    Also you can implement your own code during these lifecycles via a 'backing
    file' (just a java class that extends )
    "Mike Sgroi" <[email protected]> wrote in message
    news:3fac23e1$[email protected]..
    >
    Can you elaborate on the suggested workaround? How do you go abouttoggling the
    user property to true upon login? If you do it in a portlet jsp, then itis too
    late since the entitlement evaluation has already happened.
    Mike
    "Phil" <BEA> wrote:
    Karen,
    WLP SP2 (around end of November) will have two new out-of-the-box roles:
    "AuthenticatedVisitor" and "AnonymousVisitor" that will address your
    needs.
    In the mean time, consider using a user property set property whose
    default
    value
    (false) is opposite when logged in.
    -Phil
    "Karen Law" <[email protected]> wrote in message
    news:[email protected]..
    Hi All,
    I am using WebLogic Portal 8.1 to develop a portal. I encountered aproblem
    about configuring entitlement to enable portlet personalization.
    For example, I had a login portlet and a news portlet. Those 2 portletsare
    visible to everyone. Once users logged on, only news portlet is visibleto
    logged users. Login portlet should be invisible to all logged users.It is
    easy to configure in WebLogic Portal 7.0. However, I don't know howto
    configure it in WLP 8.1 Portal admin. How can I configure it in WLP8.1?
    Any help would be appreciated. Thx.

  • JSP developing in Portal

    Hello,
    I can't find information about JSP developing in Portal.
    Last year I seed all this information:
    about provider registering
    about portlet personalization and customization
    about registering in Apache
    about "show" (etc.) modes for portlets
    special guidelines for JSP-portlet developing
    Yet I find only short (very short) courses. Where is full JSP developing
    courses? I seed this last year, but all links doesn't works.
    Do you have same information about JSP-portlet developing?
    Can you help me?
    Best & Regards
    Cheslav

    PortalStudio is constantly updated in terms of content orgainization
    and to help the users find the technical resources quickly and
    easily. The "Getting Started" document organizes the content
    in a systematic manner which allows the users to navigate directly
    to the feature they are looking for. Each link further describes
    a feature completely including installation.
    It can be accessed using
    [ http://portalstudio.oracle.com/servlet/page?_pageid=350&_dad=ops&_schema=OPSTUDIO&12678_PDKHOME902_39847486.p_subid=249438&12678_PDKHOME902_39847486.p_sub_siteid=73&12678_PDKHOME902_39847486.p_edit=0 ]
    Further, you might want to have a look at various demonstrations available at
    [ http://portalstudio.oracle.com/servlet/page?_pageid=350&_dad=ops&_schema=OPSTUDIO&12678_PDKHOME902_39847486.p_subid=249518&12678_PDKHOME902_39847486.p_sub_siteid=73&12678_PDKHOME902_39847486.p_edit=0 ]
    Hope it helps.
    -AMJAD.

  • Securing Personalize on portlet page

    Can one secure the 'Personalize' link in the porlet EDIT view to a particular LDAP group? this way only those persons who are in the group can personalize?

    I know you can change the access on a Page or a Tabbed Region to specify which portal groups have one of the Personalize privileges and which groups may have one of the other privileges (Manage, View, etc.) Which group currently has Manage or Manage Content privileges on the page and can put the page into Edit mode? Is that group different than the group you want be allowed to edit the defaults of a portlet when the page in in Edit mode?

  • Addition of portlets saved as personalization

    Hi,
    We have a requirement, where the end user can add portlets to his page, however these additions need to be stored as personalizations. Which means that if User 'A' adds a 'X' portlet to his page / dashboard all the other users should not see this portlet on their respective dashboards (which is personlization).
    During our investigation on Composer, we found out that Oracle Composer does allow the user to add portlets at runtime, but this is stored as customization and is visible to all the users once done. Is there any way in Composer , where we can configure that 'Additions of portlets by end user = personalization' and 'Addition of portlets by admin user = customization"
    Any API, Any link will definately help.
    Thanks in Advance!!
    Warm Regards

    Take a look at webcenter spaces. THis is an environment for collaborative websites. You can create pagegroups and each user has a "personal space" were they can add page. THese pages are only visible to theirselfs.
    If you don't want to use webcenter spaces and you want to have this in your own webcenter application then you should take a look at Customization Classes. These classes can provide at runtime the name of the layer were the customizations are stored. For example you can create (or use) a UserCC which defines a layer per user so when the user adds portlerts it is stored on a layer that has the name of the current user. This way every user will have his own customization.
    The advantage is that you can create your own CC. So you can for example do a check in your CC if the user is a regular user or admin and if it's an admin than the layer is the normal siteCC instead of the UserCC. This way admins will still be able to change the page for every user.
    Their is some nice documentation about CC in jdeveloper. Just open the help and look for customization class.

  • R separate personalization classes reqd 4  jsps managed by servlet portlet?

    My portlet is a servlet which manages multiple jsps. This servlet manages the session data as well as navigation between the pages. At the moment, I have separate personalization classes for each of the jsps. Each personalization class extends NameValuePersonalizationObject. The content on each of the jsps has to be managed within the portal.
    Do I need to have separate personalization classses or is it better to have one personalization class for all the jsps within my portlet ?
    Any help would be great, Thanks,
    Tara

    Hi,
    After going through your application scenario, i think you should use just one Personalization Class. A single class would suffice all the four JSPs.
    But, as you might be aware, a Preference Store can only store basic data types like String, boolean etc. Complex Data Types like Properties etc. cannot be stored directly using NameValuePersonalizationObject. If you are storing complex types, then you will have to extend this class & define methods to store & fetch data from this complex object into the Personalization Store.
    You might want to go through the following article which talks about Information Storage using Web Providers.
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/overview.information.storage.html
    If there are any further issues, please get back.
    Regards,
    Abhinav

  • Moving/Hiding Portlets at Personalization level

    Hello All,
    We are trying to build a webcenter application with few portlets. On a jsf Page, we have few portlets inside <cust:panelCustomizable> tag.
    When we run the application and login as a page-customizer we are able to see "maximize, move up/down, left/right" options under the actions menu. But when we change the position of the portlet through these options it is reflected globally for all the users.
    Also when we login at page-personilizer level, we are not able to see any of the above mentioned action items.
    Can anyone please let me know, if there is a way in Webcenter to provide movement of the porlets at personalization level so that those changes can be visible only to that particular user.
    Thanks in Advance
    Manoj

    The 10g version of WebCenter supports site level customization (not end user personalization). For more information, please refer to the relevant section of the documentation.
    Peter

  • Content Express Template for News Portlet bundeled with Personalization

    Is the template (and other files) to manage data for the news viewer of the personalization
    server available?
    I would like to add my own news items throught content express.
    Thanks for the help
    guy

    Well this is in the head tag
    <html>
        <!--<![endif]-->
        <head>
            <meta charset="UTF-8" />
            <meta name="viewport" content="width=device-width, initial-scale=1" />
            <title>55k Productie | E-marketing</title>
            <link href="boilerplate.css" rel="stylesheet" type="text/css" />
            <link href="stylesheets/style.css" rel="stylesheet" type="text/css" />
            <!--
    To learn more about the conditional comments around the html tags at the top of the file:
    paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
    Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
    * insert the link to your js here
    * remove the link below to the html5shiv
    * add the "no-js" class to the html tags at the top
    * you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
    -->
            <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
            <![endif]-->
            <script src="respond.min.js"></script>

  • Unable to bind portlet parameter with page parameter in webcenter portal

    Hi All,
    I am trying to bind portlet parameter with the page parameter so that I can ahieve some business requirements.
    Here is what I did,
    In my Portlet producer application:
    1) Created standards based portlet (jsr 286) with view.jspx and edit.jspx with rest of the things being default.
    2) In my portlet.xml created two parameters and assigned these parameters to the portlet created above.
    3) In the view.jspx added couple of output label adf components in the page.
    4) deployed this to integrated weblogic server.
    In my WC portal application:
    Created a new page and added the portlet to this page( WSRP connection already exists).
    deployed portal application on integrated server.
    In the edit mode of the page I added one page parameter(Param1) and some default (constant) value added.
    What I want is this:
    when Param1 value is One display first output label and
    when Param1 value is Two display second output label.
    I am using jdev 11.1.1.5.0 with integrated weblogic server.

    There is no need to use page parameters for this.
    You also have two types of parameters depending on what you want...
    1) Preferences: these parameters can be used on a user based level. This means that users can personalize the portlets. When a user change the value of a preference, it is only applied for that specific user
    2) Public parameters: these parameters are used to customize the portlet. The value you set in these parameter apply for all users.
    I have made a simple example to show these two differences: http://www.yonaweb.be/PortletTest.zip
    The portlet has 4 inputText on it. The first two can be set by specifying One or Two into the preference.
    The other 2 inputText uses the value of the public parameter.
    You should only deploy the portlet and consume it in a webcenter application. In the webcenter application, you don't need to do anything special. All is done in the portlet.
    I am guessing you don't have written the code that will get the value of the parameter:
    in case of a preference you will get the value by following code:
       PortletRequest request = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
       PortletPreferences preferences = request.getPreferences();
       return preferences.getValue("outputparam", "One");In case of a public parameter (for customization instead of personalization) you use following code to retreive the value of a public parameter:
    PortletRequest req = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
      String param = (String)req.getParameter("PublicParam");
      if(param == null)
          return "Three";
      return param;This code can also be found in the sample portlet application.

  • Accessing the external web application through web clipping portlet

    We have configured the web provider with the following details:
    1) Accessed the web provider with the
    URL
    http://hostname/portalTools/webClipping/providers/webClipping
    2) Accessed Edit link beside the HTTP Proxy under Provider Configuration.
    logged in as Portal Administrator.
    We haven't changed any values in Repository Settings.
    Under Proxy Settings
    Configured the HTTP proxy field with proxy server name e.x: proxy2.company.com.This is configured to browser
    wherver my application server is installed.
    portnumber value configured as 8080
    Checked the Requires Authentication.
    Selected Type as "Type"
    Realm value configured e.g: AD AUTHENTICATION Do not prefix mycomp\ with the
    username
    selected "Use login below for all users"
    configured the user name /password which I used to access my internet sites. (googl.com)
    All the above steps for provider configuration.
    login to portal for configuring webclipping portlet to a page.
    Followed the below procedure to add web clipping portlet to a page.
    1) From the portlet Repository, selected web clipping portlet and entered the URL location value as http:// www.google.com
    2) In the next step , It has thrown the below exception.
    An exception has occurred : oracle.portal.wcs.transport.http.HttpTransportException WCS-519 -- HTTP Proxy
    Authentication failed for proxy proxy2.mycomp.com:8080 with authentication of
    type "Basic" at realm "AD AUTHENTICATION Do not prefix mycomp\ with the
    username". Update your proxy login information in the Edit Defaults /
    Personalize page to authenticate.
    Please click "Cancel" or "Back" in the above panel (if present) to retry. Otherwise, please try to click "Back" (from
    the browser) to go back to the Oracle Portal page to restart.
    We have checked manually the provider.xml file for webclipping provider and the
    configured details are available in provider.xml file.
    Please let us know, what could be the problem and try to provde a solution at the earliest.
    This is very critical issue for us.if anybody have any suggestions on this , please do let us know.
    Regards,
    -Venu

    Either the login information is not correct (it explains it should not be domain\username but just username) or the authentication format from your Microsoft proxy server (Kerberos?) is not compatible with the Web Clipping portlet. You might get a better reply in the Portal forum about supported proxy authentication methods for the WebClipping portlet.

  • How can i display a portlet in the Edit view only ?

    Dear All,
    I'm developing a portal in which the end user can change the content of the portal page (personalize) using Edit smart link and i ask How can i display a portlet in the Edit view only ? not shown in the production view ?

    Last time I heard with Oracle they said the only way is to look at the current URL. If it contais _mode=16 then we are in edit mode.
    This is a function I use:
    FUNCTION inEditMode return boolean is
    bEdit boolean := false;
    begin
    if PORTAL.wwpro_api_parameters.get_value('_mode', 'qaz') = '16' then
    bEdit := true;
    end if;
    return bEdit;
    end inEditMode;
    Kind regards
    Tomas Albinsson
    Stockholm, Sweden

  • Setting portlet properties on different pages

    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

    Curt,
    Sure you can.
    Just define separate user property sets and store the information based on
    the page the user is on.
    You can easily determine the page id using portal API (for example look at
    the jsp which renders the page tabs in the framework directory).
    Regards,
    Michael Goldverg
    "Curt" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hello,
    New to Personalization so I apologize if this is obvious.
    Is there a way to have the same portlet available on multiple
    pages and allow a user to set different properties in a profile
    based on the page the portlet is in? For example, if portlet X
    is available on page A and page B and the edit tab allows the
    user to set value Val1 in a property, is there a way to qualify
    the Val1 property with a namespace so that it is associated with
    the page it is on? Currently if I have some properties defined
    in a profile and I set those profile values in an edit page
    and get them in the top portlet, then those same profile values
    will be associated with that portlet on all pages. That is with
    using the um:getProperty tag. Is there some way through roles
    to namespace profile values based on the page the portlet is on?
    Thanks,
    Curt

Maybe you are looking for

  • Script for Free Space in Datafiles

    Hi Got the below script from metalink [130866.1] to identify free space within a data file.Couple of questions 1)Is dba_Free_Space an exact indicator of how much space is available in a file. 2) What is the significance of using blocks in vs using by

  • Data copy and lookup

    Hi Gurus, I have the below scenario and would like to know what would be the best approach. I have a planning model. (model name = Plan) I have a copy of my planning model with an additional dimension cost center (model name = plan_copy) I need to co

  • Safari Won't Open Specific Website

    I was using an auction website and had numerous tabs open and let to have dinner, returned to computer and all the tabs were frozen at a specific time. I emptied cache and restarted computer and then Safari. Now, the auction site will not load. I rec

  • Stock transport Order control

    Hi Experts,   Need advice on this.   My company is currently using STO to transfer stock between 2 plants belong to 2 different company codes. Due to this, the PO type that we use will be NB instead of the usual UB. This is based on the SAP configura

  • What is "key date" in the query definition

    Hello, What is "key date" in the definition of query. Where does it come in picture and I see that it has value varaible? Can someone explain? Thanks