Fyi - refreshing the portlet repository programmatically
You can refresh the portlet repository as follows:
begin
-- set portal context
wwctx_api_private.set_context(
p_user_name=>wwctx_api.get_product_schema);
-- refresh portlet repository
wwsbr_portlet_folder.refresh_data(
1,wwsbr_site_db.portlet_siteid);
end;
null
I'm having a problem using this code fragment from SQL*Plus. Is there additional code that I need to add before making these calls to set up a suitable environment?
When I use this piece of code, all of my bespoke providers vanish from the portlet repository. The standard portal and demo providers remain. Pressing the Refresh button brings all my providers back again.
I'd like to be able to use this piece of code to automoatically refresh the folder list during my product install, after using the SQL APIs to define the provider.
Thanks,
Nigel.
Similar Messages
-
SampleWebProvider not in the portlets repository
Hi.
I installed jpdk , I can see the test page , with the list of sample portlets , but when I login to Portal , I cannot see the sample web portlets into the portlets repository :(
Some ideas ??
Thx a lot.
MaxHi,
I presume that you have added the provider to portal. You might not be seeing the newly added provider in the repository in the view mode, but if you select the
edit mode for repository, you will see the provider there.
This does happen if the repository doesnt get refreshed, so you could just refresh the provider, you should get the provider in the repository.
btw what version of portal & jpdk are you using?
Thanks & Regards,
Abhinav -
Adf popup reappears after refreshing the portlet..
Hii all..
i am working on a portal application in which i have a portlet added on a page.
In this portlet i have a button, on click of which i am displaying a pop up programatically using following code -
public void showPopupActionListener(ActionEvent event) {
UIComponent source = (UIComponent) event.getSource();
RichPopup popup = getPropertiesPopUp();
RichPopup.PopupHints hints = new RichPopup.PopupHints();
hints.add(RichPopup.PopupHints.HintTypes.HINT_ALIGN_ID, source)
.add(RichPopup.PopupHints.HintTypes.HINT_LAUNCH_ID, source)
.add(RichPopup.PopupHints.HintTypes.HINT_ALIGN,
RichPopup.PopupHints.AlignTypes.ALIGN_AFTER_END);
popup.show(hints);
it works fine..but when i close the pop up and refreshes the portlet, the pop up appears on the front...
i have tried changing the attributes for the pop up but the situation remains the same..
Any help on this.!!
Thank You.
JDeveloper Version - 11.1.1.6.0.Thank you Yannick For replying..
I did as you have suggested as follows -
<af:popup id="propertiesPopUp" binding="#{EditProperties.propertiesPopUp}" autoCancel="disabled"
eventContext="launcher" contentDelivery="immediate" childCreation="immediate"
popupFetchListener="#{EditProperties.popupFetch}">
but it dosen't call the method assigned to popFetchListener.
Thanks -
Have to REFRESH the Portlet to see Result?
Hi..
My problem is that,
we have to click REFRESH button/mouse right click after we did some action in the Portal.
For example, we have to click REFRESH after we click the 'Collapse' icon in the Portlet to see the result.
Can anybody help us on this?
Thanks.This problem seems to be from the cache, if you are working on 902, then the webcache keeps the page information and renders the same page if it sees no change. I suspect that WebCache is behaving wierd so please bounce it or disable your page level caching.
-
I am using version 3.0.9.8.4 of the Portal.
I need to refresh the portlet repository or a particular provider programatically at frequent intervals.
I do this using the folllowing code :
-- However I notice although I see the refresh completed successfully message ON EXECUTION of procedure it does not have same effect as refresh through the Portal UI ?
Am I supposed to use anything else or modify anything ?
CREATE OR REPLACE PROCEDURE XXC_REFRESH_REPOSITORY
AS
BEGIN
portal30.wwctx_api_private.set_context('portal30','');
portal30.wwpro_api_provider_registry.refresh_portlet_repository;
commit;
portal30.wwctx_api_private.clear_context;
dbms_output.put_line('Refresh completed sucessfully ');
EXCEPTION
WHEN OTHERS THEN
dbms_output.PUT_LINE(SQLERRM);
portal30.wwctx_api_private.clear_context;
END;i've had problems thru the gui too using JPDK. so what i end up doing is recreating a new portlet provider. for some reason when i make changes to provider.xml, i don't think portal is smart enough to pick up the changes if the sequence of portlets or parameters declared in it when first created changes, it craps out.
i find it easier just to create a new declaration of the portlet provider.
i wish oracle would fix this -
New portlets not showing up in portlet repository
I have created a couple URL based portlets and registered the provider with my portal. When I go to the portlet repository to add the new portlets to a page, they do not show up. If I go the Providers Tab on the Portal Navigator Page, I can see them.
I suspect this has something to do with my coworker trying to get the Web Cache working though he can't tell me why my portlets aren't showing up.
Any one have any ideas?Web Cache shouldn't impact this (but I'm not saying that it isn't ;-)
Try the following:
1) refresh the portlet repository by clicking the "refresh" button in the provider registration page
2) check the security settings on the portlets - portlets will not be displayed if either the portal security (applied via the portlet repository) or portlet security (applied by adding a SecurityManager to a portlet) denies access -
Portlet Repository Not Showing Up
7 I have somehow lost the ability to see my Portlet Repository. I was
experimenting with permissions on the portlets (I didnt think a public
user
(normal user) should be able to add any of the Oracle-provided portlets
to
their page, and was trying to hide them from all users except the
portal_admin
users.), and I can no longer see any portlets as user portal30.
Actually,
the portlet repository looks empty.
7 When I try to add a new portlet to an existing page (region), I see
the
view by: category/provider option, but everything underneath it is
blank.
7 I still see the existing (customized/used) portlets on the right side
of the
window, and they seem to be working properly.
7 When I try to access the Portlet Repository from the Administer
display
(Display Portlet Repository), I get a completely blank page. No links
(to
refresh, etc.) are even shown at the top.
7 Im wondering if there is a database table I can look at and change
the
permissions on so that I see the portlets again. (Or, Maybe its not
that
simple) I dont believe that I have deleted anything, so I think its
just a
visibility problem.
7 ANY IDEAS?Web Cache shouldn't impact this (but I'm not saying that it isn't ;-)
Try the following:
1) refresh the portlet repository by clicking the "refresh" button in the provider registration page
2) check the security settings on the portlets - portlets will not be displayed if either the portal security (applied via the portlet repository) or portlet security (applied by adding a SecurityManager to a portlet) denies access -
hello
i have suceesfully created a provider and its relative portlets. i can edit the provider with portal, but i can't see it in the portlet repository even when refreshing it.
does anybody knows why?
thanksI have the same problem
I am using portal 3.0.6 on windows NT
I added the protlet provider successfully
but can not see it in portlet repository
even if I refreshed the portlet repository
please help !!
null -
Hi,
I have some problem with the Portlet Repository for my Web
provider.
After an update of my Provider XML (Added, or Deleted a
portlet), or after the delete of a provider my portlet
repository is <u>never refreshed</u>.
When I try to make a manualy refresh of the repository, the
server never respond.. (or time out)Roland, try backing out whatever changes you made so that you had to refresh the provider, and then refresh it again.
Cheers,
Mick -
How make Report applications visible in Portlet Repository ?
Hello,
I'm using Portal 9.0.2 and I4m having problems to put report applications in pages.
I did one report from portal and another one from report builder.
Both I run inside the portal db provider using "Run as Portlet" option
and it worked, but when I edit a page and try to put these reports
like portlet, the "Portlet Repository" doesn't show the reports, just the forms from this
database provider. I already did the "Refresh" ... and the "Publish to Portal"
option in "Manage" tab of my report aplication is checked.
Even the reports that came with Portal, for exemple, in the PEOPLE_APP database provider
has some reports, neither these are showed in "Portlet Repository".
If somebody could help me I'll appreciate !
Best regards,
Renato B. MirandaHello Balakrishnan and Sharmila,
First of all I want to say thank you for trying to help me.
Sharmila, I did exactly what you suggest but it still doesn4t working, I can4t see
the reports in my portlet repository ... I saw many question as mine in this forum
but all of then aren't completely solved. (After I click "OK" in customization form display
options tab, I remembered to do the "Refresh Portlet Repository").
Balakrishnan, I did what you suggest too, the copy was fine, the roport was copy
from one provider to another, but even doing this the report doesn't appear
in the new provider on the portlet repository(I remembered to do the "Refresh Portlet Repository").
Note that my reports are already working inside portal (using "Run as Portlet")
in the "Develop" tab of my component ...
and just the reports I couldn't see, the forms that I did are there in the portlet repository !
Even the reports that came with the portal providers, like the ones in PEOPLE_APP provider
from PORTAL_DEMO owner doesn't appear in my portlet repository.
So .... if you have more suggests I4ll appreciate a lot !
Best regards,
Renato -
How to delete translation of portlet repository
We are using Oracle Portal 10.1.4. with two languages (English and Czech). We have a problem with portlets. If we use only one language in the page group we have both language versions of portlets there (depending on the language environment of the editor).
I guess this problem exists because we have translations enabled in the Portlet Repository page group. I tried to "switch off" this translation (so we would have only "English" version of portlets) but it seems impossible: there is no "red cross" to delete the translation in the portlet repository.
Is there any way how to solve this?Hi Sudeep,
Select particular software component and In right side of window, select software component in menu and select delete option.
Regards,
Prakash -
I have 2 different adaptive portlets on a page. The first portlet raises a PCC event that is registered on the second portlet. I need to refresh (not postback) the second portlet when it receives the event. I have accomplished this with PTHTTPGETRequest following master-detail pattern. My issue is there doesn't seem to be a safe way to get the div id generated by the .net web controls that wraps my portlet. I have hardcoded PTPortletDIV_$$TOKEN$$ as the div id, but according to Plumtree, this id might change. Is there a better way to get this div id?
Thanks,
TannerYou say that you need to refresh the portlet - but not postback? Why not? Why can't you simply have the javascript function call __doPostback('','')? This will postback with no args so should not perform any logic on the server, just refresh.
Jonathan -
In the following scenario, a V1 instance is successfully upgraded to V2 but meantime the V1 instance is still the production site (and will be for some time) with content being updated, added and deleted.
Content from the upgraded V2 instance is exported to a new V2 instance to test export/import, create the new site architecture etc......
Later I'll need to update the content in my upgraded V2 instance portlet repository so that it accurately reflects the V1 production site. What steps in the upgrade process would I need to perform to upgrade only the content in the portlet repository again ?The repository upgrade is an all or nothing exercise run in place over the portal repository. So you have two options.
1. Upgrade the real production repository.
2. Reload the new content into the new v2 system. Features such was WebDAV or uploading zip files could be used to ease this partial content migration. Portal export/import will not help out here as the two portals would need to be at the same version.
Regards -
3.0.9 Portlet Repository Question
We recently upgraded from 3.0.6.7.2 for NT to the 3.0.9 version for NT. When this happened the portlet respository was also upgraded. All of my old portlets show up at the top level of the portlet repository, but all my new portlets show up in a provider subfolder under "Other Providers". Is there a way to make my new portlets show up at the top level in the portlet repository instead of two levels down? I have been moving them for now, but this is a tedious and inefficient process. Any thoughts?
Thanks,
Kim
nullKim,
See my response to your other post. -
Error WWS-32136 from portlet repository
Hello!
Something has crashed in my portal, because everytime I try to open the portlet repository I get the following error message:
Call to utl_http failed (WWS-32136)
ORA-1: User-Defined Exception (WWC-36000)
Everything else seems to work fine.
Any ideas what's going on?
I'm using Portal version 3.0.7.6.2.
Os. is Win2000.
-Jarimy entire repository was dropped. how do I recover my portal repository? how fix this? I am using portal veriosn 9.0.2.99.
Maybe you are looking for
-
I get this message when trying to update iTunes from 11.0.1 to 11.0.2
-
Markup- action extension doesn't appear
Hi all, I've just downloaded and installed Yosemite on my iMac 27 (2012) model. I have tried to use Markup on mail. But I've noticed that the tiny "arrow" done' appear. I went to Apple>system preference>Extensions to activate "Actions" But, it wasn't
-
How do I know if I have new Ipad with retina display the model says MC706B/A
How do I know if I have new Ipad with retina display the model says MC706B/A
-
OpenSPARC T1 Processor for Architecture and Performance Modeling Tools
Hello All, I am trying to install this modelling tool and running into different errors. I am following the readme file and then readme_sam.txt file to follow installation procedure. 1) after SAM and SAS installation, when i try to install blaze_64.s
-
IPhone 4S US/Sprint unable to activate!
Hello all, I have a iPhone4S through Sprint, US carrier. I was having some difficulties with an enterprise application and my IT staff full reset my phone after backing it up to my MacBook Pro. Unfirtunately for the past 2 hours it would seem, I am u