Add Portlet Customization

Hi Everybody,
I'd like to create a more friendly and simple interface for my user choose between hide and show any portlet in one page.
Does anybody have any simple idea about how i get it?
Thanks in advance.

Hi Yuri,
Yes, portlets can be minimized by using both the PL/SQL and the Java API, there is no difference.
There are plans to make a minimizable portlet available in the portal community. For the time being, you can give it a try and do it on your own.
I've summarized the steps I've taken, and would be glad if you'd provide feedback whether you succeed.
How to add the 'Minimize/Restore' feature to your portlet?
Assumptions:
o You already have a working Java portlet
o You have registered your provider so that the login frequency
is 'Once Per User Session'
This solution uses the following PDK-Java services:
o Parameter passing
o Session storage
o Personalization
High level steps:
1) Create two images as the minimize and restore icons.
2) Make the images available for the browser (eg: copy the images
to the /images folder of Apache and make sure they can be
accessed.)
3) Render the minimize or restore image, according to the current
state of the portlet in the top right corner.
4) Put a hyperlink on the images:
pageURL&size=minimize (if the portlet size is normal) or
pageURL&size=restore (if the portlet is minimized)
5a) When rendering the portlet, read the parameters.
Push the read parameter to the sesssion storage
and to the personalization storage as well.
(The session storage is used when navigating to another page,
and coming back later, but the parameter is not available in
the URL any more, while the customization is used for the
cases when the user logs out in the meantime or closes the
browser, but wants to restore the state of the portlet as
it was by the time the session was closed.)
5b) If there is no parameter passed to the portlet, read the
session storage.
5c) If there is no session information available about the portlet
state, read the customization value. Push the read value to
the session storage.
6) Render the entire portlet (normal), or don't render it (minimize)
according to the parameters/session/customization information
read in 5a-5c
Additional feature:
If you stop here, in new portal sessions the portlet is rendered
in the same mode as it was rendered last time just before having
logged out (as saved in personalization data).
As an extra customization option you may add how you want
to render the portlet when starting a new portal session (logging
on again):
o normal (regardless of the last time)
o minimized (regardless of the last time)
o as left last time
Thanks,
Peter
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Yuri Alekhin ([email protected]):
Hi Peter,
I am using PL/SQL PDK to create portlets:
I am trying to minimize portlet programmatically and display another one instead. Is there a PL/SQL API for this?
Any ideas?
Thank you in advance.<HR></BLOCKQUOTE>
null

