Customised Portlet Repositories

Hi Everyone
In our Portal design we would like to incorporate a customised Portlet Repository to assist with controlled page personalisation by our users.
As documented, the Portlet Repository is not selectable for export via transport set, and the pages within cannot be moved to another page group or as a template.
Using other means, has anyone every managed to export/migrate a Portlet Repository page group from one platform to another and avoid rebuilding the repository structure manually?
I know the doco says no, but never say never with Oracle Portal... :-)
Thanks for any comments
Dennis

Ok, have managed to get it working with a DBPreferenceStore, so just for info if anyone else has the same problem: I replaced the FilePreferenceStore node in provider.xml with the following:
<preferenceStore class="oracle.portal.provider.v2.preference.DBPreferenceStore">
<name>myAnyName</name>
<connection>jdbc/myDataSourceName</connection>
</preferenceStore>
and then created a table (in the schema which the datasource named in the <connection> above points to), as follows (script obtained on Oracle site):
CREATE TABLE JPDK_PREFERENCE_STORE2 (
PATH_TYPE VARCHAR2 (60) NOT NULL,
REFERENCE_PATH VARCHAR2 (250) NOT NULL,
SEARCH_PATH VARCHAR2 (250) NOT NULL,
DATA_CLASS VARCHAR2 (250),
LONG_VALUE LONG RAW,
CONSTRAINT JPS2_PK
PRIMARY KEY ( REFERENCE_PATH, PATH_TYPE ) ) ;
CREATE INDEX JPDK_PATH_TYPES2 ON
JPDK_PREFERENCE_STORE2(PATH_TYPE)
CREATE INDEX JPDK_SEARCH_PREFS2 ON
JPDK_PREFERENCE_STORE2(SEARCH_PATH)
And that was it.
Thanks a lot for your help meselfe