Similar Messages

  • How can i add portlet programetically to a page

    Hi
    I want to create a portlet that contains a list of my portlets so i can place this on a page(by default customization) and all the authorized users can just click on items of this portlet to add this item to their view of the page.
    This is just to avoid the long procedure to add portlet(From clicking on customize link of the page,add portlet button of the region, selecting the portlet....).For end users this may seem difficult.
    If it is possible let me how to remove it programetically.
    thanks in advance
    Abdulla
    null

    Do anybody know a way to achieve this??
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sherry:
    Hi
    I want to create a portlet that contains a list of my portlets so i can place this on a page(by default customization) and all the authorized users can just click on items of this portlet to add this item to their view of the page.
    This is just to avoid the long procedure to add portlet(From clicking on customize link of the page,add portlet button of the region, selecting the portlet....).For end users this may seem difficult.
    If it is possible let me how to remove it programetically.
    thanks in advance
    Abdulla<HR></BLOCKQUOTE>
    null

  • Portlet Customization problem

    I am using JPDK 3.0.9.0.1 for writing my portlets.
    I am trying to add the customization support to a portlet. and I
    am using FilePersonalizationManager.
    The provider.xml has following element for
    PersonalizationManager
    <personalizationManager
    class="oracle.portal.provider.v1.FilePersonalizationManager">
    <dataClass>com.coverall.portal.MyPersonalization</dataClass>
    </personalizationManager>
    Here MyPersonalization class extends
    NameValuePersonalizationObject class.
    The customization works fine for an Integer value, where I use
    the MyPersonalization class to store String Array into it using
    putStringArray() and getStringArray() methods it doesn't work.
    and gives me
    Error while adding Portlets to the Page. (WWC-44012)
    The following error occurred during the call to Web provider:
    java.io.IOException:
    at
    oracle.portal.provider.v1.FilePersonalizationManager.writeDataObj
    ect(FilePersonalizationManager.java:938)
    at oracle.portal.provider.v1.FilePersonalizationManager.create
    (FilePersonalizationManager.java:331)
    at oracle.portal.provider.v1.FilePersonalizationManager.create
    (FilePersonalizationManager.java:298)
    at
    oracle.portal.provider.v1.http.ServletProviderResponse.registerPo
    rtlet(ServletProviderResponse.java:295)
    at
    oracle.portal.provider.v1.http.HttpProvider.dispatchProviderActio
    n(HttpProvider.java:650)
    at oracle.portal.provider.v1.http.HttpProvider.service
    (HttpProvider.java, Compiled Code)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest
    (JServConnection.java, Compiled Code)
    at org.apache.jserv.JServConnection.run(JServConnection.java,
    Compiled Code)
    at java.lang.Thread.run(Thread.java:479)
    (WWC-43147)
    I checked jserv.log and it says
    "[25/10/2001 12:55:14:221 EDT] MyProvider/Error creating
    D:\cti\Portal\provider\MyProvider\65825143\1
    \388_MYPROVIDER_65825143\_default.dat : "
    How do I get this NameValuePersonalizationObject to store String
    Arrays?
    Thank you
    Sagar

    Please log a bug for this through Oracle Support

  • JSP is not getting displayed in add portlet repositery

    Hi,
    I have registered two servlet in provider.xml and I was able to
    view that servlet as a portlet in add portlet repositery.
    After that I wanted to add one more JSP as portlet under same
    provider. So I have kept JSP in same directory where servlet is
    kept. I have added JSP as portlet in Provider(i.e. provider.xml)
    and given appPath and appRoot for that JSP. Whenever I am trying
    to view my provider by giving following URL
    http://servername/servlet/myprovider
    I am getting message -
    Congratulations! You have successfully reached your Provider's
    Test Page.
    in same page I am able to view my all portlets. in that list I
    am able to view my JSP as a portlet.
    Now I want to add JSP portlet in my page at that time that JSP
    portlet is not getting displayed in add portlet repositery.
    Can anybody tell why JSP is not getting displayed in portlet
    repositery ? What should I do to get it displayed in portlet
    repositery ?
    Thanks in advance.
    Biren

    You have to refresh the Provider. They are a couple of ways to
    do it.
    1. Take a look at the release notes for PDK-Java.
    http://portalstudio.oracle.com/servlet/page?_pageid=468&_dad=ops&
    _schema=OPSTUDIO
    It mentions and auto reload feature that will refresh the
    provider on the PDK-Java side when you make changes to the
    provider.xml. When you add portlet, you simply refresh the
    repository in portal and add the new portlet to a page.
    2. If you do not have the auto_reload parameter, you simply need
    to refresh manually.
    a. After updating the provider.xml, restart the HttpServer where
    your PDK-Java Provider is located.
    b. Refresh the Portlet Repository
    Both these do the same thing, and should solve your problem
    Sue

  • You don't have Add and Customize Pages permissions required to perform this action - but i do!

    Hello.
    I am having a similar problem to the one described by this post here:
    http://kiruthik.com/2010/10/05/YouDontHaveAddAndCustomizePagesPermissionsRequiredToPerformThisAction.aspx
    However, his resolution of changing web.config under wwwroot did not fix my issue.
    Here is the situation on a recently upgraded SP2010.
    1) Create a document library. Set the document template to "basic page"
    2) give a user full control on the document library.
    3) Go, under that users credentials, to the document library and create a new document.
    4) Name the document whatever and hit create
    5) a page is displayed which says the following: "Web Part Error:
    A Web Part or Web Form Control on this Page cannot be displayed or imported. You don't have Add and Customize Pages permissions required to perform this action."
    6) Become confused as giving someone "full control" on the library should obviously inherit the permissions to when they create a document and try and edit it.
    If i give the user "full control" on the entire site (site actions -> site permissions), then the document pops open an editor which would allow you to add content to the basic page. Obviously, i do not want to give users full control to the
    entire site :)
    Giving the user  "Add and Customize Pages" permissions on the entire SITE allows them to edit get the popup to edit the file, but this is not desireable either since then they could "Add, change, or delete HTML pages or Web Part pages,
    and edit the Web site using a Windows SharePoint Services-compatible editor.". I do not want them to edit any web pages, i just want them to edit a particular lists webpage!
    Things i have tried:
    - Set the permissions on the "MSContentEditor" webpart to have the user have full control of the web part.
    - set the permissions on ALL the web parts to have the user have full control (permissions on the web parts list)
    - Edited web.config to add a line to mark "contentEditorWebPart" as safe, and then restarted IIS.
    - Recreated test lists and was able to duplicate the behaviour
    So I am wondering, is this a sharepoint bug or what? Should a web part not inherit the permissions of the list it is working in? if not, what are the exact items i need to set permissions on to get this webpart to display correctly?
    Setting global site permissions is not an option.
    Another workaround is to make a "wiki page library" which allows you to copy and paste text into a static page, and also edit that text. I can move all the content over to a "wiki page library", and thats what i probably will end up doing
    in the end, but its annoying because there is alot of content to move, and it all has to be done by hand as you cannot upload documents to a wiki afaik. Also the wiki uses a different editor, its inline instead of a popup in IE which is probably why it is
    working.
    This may not be a bug and could be a simple permissions problem or something else, but i have been looking at this for hours and it doesnt make any sense to me.
    Any help appreciated thanks!

    Hi,
    Yes, you must have “Add and Customize Pages” permission
    from site level to perform this action, the permission is not in list permission level.
    You can add a new permission level which only includes “Add and Customize Pages” permission, and then create new SharePoint group with this permission
    level.
    Add the users into the SharePoint group and these users will get the “Add and Customize Pages” permission
    from site level.(site permissions)
    Additionally to add/edit page, the users also need the permission level “Contributor” in list permission level.
    (you should know when you grant the full control to the users in list permission level, the users won’t get the permission from site level)
    If you need further help, please let me know.
    Hope this helps
    Thanks!
    Stanfford
    Everything will be fine.

  • How to add portlets to the task flow page

    I am using WebCenter space and I want space users to be able to put the portlets into their group space pages.
    All the portlets are under portlet folder in the catalog. However, our requirement was to have a custom folders.
    For example, the user administration portlets have to be in something like "user administration" folder and report portlets have to be in something like "report" folder.
    By "extending WebCenter Spaces" White Paper, I can create a custom folders and then I can put custom task flows. However, it doesn't say anything about the portlets. I opened SR with Oracle but so far I don't have the answer from Oracle.
    So I tried to add portlet into task flow pages after registering the portlet producers. However, it gives me the error portlet unavailable. Do I need additional steps to do this? I need help...

    Thank you.
    However it is not showing in the catalog.
    I used the WSRP producer connection name as provider and id from the portlet.xml file.
    rss is my WSRP producer connection name from EM and the id is numeric in my portlet.xml file.
    I can see the folder but I cannot see anything inside of the folder.
    <folder id="customPortletFolder">
    <attributes>
    <attribute value="Custom Portlet Folder" attributeId="Title" isKey="true"/>
    <attribute value="Custom Portlet Folder" attributeId="Description" isKey="true"/>
    <attribute value="Custom Portlet Folder" attributeId="Subject" isKey="true"/>
    <attribute value="/adf/webcenter/folderlists_qualifier.png" attributeId="IconURI"/>
    </attributes>
    <contents>
    <resource path="1269551712363"
    repository="rss"
    id="RSSReader">
    <attributes>
    <attribute value="portletTest" attributeId="Title" isKey="true"/>
    <attribute value="portletTest" attributeId="Description" isKey="true"/>
    <attribute value="portletTest" attributeId="Subject" isKey="true"/>
    <attribute value="oracle.webcenter.spaces.browser" attributeId="WEBCENTER_SERVICE_ID" isKey="false"/>
    <attribute value="/adf/webcenter/community_qualifier.png" attributeId="IconURI"/>
    </attributes>
    </resource>
    </contents>
    </folder>

  • Is there a way to allow contributor users to add web parts to a page without granting them "Add and Customize Pages" permission?

    I am working on an enterprise wiki site collection, and when contributor users try to add web parts they will get the following error:-
    A Web Part or Web Form Control on this Page cannot be displayed or imported. You don't have Add and Customize Pages permissions required to perform this action.
    So I granted the Contribute Permission level an extra permission which is “Add and Customize Pages”. Now contributors will be able to add/edit/delete
    web parts. But they will have extra permissions that I do not want them to have , such as changing the design and customize some page layouts, also they can access the site settings and create site columns !!.
    So my question is basically if there is another way to allow users with contribute permission to be able to add web parts without granting any extra permission. In other words to treat adding web parts as normal content such as image, Text ,tables ?
    Thanks

    I dont think so.
    http://technet.microsoft.com/en-us/library/cc288074%28v=office.14%29.aspx
    Add and Customize Pages
    Add, change, or delete HTML pages or Web Part pages, and edit the Web site by using a Windows SharePoint Services-compatible editor.
    View Items, Browse Directories, View Pages, Open
    Design, Full Control 
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://freeit-support.com/
    so there are not any workarounds or any custom settings which i can use to implement any of these:-
    - To force Contributor users to add web parts without granting them "Add and Customize Pages"
    - If i grant them "Add and customize Pages" permission, to stop the ability to access the site settings ?
    Please can any one advice on this , as it is causing a lot of confusion,,, and i can not live with the face that Contributor users can access and modify site settings. the other approach will be is that i will stop using web parts. but one of our main reasons
    we decide to use SharePoint is the ability to add web parts, especially the Visio & Excel web access web. thanks in advance for any advice ..

  • "Add Portlets" list - where are my portlets?

    As an Administrator, when I click "Add Portlets" from the My Page menu, I see all portlets listed.
    As a normal user, I'm currently seeing a blank list. When I click "Browse All Folders", I can find the portlets in their respective folders. They also appear when I specifically search for them. This morning, I was seeing a sub-set of the portlets (i.e. some were missing), but now I see none.
    The privileges are correct - I just can't work out how the initial list of portlets is generated.
    How can I get all those portlets visible back in the list again, and make sure they stay this time?
    Cheers,

    As already mentioned:
    When I click "Browse All Folders", I can find the portlets in their respective folders. They also appear when I specifically search for them.
    They're definitely available to the user ... they're just not appearing in the default list.

  • Migration of  ADF 10g application to ADF 11g(Portlet Customization Error)

    Hi,
    Currently we are doing a migration of ADF/Webcenter 10g appication to 11g(11.1.1.6) and in the current 10g application portlet is used which contains the file based content and can be customized using a specific role say(admin).
    We have almost done the migration using the Jdeveloper 11.1.1.6 and most of the pages along with the portlet content are coming similar to the 10g look and feel but whenever we want to do portlet customization using the specific role we are getting the below exception. The content is file based system and the details of the versions are as below
    10g Environment:
    OC4J version. Oracle Containers for J2EE 10g (10.1.3.5.0)
    JDK version- java version "1.5.0_06"
    Webcenter and it’s version : Webcenter 10g(10.1.3.5.0)
    ADF version. Oracle ADF 10g
    Jdeveloper 10.1.3.3.0
    11g Environment: Currently I am using Jdeveloper 11.1.1.6 with Integrated weblogic server
    webcenter extension used: oracle.webcenter.framework_bundle/oracle.webcenter.customization_bundle
    Error which I am getting during portlet customization:
    [2013-02-20T14:47:42.162+05:30] [DefaultServer] [ERROR] [] [oracle.portlet.binding] [tid: [ACTIVE].ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: portaladmin] [ecid: 39e706a46ad531be:31f43ddc:13cf6ad5231:-8000-0000000000000386,0] [APP:TEST_DEV#V2.0] An error has occured for Portlet Binding portlet3.[[
    java.lang.NullPointerException
    at oracle.adfinternal.model.portlet.binding.PortletModelImpl.getRequireIframe(PortletModelImpl.java:907)
    at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getRequireIframe(ActivityPortletModelWrapper.java:71)
    at oracle.adf.model.portlet.binding.PortletBinding.prepareRenderPhase(PortletBinding.java:455)
    at oracle.adf.model.portlet.binding.PortletBinding._refresh(PortletBinding.java:377)
    at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:969)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3273)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:561)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
    at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:23)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:402)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:64)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Any hellp or suggestion will be helpful for me to resolve this issue.
    Thanks in Advance
    Chetan

    Hi,
    given its a WebCenter question, you want to post it to the Webcenter forum: WebCenter Portal
    Frank

  • The question about portlet customization and synchronization

    I have a question about portlet customization and synchronization.
    When I call
    NameValuePersonalizationObject data = (NameValuePersonalizationObject) PortletRendererUtil.getEditData(portletRenderRequest);
    portletRenderRequest.setPortletTitle(str);
    portletRenderRequest.putString(aKey, aValue);
    PortletRendererUtil.submitEditData(portletRenderRequest, data);
    Should I make any synchronization myself (use "synchronized" blocks or something else) or this procedure is made thread-safe on the level of the Portal API?

    HI Dimitry,
    I dont think you have to synchronize the block. i guess the code is synchronized internally.
    regards,
    Harsha

  • Portlet not showing up in 'Add Portlets to Region' page

    This relates to Portal 9.0.2 (the new version that shipped with iAS 9.0.2).
    I created a provider based on a Report, specifying the SQL query to be used, and thus created a portlet which produces a report from the query. It works and I have added it to a region in a page. So far, so good.
    Then I created a second provider with a very nearly identical SQL query, set virtually everything to be the same as the attributes for the first portlet. I wish to add it to another region in the same page. However, when I try to do the edit for the page, to add the second portlet, it doesn't show up in the list of portlets in the 'Add Portlets to Region' page, so I can't add it.
    Both portlets show up in the Providers list. They both say 'Report from SQL Query' under Type, and both say that their owner is EXAMPLE_APP. However, when I navigate to that owner in the 'Add Portlets to Region' page, only the first portlet shows up. The other one doesn't.
    Any ideas as to why this might occur? What do I look for? I've tried to look for any differences between the two portlets, and haven't seen anything obvious.
    Help!
    Responses much appreciated!
    Regards
    Bryan

    Thanks!
    I did what you suggested, and the page came back:
    Portlet Repository Refresh Status
    View information about the most recent Portlet Repository refresh, such as who initiated the process, when it was started, and whether it is complete or still in progress. If the refresh is complete, this page also shows when the process finished and whether it was successful. Click View Details to view a more detailed log of the refresh process.
    Started By: PORTAL
    Started On: April 08, 2002 19:13:38
    Completed On: April 08, 2002 19:13:57
    Refresh Status: Complete
    Refresh Result: Succeeded
    View Details
    Note that since I had just done a refresh, I would have expected the date to be today's, assuming that the date refers to when the refresh was done, but instead it's April 8th. Strange?
    When I clicked on the View Details link, it brought up a page:
    Monitor Log Detail Report
    Advanced
    Error: Unable to perform query (WWV-10202)
    ORA-01722: invalid number (WWV-11230)
    No row returned.
    Not too helpful an error message, huh?
    Clicking on the Advanced/Basic links produced identical results (the same exact error message).
    The Add Portlets to Region still does not show the portlet I wish to add.
    Any additional help much appreciated...
    Thanks
    Bryan

  • Cannot add Portlets: Portal Repository - Refresh Errors

    I cannot add portlets in Portal 3.0.8.
    When I click the "Refresh Error" link in the Portal Repository, I get the following error:
    PROVIDER[527954]: Oracle Portal Pages PORTLET[886]: TN_ORGAN LANGUAGE: s ERROR: User-Defined Exception
    How do I get rid of the error?
    null

    The way the Refresh works is that for each provider, Oracle9i AS Portal contacts the provider for its list of portlets. It will request the list in each of the installed languages. For database providers, this call is the get_portlet_list API. For web providers, this call is the oracle.portal.provider.v1.Provider.getPortlets java API.
    The error you are seeing in the refresh log is being caused by an exception raised in provider=527954,portlet=886,language=s in either the get portlets or get portlet methods. You should check these two methods with Swedish.

  • Default Provider Hiding in Add Portlet

    Hai Experts,
    In a page i am adding a new portlet using
    add portlet tab. While clicking the add
    portlet i am getting all portlets including
    oracle portlets,monitar,etc,
    I need only my applications.
    How to hide the unwanted portlets.
    Please help me...
    Very very urgent.
    Regards
    Ramesh.G
    null

    You have to refresh the Provider. They are a couple of ways to
    do it.
    1. Take a look at the release notes for PDK-Java.
    http://portalstudio.oracle.com/servlet/page?_pageid=468&_dad=ops&
    _schema=OPSTUDIO
    It mentions and auto reload feature that will refresh the
    provider on the PDK-Java side when you make changes to the
    provider.xml. When you add portlet, you simply refresh the
    repository in portal and add the new portlet to a page.
    2. If you do not have the auto_reload parameter, you simply need
    to refresh manually.
    a. After updating the provider.xml, restart the HttpServer where
    your PDK-Java Provider is located.
    b. Refresh the Portlet Repository
    Both these do the same thing, and should solve your problem
    Sue

  • My favorites portlet customization

    How can I customize the "my favorites" portlet to
    a.) remove the "my favorites" logo from the portlet banner
    b.) add a scrolling bar to the portlet window
    Currently using: 9iAS v.1.0.2.2 (PDK v1)
    If I need to build this on my own, what's the best way to do this (Dynamic HTML portlet?)
    Thanks.

    How can I customize the "my favorites" portlet to
    a.) remove the "my favorites" logo from the portlet banner
    b.) add a scrolling bar to the portlet window
    Currently using: 9iAS v.1.0.2.2 (PDK v1)
    If I need to build this on my own, what's the best way to do this (Dynamic HTML portlet?)If you just want to remove the logo, you could try to rename "ml_us.gif" to something else and then copy "pobtrans.gif" to "ml_us.gif". Both can be found in the portal images directory (\oracle\ora9ias\portal30\images). But of course, it now won't show anywhere.
    Your best bet is to make a custom portlet and then let it show an IFRAME. That way, users can scroll. You can't customize the stock "my favirites" portlet, since the code in the database is wrapped :-/
    Bart

  • How To Add Portlet Order Buttons?

    I'm looking to extend MyPortalContentView.GetPortletActions() so there are buttons in the portlet title bars to move portlets up and down in a column without having to edit the page. Figuring out how EditMyPortalPageModel does it is proving to be time consuming, so I'm wondering if someone can just point me in the right direction: where is the order of portlets stored and what interface would I use to change it? Oh, and I'm also looking to add a delete portlet from view button.

    sure - you will have to edit the .shell file by hand though
    for just the content
    <netuix:header>
    <netuix:jspContent contentUri="/portlets/login/header.jsp"/>
    </netuix:header>
    if you need some structure around it (as of sp3 you can add html elements)
    <html:table style="vertical-align: top; width: 100%;">
    <html:tr>
    <html:td style="vertical-align: top; width: 1%;" valign="top">
    <netuix:jspContent contentUri="/some.jsp"/>
    </html:td>
    <html:td style="vertical-align: top; width: 99%;" valign="top">
    <netuix:break/>
    </html:td>
    </html:tr>
    this shoudl work for all the orther content tyoes. i ff you actually want the portlet title bar and stuff
    just include the markup right from a .portlet file
    <netuix:portlet .../>
    </html:table>

Maybe you are looking for