Similar Messages

  • Single customisation page for multiple portlets - possible ?

    Is it possible to create a single page to customise multiple portlets ?
    Example : select star sign for Horoscope, city for weather, etc on the same page.
    The preference store APIs allow us to set values, but always assuming that we are in a portlets 'edit' mode - we cannot provide the portlet instance ID ourselves.
    Any ideas ?
    Thanks

    You could save your customization information into a custom DB table, rather than using the preference store (which can only be accessed by a particular portlet instance).

  • Portlet error customisation

    Hello all
    I'm wondering if anyone has performed any customisation to the default error message that appears when a portlet throws an error, ie: through a PEI for example.
    While we can change the error text easily enough through the various localised xml files supplied with the portal our clients requirement goes beyond this.
    Depending upon the user and the location from which the portal is being accessed some portlets will fail due to firewall and security policies, in this case they want the default error text to be totally replaced with customised content indicating to the user that they are unable to access the portlet from their current location (eg: a less trusted branch office).
    Any ideas gratefully recieved.
    Simon Dragicevich

    David,
    I don't see an error message their but I do see a Cascading style sheet printing
    out. you may just be experiencing an html problem.
    -Travis
    "david" <[email protected]> wrote:
    >
    >
    >
    Hi,
    I created a portlet by web service wizard from BEA, and deployed it into
    a multi-page
    portal, but when I switched
    to the page from another page, I got a error message as attached file, any
    idea about
    this? Thanks a lot.

  • Portlet customisation lost on application redeployment

    Hi,
    I've developed a java portlet that requires customisation parameters that are set in the editdefaults page. It all works perfectly but I've noticed that if I redeploy the application then all stored customisation parameters are lost. I'm storing them as follows:
    NameValuePersonalizationObject data = (NameValuePersonalizationObject)
    PortletRendererUtil.getEditData(pReq);
    data.putString("mystringname", "mystringvalue");
    PortletRendererUtil.submitEditData(pReq, data);
    Is this loss of customisation inevitible or is there any way round it? (there will be many customised instances of the portlet and it will be a problem in the future if some amend is needed to the app)
    Any help much appreciated.
    Thanks,
    Alison

    I got it working by using DBPreferenceStore rather than FilePreferenceStore (which is wiped on redeployment). I did it by doing the following:
    I replaced the FilePreferenceStore node in provider.xml with the following:
    <preferenceStore class="oracle.portal.provider.v2.preference.DBPreferenceStore">
    <name>myAnyName</name>
    <connection>jdbc/myDataSourceName</connection>
    </preferenceStore>
    and then created a table (in the schema which the datasource named in the <connection> above points to), as follows (script obtained on Oracle site):
    CREATE TABLE JPDK_PREFERENCE_STORE2 (
    PATH_TYPE VARCHAR2 (60) NOT NULL,
    REFERENCE_PATH VARCHAR2 (250) NOT NULL,
    SEARCH_PATH VARCHAR2 (250) NOT NULL,
    DATA_CLASS VARCHAR2 (250),
    LONG_VALUE LONG RAW,
    CONSTRAINT JPS2_PK
    PRIMARY KEY ( REFERENCE_PATH, PATH_TYPE ) ) ;
    CREATE INDEX JPDK_PATH_TYPES2 ON
    JPDK_PREFERENCE_STORE2(PATH_TYPE)
    CREATE INDEX JPDK_SEARCH_PREFS2 ON
    JPDK_PREFERENCE_STORE2(SEARCH_PATH)
    And that was it.
    Thanks for all comments

  • Customising the Search Portlet

    Is it possible to customise the Search Portlet that is provided with Portal ?
    We would like to use a different banner (to keep it consistent with bespoke portlets that have been developed) and also make some changes to the results page.
    We are running Oracle Portal v3.0.9.
    Thanks in Advance
    Simon.
    null

    Simon,
    here's what I did:
    1. I placed the search portlet on a page.
    2. Viewed the html-source of that page.
    3. Copied the part of the search portlet.
    4. Modified the source to suit my needs.
    5. Placed a HTML-portlet on the page, and pasted the HTML in it.
    Hth,
    Ton

  • Elimination of Portlet Header Customise Link

    How to eliminate or hide the customise link
    in the portlet header.Should not remove portlet header.Link only to be removed.
    User should not customise the Porlet display name.What are the possibilities.
    Thanks.
    null

    We plan on adding this ability moving forward, but the only way to remove it today is to not display the banner.

  • Create customised page for adding removing portlets

    Hi All,
    I want to make a customised page which has checkboxes preceeding the portlet name which the user can use for adding/removing portlets . This requirement is similar to the add/remove portlet page provided on my.oracle.com when we go for customization of our page. I would like to know how to go about it and if any reference code exists for the same.
    thanks

    The problem - IF we were the only company using the product - AND this were only an internal portal. That might be acceptable.
    The problem with that is that we are using portal in a way that was not considered by the developers.
    We are using portal to customize (not per department) - but per CLIENT or CUSTOMER. That means - when we implement a site for one of OUR customers. We are not going to be customizing in house per customer. We will be allowing the CUSTOMER to customize their own site (AND their portlets).
    Now - a customer from "ABC Company" does NOT want to customize something and see a whole bunch of generic stuff. They want to see THEIR stuff in "ABC Company" format with their logo etc. Any other way is unacceptable.
    This use case needs to be revisited by the Oracle development team to address this issue if the only option is that we can't customize the page. (I assume that by hunting through the JDK, and looking through code - I might have a chance... but I was hoping for an easier solution).
    -RP

  • Customise Error Message on Portlet Header

    Default portlet error message displays "Error" or blank page on a page portlet when application is not available or timeout. Changing the error message in portlet provider (page portlet) does not correct the problem. Extend the timeout setting in web.xml cannot correct the priority. Please help.

    Same here just a screen while trying to click on a link from a bar chart. Just says "Error Message".
    Luke

  • Problems with page and event paramters in java portlets

    Hi there!
    Following the documentation in "A primer on Portlet Parameters and events" and "Adding Parameters an Events to Portlets" I tried to develop two portlets (who will be at the same page), one showing some content of a repository (with possibilities to browse throw it) and another showing a sitemap of the repositories whole content, presenting links to the content's pages to be shown in the content portlet.
    So I added:
    1. a page parameter called pageMenuID to identify the current content page to be shown in the content portlet
    2. an input parameter for content portlet called portletMenuID. This input parameter is mapped to the page parameter pageMenuID
    3. an event for content portlet called changeContent with output parameter contentMenuID. When this event rises, "go to page" is set to the current page and the output parameter contentMenuID is mapped to the page parameter pageMenuID.
    4. an event for sitemap portlet called changeContentFromSitemap with output parameter sitemapMenuID. When this event rises, "go to page" is set to the current page and the output parameter sitemapMenuID is mapped to the page parameter pageMenuID.
    This is the code for some constants and a function to build the links in the content portlet, that I want to use:
    // page parameter (shouldn't be used here)
    private final static String pageParamMenuID = "pageMenuID";
    // parameter names as given in providers.xml:
    // portlet input parameter
    private final static String inputParamMenuID = "portletMenuID";
    // event name
    private final static String eventName = EventUtils.eventName("changeContent");
    // parameter name for event parameters
    private final static String eventParamMenuID = EventUtils.eventParameter("contentMenuID");
    String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[2];
    eventParams[0] = new NameValuePair(eventName,"");
    eventParams[1] = new NameValuePair(eventParamMenuID, "" + menuID);
    try {
    return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
    eventParams,
    true,
    true);
    } catch (Exception e) {
    return "null";
    This is the analog code from the sitemap portlet:
    // page parameter defined on "edit page mode" (shouldn't be used here)
    private final static String pageParamMenuID = "pageMenuID";
    // parameter names as given in providers.xml:
    // event name
    private final static String eventName = EventUtils.eventName("changeContentFromSitemap");
    // parameter name for event parameters
    private final static String eventParamMenuID = EventUtils.eventParameter("sitemapMenuID");
    String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[2];
    eventParams[0] = new NameValuePair(eventName,"");
    eventParams[1] = new NameValuePair(eventParamMenuID, "" + menuID);
    try {
    return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
    eventParams,
    true,
    true);
    } catch (Exception e) {
    return "null";
    But what actually happens is nothing. I also tried to construct the links with EventUtil.constructEventLink() with the same result. Checking the produced html-code in the browser shows that the same URLs are produced. So I'm of the opinion, that proper event links are created.
    After checking the sent and received request parameters I came to the conclusion, that the event output parameters are never mapped to the page input paramters, as they should. So I changed the code to the following:
    // page parameter (shouldn't be used here)
    private final static String pageParamMenuID = "pageMenuID";
    // parameter names as given in providers.xml:
    // event name
    private final static String eventName = EventUtils.eventName("changeContentFromSitemap");
    // parameter name for event parameters
    private final static String eventParamMenuID = EventUtils.eventParameter("sitemapMenuID");
    String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[1];
    eventParams[1] = new NameValuePair(pageParamMenuID, "" + menuID); <-- Note that the page parameter and not the event output parameter is used here -->
    try {
    return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
    eventParams,
    true,
    true);
    } catch (Exception e) {
    return "null";
    Now everything works fine, including addition of persistent private portlet parameters and further input/page/event parameters as well as working with a third portlet with performs a search (and presents the search results as links which change the content in content portlet).
    But this is actually NOT the way it should work: The names of the page parameters are hard-coded in the portlets, so the roles of page designer and portlet developer are not separated in the way it is presented in the documentation. I coulnd't find a way to map the event output parameters to the page parameters to work this out.
    Now I wonder whether there's some known bug in PDK or perhaps a mistake in the documentation or wether I'm just missing doing the right things. I've already read some postings in this forum concerning this problem (for example how to change the query??? but I think I've done all the things that are suggested there (checked the entries in provider.xml and the proper mapping of page parameters, public (input) portlet parameters and event output parameters, also the way I read the received request parameters and build the links)
    Has anybody an idea what's wrong here?
    Best regards
    Torsten

    Hi Amjad,
    thank you very much for time and effort you spent on helping me solving this problem.
    Unfortunately, I think I already tried what you suggest in your answer, but without success. From my experience, the following two calls:
    1.
    <%!
    private static String eventName = "changeContent"
    private static String eventParamID = "menuID"
    String getEventUrl(PortalRenderRequest prr, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[1];
    // no addition of eventName in the array
    eventParams[0] = new NameValuePair(eventParamID, "" + menuID);
    return EventUtils.constructEventLink(prr, eventName, eventParams, true, true);
    %>
    <a href="<%= getEventUrl(portletRequest, 1234) %>">some link for ID 1234</a>
    2.
    <%!
    private static String eventName = EventUtils.eventName("changeContent");
    private static String eventParamID = EventUtils.eventParameter("menuID");
    String getEventUrl(PortalRenderRequest prr, long menuID) {
    NameValuePair[] eventParams = new NameValuePair[2];
    eventParams[0] = new NameValuePair(eventParamID, "" + menuID);
    eventParams[0] = new NameValuePair(eventName,"");
    return PortletRendererUtil.constructLink(prr, prr.getRenderContext().getEventURL(), eventParams, true, true);
    %>
    <a href="<%= getEventUrl(portletRequest, 1234) %>">some link for ID 1234</a>
    produce identical links. I took the second way because it is easer to add private portlet parameters to the link: just as additional NameValuePairs in the eventParam- Array (name constructed with HttpPortletRendererUtil.portletParameter()), instead of constructing the link "by hand" as mentioned in the javadoc for constructEventLink(). I have to add these private portlet parameters here because when an event from a private parameters owning portlet is fired, the private parameters are lost (in difference to when an event from ANOTHER portlet is sent).
    So I think, when you also look closely to the code snippet I added in the first posting, I made shure that I added the name of the event and not just the event parameters to the link.
    I hope that I understood your answer right. Perhaps you have another idea what might be wrong. Thank you again,
    best regards
    Torsten

  • How to view individual customised users portal pages

    Hi all,
    We have a portal site in Production which will have up to 3000 users. Users are allowed to customise pages by adding portlets to them. They can also customise individual portlets.
    The site has 24 x 5 support from a dedicated support team. We need to find a way of letting the support team view the users page (including the customisation) without having to ask the users password and actually logging in as them.
    I'm sure that this must be a common support issue in other organisations (including Oracle).
    Any help on this issue is appreciated.
    Regards,
    Roger

    hi,
    You can certainly do it for hourly basis but i am not sure whether it could be done quarter an hour basis. Also The portal nodes within a cluster can be in different time zones, yet the activity data from all nodes are aggregated together and reported together. To enable the reporting of hourly data from different time zones, portal activity reports display hourly data based on the GMT time zone.
    Do see the documentation
    http://help.sap.com/saphelp_nw04/helpdata/en/fb/144120ea5b4e9c9385d493a578d6c9/frameset.htm
    Weblog :Portal SP9: Portal Activity Report
    Regards,
    Ganesh N

  • How to publish a Jsp file as a Portlet

    Hello,
    I am using the Oracle Portal to develop a business system, and I have created a Jsp file with the report builder. I have the Jsp file, I have created the provider.xml and configured the zone.properties on the 9iAS.
    The problem is that; when I try it on the Portal, it does not appear to publish as a portlet. Do I have to make some configurations before?What is missing to work properly?
    I heard something about virtual path, or something like that. Is there anything with it?I also heard about repositories. Do I have to create one?And how?
    thanks...

    hi,
    I'm sure if you'd followed the steps in that document, there should not any problem. Were you able to view the 'Test Page' ? If no, whats the error message you are getting in jserv.log file ?
    --Sriram                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Document Management Repositories

    First a little background:
    We have recently purchased Oracle Workflow (Standalone)for use in a Content Management application, along with the Internet File system, and Oias. The application is intended to be a moderately simple (Create), Edit, Review, Approve, Publish workflow, where different document classes have a slightly different path.
    I noticed on the demo pages the Document Review demo, but unfortunately it does not appear to work, as there are no "Document Management Repositories" created.
    Now to the questions:
    Is is possible to configure Oracle Internet File System as a document repository to get this demo to work? If so, is there documentation to inform us how to go about it?
    If not, is there another product in the Oracle suite that we can use, or more information about what Document Management Repositories are/will be supported?
    Our application needs to be in production by March (with production software). If I can get the demo to work, I would like to proceed along with a customisation of the demo technology - how dangerous an approach is that, noting that the manual states that any reference to Document Management Repos are "for reference only".
    If this is not an approach that is viable, I assume I will continue down the path of using PL/SQL and java for integration with Internet file system, and doing the coding for the activities manually.
    thanks for any help on this - my aim this week is to get the Document Review demo working if at all possible....
    keep smiling
    Brigette

    Hello,
    The workflow demo is to provide a simple, yet common approval processes involved in any document management system. Oracle Workflow itself does not include any document management repositories. You can use any document management system and use Oracle Workflow to manage the processes involved when handling different documents.
    The documents sent for approval in the demo are sent as attachments to the notification. You can also include hyperlink to documents stored and any document management system including iFS. In fact, we are already integrated with iFS.
    For correct versions of iFS/CMSDK which has workflow pre-integrated, please contact the iFS folks.
    Cheers,
    Raja

  • SOA 11g Worklist Apps Customisation and Integration with Plumtree Portal

    Hi,
    We want to migrate an existing application build using SOA Suite 10.1.3.3 to 11.1.1.2.0.
    In the 10g application the worklist application was customised and the customised apps was linked as a remote portlet in BEA Plumtree Portal.
    1)In 10g the worklist application source code is available (\SOA_Oracle_Home\bpel\samples\hw\worklistapp) for customisation but is that possible for 11g ?
    (The location of the default deployed worklist apps in 11g is /../mdw_home/user_projects/domains/soa_domain/servers/soa_server1/tmp/_WL_user/worklistapp).
    Can we take the source code and customize in jdev and deploy under a different contextname in 11g??
    3)Our existing 10g worklist was customised a bit in terms of look and feel and for some custom authentication and it was deployed in the 10g SOA Server.
    A sample jsp application was created and the login page of the custom worklist apps was linked in a inframe so that it works when integrated with the Plumtree portal as a remote portlet. And this worked perfectly in 10.1.3.3 SOA Suite.
    However the 11g SOA worklist login when tagged in a jsp as an inframe in plumtree portal is giving a warning message
    Warning: Unable to load content in a frame. Frame content will load at the top level. On cliicking the OK button the worklist page is opening. This is with Firefox browser . however form IE7 or 8 its timing out from portal.
    As per http://newsoalife.blogspot.in/2009/09/framebusing-in-adf.html
    changing the web.xml for the worklist can help.
    Can anyone please let us know on the same as this appeas an unsupported one.
    Regards
    Ashif

    Hi,
    Can you check the log file.u are getting any error.can you check wf_error table also u are getting any error.
    Can you check consumer in AQ tables.
    Thanks,
    Rahul

  • How to use Custom Search in Dynamic Page or HTML Portlet ?

    Gurus,
    1. I have a tab called My Space in the portal web site, where user gets a personalized view of the content.
    2. I am using custom attributes and custom item types. I have a custom attribute called 'Location', which is a attribute of custom item types.
    3. I have 2 pages - News and Events.
    4. All the content in News and Events page is tagged by the attribute 'Location'.
    5. The requirement is to let the user search the News and Events by Location.
    6. To achieve this I used the Custom Search portlet and the user can select the attribute Location and see the resultant News and Event items by location in the Search portlet.
    7. The requirement is to present the News items and Event items in separate regions on the page and show only the first 5 News and Event items in the result and show a More link which would guide the user to rest of the News and Event items.
    8. Eventually there may be more content other than News and Events tagged by location. If so, the requirement is to create a new region and display the new content.
    9. How would I do this using custom search ? I was thinking if there is anyway I could use the custom search api (where can i find it ?) in the HTML portlet or Dynamic page and submit the result to IFRAMES in each region and show the output ?
    Pls advise.
    Thanx a bunch.

    I would suggest that you use two custom search portlets; one for the news items and one for the events items. Switch the custom search portlets to "AutoQuery" mode and add the relevant criteria. On the results display tab of the the "edit defaults" screen, choose to show just 5 items.
    To add a link to show the user mode results, I'd create two new pages that have just a single custom search portlet on it that is customised to show more of the results and maybe has the pagination links enabled.
    Then I'd add two "Page Link" items underneath the two news and events portlets on the first page in an item region.
    I'm sure there are other ways of doing this as well. Hope that helps to get you started.

  • Integration of JSR-168 portlet into Portal - Complete Guide

    Hi there,
    the CE 7.1 is described to be compatible with JSR-168 portlets.
    Our Company has developed a JSR-168 portlet which comes as a WAR-File
    which can be easily included in other application server and portals (WebShpere, Apache).
    But integration in SAP Netweaver fails - I am missing a complete documentation
    which describes me the necessary steps to integrate a JSR-168 portlet application
    into the SAP Application Server and also how to integrate the GUI into a View of the NW portal.
    PLEASE HELP ME!!!
    Things I tried - Things I failed:
    - Imported a EAR-File into Developement Studio and tried to add it to Server
      -> Message  "EAR Project: ... should have the SAP specific facet in order EAR to be built."
    - Deployement via "Deployement Tool" of Netweaver 2.0 (2004s) worked
      and I was able to start app but no integration into NW portal view was possible
    (Where is the deployement tool in NW 7.1 CE?!?!?)
    - I wanted to create a PAR-File by a WAR-File but dont know how?
    - I did not find any iView template which is for my portlet type.
    Did anyone out there has the same probs or could help me....
    Thanks on advance,
    Andi-)
    Edited by: Markus Sümmchen on Oct 6, 2008 1:47 PM

    Hi Markus,
    There is no complete guide for integration of JSR-168 portlets into a portal; however Diyan is correct.
    In a nutshell, once you have deployed your portlet, you use GPAL technology in the SAP NetWeaver Portal of CE to create an iView wrapper in the PCD. All of this done by a portal content admin in the Portal Content Studio. Your deployed portet should be displayed in the "Portlets" repository within the Portal Catalog of the Portal Content Studio.
    For conceptual and how-to documentation, refer to the following SAP Help Portal links:
    - Generic Portal Application Layer (GPAL) Repositories: http://help.sap.com/saphelp_nwce10/helpdata/en/44/5e93dc35624ddee10000000a1553f7/frameset.htm
    - Integrating Applications into the Portal: http://help.sap.com/saphelp_nwce10/helpdata/en/45/90e8bfaec26c4ee10000000a1553f7/frameset.htm
    - Working with GPAL Repositories: http://help.sap.com/saphelp_nwce10/helpdata/en/44/5b96b37b6f4de1e10000000a1553f7/frameset.htm
    Please let me know if this works for you.
    Michael

Maybe you are looking for

  • Preloader not working when image scroller present

    Hi: I designed a .fla that involves a large panoramic image that I stitched together in PhotoShop, then imported into the library and made into a movie clip, I then have the movie clip of the panoramic load into an image scroller (the one in the comp

  • Can I be able to read a pdf format on my blackberry?

    Can I be able to read a pdf format on my blackberry? Is there a program that will be able to do that? Please give me Kudos if you feel like I helped you Thank you cuse165

  • Processor Noise.... Help.

    Ok. I own an iBook G3 (800MHz 32VRam). Whenever the processor inside the iBook is working or loading something I can hear a static-like noise coming from the processor. I was wondering if it was the hard drive so I put my ear up to the laptop and the

  • Importing from time machine

    I'm trying to add photos from time machine to my iphoto. I imported  the library to a new folder to avoide having 2 iPhoto libraries with same name. when clicking on the iPhoto library I get this: "Your photo library will not be readable by previous

  • Can i edit other files while encore is building a DVD?

    I'm in the process of creating several DVDs in encore CS6 and I would like to be able to work on the menus and timeline of a file while I am waiting for a DVD to build. It seems like encore will not let me open multiple instances of itself and nothin