Force Webcenter Spaces Page to Refresh on focus

Hi all,
We are on WebCenter Spaces PS5. We have a page inside spaces which we want to refresh on focus. We have a document upload portlet on a page which is used to upload a document and then display the list of documents in a result table on that page.
PROBLEM: We have to manual refresh the page for the newly uploaded document to be displayed on the resultable on the page.
QUESTION: How can we force the page to refresh on focus?
Remember this is a webcenter spaces page.
Thank you....

You can invoke serverlistener from onFocus client event,
Pass the control to the backend and use the following code to refresh.
HttpServletRequest request=(HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
FacesContext.getCurrentInstance().getExternalContext().redirect( request.getRequestURL());

Similar Messages

  • Passing session parameter to a portlet from webcenter spaces page

    How do you pass a parameter to a portlet on a WebCenter Spaces page? For example, I have the user's company ID in the session, I need to pass that company ID to the portlet defined to accept a company ID parameter so that the returned data can be filtered.

    You can for example add the companyID to the url of the page and then pass that parameter to the parameter of your portlet.
    Have you created your portlet to enable inter portlet communication? You should first do that and create a navigation-parameter in the oracle.xml. If you don't know what i'm talking about, i'll explain a bit more.
    Their is another way, which is easier i think, is to set the value of your portlet parameter to an expression language refering to a session variabel.
    In you portlet parameter set the companyId (if you have created a navigation-parameter companyID) to following value:
    #{sessionScope.company}You will have to set the value of that session variable from within your webcenter spaces.
    How are you doing that? Are you planning on setting that variable using another portlet, taskflow,... This can be very important on how webcenter reactt on parameters and it can also give you additional ways on passing the parameters.

  • Content not displayed on webcenter spaces page tiIl I login to UCM server.

    Hi Yannick,
    I have created an html file which loads the flash file and checked in to the UCM server. I have added a content presenter on the page runtime and selected the html file as the content.
    Now when I load the page, I couldnot see the content. The content gets displayed on the page once I login to the UCM server and refresh the webcenter page.
    Please suggest the solution. I am working with Avitek Demo VM. I have stored the file in the public_images folder.
    Thanks,
    SK

    You need to assign application (spaces) role "Administrator" to your user for Admin link to see (by default weblogic user is assigned to this role)
    To add it
    Login to Fusion Middleware Control -> WebCenter -> WebCenter Spaces -> Right Click on WebCenter -> Security -> Application Role
    Add your user to role “Administrator”
    Atul Kumar
    http://onlineAppsDBA.com

  • Customising Webcenter Spaces Page Templates - "Import Portal Resource" N/A

    Hi,
    I am attempting to customise a Page Template for Webcenter Spaces, and I am trying to do so in JDeveloper.
    I have successfully opened the WebCenterSpacesResources project in JDeveloper, and also successfully downloaded the page template resource (.ear file).
    I am now trying to import this webcenter spaces resource (page template) into the project, as described in this step:
    http://download.oracle.com/docs/cd/E21764_01/webcenter.1111/e10148/jpsdg_wcsres.htm#CIHJFGJI
    The problem is, the "*Import Portal Resource*" option does not appear in the menu when I right-click on WebCenterSpacesResources project.
    I am using JDeveloper version 11.1.1.5.0.
    I have also downloaded and installed WebCenter Framework and Services Design Time extension.
    Any reason why I cannot see this option?
    Amanda.

    Hi,
    I have installed both of the extensions, but I went to:
    http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/156082.xml#oracle.webcenter.cust
    and dowloaded both (latest):
    WebCenter Framework and Services Design Time
    WebCenter Customization Framework Design Time
    and then installed them manually in my JDeveloper.
    I have restarted and the option still does not appear:
    http://oi52.tinypic.com/13yo02b.jpg
    How do I know that the extensions are installed? They seem to be when I look at the Help > About > Extensions
    http://oi51.tinypic.com/244xylh.jpg
    I have tried this with versions 11.1.1.5 and 11.1.1.4.
    Amanda.

  • How do I stretch content Vertically in a WebCenter Spaces page?

    I have a box at the bottom of my page with a document explorer inside. I need to have it stretch as the page stretches vertically. Can anybody help?
    Thanks

    the bottom of the doc explorer is a fixed distance from the top of the page. When the browser is resized vertically from the bottom, they want the bottom of the doc explorer to stay anchored to the bottom of the page and stretch as the page grows vertically. Yes it is kind of strange but the customer insists on this behavior.
    Any ideas?

  • Adding WorkFlow to Spaces Pages

    Has anyone added workflows/Approval to WebCenter Spaces Page content, I am not talking about the WebCenter Content workflow/approvals but adding a workflow/approval to a page that has had text image or link changes.
    We are looking to do in WebCenter Spaces the same functionality that 10G Portal middleware has. In 10g Portal we can set an approval process for any changes that occur on a page. We are being told the only way to do this in Spaces is to import a HTML page from WebCenter Content but doing this we will lose all the functionality of editing that Spaces provides. Additionally our users that update pages are not HTML programmer and need a wysiwyg interface.
    I am really shocked that ORACLE would remove this functionality from a new product, but has anyone set up a workflow/approval for WebCenter space page changes? Or is the functionality there, but I talking to the wrong people.

    I'm glad you could buy the WCC story. To your questions:
    1) The pop editor window is very small, you can resize it but we want to be able to set the with of the popup when it opens, so it dispaly the edit to the same width as the page they are editing.That's an interesting question. Out of my head I'm not aware if there is a parameter to set it up. It might be worth asking in the WCC forum as a separate question (not sure how many people from there monitor also this forum).
    2) We want to create a button or link for a user to click to get into the contributor mode instead of using the hot keys, Ctrl-Shift-CThis is definitely possible. Ctrl-Shift-C calls (via a javascript) a service which changes the page's mode to Contribution mode. Note that there is also the third mode - Designer's. I'd suggest to get a tutorial for Site Studio (not Site Studio for External Apps) as it will certainly demonstrate how this can be achieved.
    3) We want to modify the style for the editor to match the style for the page, so the uses see exactly what the page will look like as the edit in the editor.Similar to #1 - maybe a separate question would be worth in WCC.
    4) We are till looking into the Workflow and the Notification on approvals and how it will work but we are having problems with the email notifications and seeing if the notification can show up in the activity/notifications in Spaces.If I got the point you'd like to see email notifications in what? (Lists? Activities?) in Spaces. I'm afraid OOTB WCC native workflows create just an email, and you'd need to customize your system so that the email is transferred to, for instance, a list item. Alternatively, you could use BPEL rather than WCC native workflows (WCC can hand over workflows like that). BPEL could be, then, integrated with WebCenter Portal. But, yes, it looks complicated.

  • Need Documentation for WebCenter Spaces "security" ?bean?

    Hi, in many of the Webcenter Spaces Page templates and taskflows, I see in the .jspx and .jsff code, EL expressions that have "security.authenticated" and "security.configureSpaceAllowed". I have seen other methods but I am not listing them. I am working on a contract for a customer who wants me to customize some Spaces task flows based on whether or not the user can edit documents. Does anybody have any documentation on this bean or datacontrol so that I can determine if I can use it for the customer's Spaces app? Is there any other way to do this? I need to turn off the "Edit" button in the Wiki document task flow (via the rendered attribute) if the user does not have Edit permissions.
    Thanks,
    Gary Kind

    from your query, what I understood that -
    you basically want to toggle the edit button of document taskflow for wiki-use.
    In my opinion,you are maintaining all the users in couple of groups or roles.
    while customizing the document taskflow - you need to customize the edit button properties.
    in edit button's rendered attribute -give a value of #{WCSecurityContext.userInAppRole['role']} or #{WCSecurityContext.userInGroup['group']} .From the two option,select the best one which meets your requirement.
    Regards,
    Hoque

  • How to set the title of pages created in Webcenter Spaces?

    Hi
    I need to set the title of the pages created in webcenter spaces. How can i do that? By default when i create the page in webcenter spaces the page name with which i created the page is coming up on the browser tab. But i want the browser title to be different from the page name. Is there a way to do this? I tried with using javascript and setting "document.title" but it works only partially. That is when the page is loading it shows the text that i have set using javascript but it doesnot remain persistent. As soon as the page loads it again resets back to the name of the page :(
    I also tried adding html markup on to the page in edit mode and tried giving in the <title> tag but it is not getting applied, as soon as i click on apply it just refreshes the page and my changes are gone.
    Please i need some help around this asap as it is critical.
    Thanks

    Thanks for the reply Jaap.
    It was really helpful. But i need further help on this.
    I need to change the browser title based on the tab selected. And here the tabs on spaces page is actually coming from a custom task flow. Any idea how can i achieve this? And there is no page refresh involved.
    Some help on this please.
    Thanks

  • How to display applications in tabs on a single page in webcenter spaces

    Hi,
    I am working on a project in Webcenter spaces where we have a welcome page with few hyperlinks on a bar in the top section .Each hyperlink is associated with an application url. The requirement is when a user clicks on any link, it should populate a tab in the page displaying the application.
    For ex, if we have the links on the top as "google", "yahoo", "bing", etc, clicking on each one of them, should open tabs below displaying the respective home page. It should not open the application in a new browser but a tab in the same page. Also, the tabs are just page fragments (.jsff). As user clicks more links, more tabs are opened ( if that application is already not open).
    In short, we are replacing opening of a new browser to opening a tab in the same browser ( when clicking an application link).
    The issue is - how do I get the content of a website (or an application) into a tab in webcenter spaces dynamically. We tried using Pagelet producer but they need to be predefined. Also, each application url need to contain the session cookie, so user need not login to the application again.
    Any alternate strategy to acheive the same result is also welcome.

    Not 100%. Although, I did find out that I can use an Inline Frame layout component which can take a url as one of its property. Thus, I can dynamically pass this property and make the layout render the application. Beyond this, the control will be transferred to application and I hope it will work. We are still in the process of playing with the components.

  • How to use a form into a Webcenter Space´s page?

    I'm trying to put a HTML page (that contains a form element) into a Webcenter Space´s page. But, when it run I see the HTML source and my form tag isnt there. So, if I cant to insert a form tag into that page, how to proceed then?
    Thank you!

    Hi,
    you can use CTAS method or you can export & import the tables..
    create table b.table1 as select * from a.table1;
    create table c.table1 as select * from a.table1;
    you can export import whole schema or schema objects also
    expdp system/***** dumpfile=tables.dmp logfile=tab.log directory=data_pump_dir schemas=a
    and then
    impdp system/**** dumpfile=tables.dmp logfile=imp.log directory=data_pump_dir remap_schemas=(a:b)
    or you can individually import the tables also..

  • FB4 Implicit Paging: Any way to force current page  to refresh its values from server?

    I have a datagrid that I am using the new Flash Builder 4 implicit paging feature on.  Currently if a user clicks a grid item and modifies its values in a popup i want to force the current page of the datagrid to retrieve those values from my server again.
    Here is the scenario I want to reslove:
    Say I have a 1000 records to be shown in the grid but I have utilized implicit paging and only show 100 records at a time.  Say the user has scrolled down and they are now seeing the page containing records 300-399.  If the user changes a value concerning one of the records in 300-399 I want that "page" to be refreshed from the server side data. 
    Now i have tested updating the data directly in the grid but have run into an issue.  Say I change a value displayed in the grid on the client side, now if I get data from the server again it will only reflect what i changed earlier and not what is actually coming from the server.

    Well i figured out how to refresh the grid with:
    service.getDataManager(service.DATA_MANAGER_FUNCTION).refresh();
    Anyone know how to just refresh only one page out of a all the implicit pages?

  • How can i reset the Webcenter Spaces default page?

    Once when i changed user default page to 'Activities' after login, but i can enter manager page.
    Thanks!

    login with administrator user id.
    go to administration page.
    (either by manually go to admin page or http://<server>:<port>/webcenter/spaces/admin)
    then pages tab->business role page >
    select any of the pages.
    you will see a button just beside business role page /create page [set default page]
    click the [set default page] button.

  • WebCenter Space- Group Space:  multilevel navigation or pages

    My requirement is to create couples of pages in one Group Space. Then assemble a tree menu whose items connected with related pages. However, When I add page into Group Space, there is no way to assign the page parent-child relationship, all the page are in the same level only with display order.

    Maybe I do not discribe this issue correctly
    Please refer to Oracle® Fusion Middleware Tutorial for Oracle WebCenter Spaces Users 11g Release 1 (11.1.1.4.0) E10277-03
    Step 3: Make the Documents Page Available
    please take a look for Figure 3–6 Documents - Show Page
    Name Reorder Show Page
    Documents checkbox
    I can not see this option for ducuments.(There is not it in my page at all)

  • Page Creation using pageservice API in Webcenter Spaces(11.1.1.8)

    Hi,
    I am trying to create portal pages using pageserviceimpl api in webcenter spaces(11.1.1.8) by using the taskflow but i am getting the exception as below while creating the page
    Caused By: oracle.webcenter.page.model.PageServiceRuntimeException: oracle.webcenter.page.model.PageServiceRuntimeException
            at com.cvs.mylife.portal.pagecreate.bean.CreatePageMBean.createPage(CreatePageMBean.java:196)
            at com.cvs.mylife.portal.pagecreate.bean.CreatePageMBean.onDialogEvent(CreatePageMBean.java:347)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Caused By: oracle.webcenter.page.model.PageServiceRuntimeException
            at oracle.webcenter.page.internal.model.PageServiceImpl.throwNoPrivException(PageServiceImpl.java:12539)
            at oracle.webcenter.page.internal.model.PageServiceImpl.createHierarchyPage(PageServiceImpl.java:4045)
            at com.cvs.mylife.portal.pagecreate.bean.CreatePageMBean.createPage(CreatePageMBean.java:175)
            at com.cvs.mylife.portal.pagecreate.bean.CreatePageMBean.onDialogEvent(CreatePageMBean.java:347)
    Can anyone please tel the value needs to be feed to create the page using the below method
                page =
        pageService.createHierarchyPage(parentPagePath, pageNameFormat, pageTitle,
                                    pageStyle, pageTemplate, createAfterPagePath);
    parentPagePath=?
    pageNameFormat=?
    pageTitle=?
    pageStyle=?
    pageTemplate=?
    createAfterPagePath=?
    This is very much need for one of our customer requirement.
    Regards,
    Santhosh

    Kingsley,
    I used the same ateam code for creating the page  in portal framework, it works fine there, but if i use the same code in webcenter spaces 11.1.1.8 it is not working and in that ateam code they are passing null to the parent page path and i tried all these entries for the parent page path in webcenter spaces but nothing worked.
    parentPagePath="/oracle/webcenter/page/scopedMD/s1df097cd_2859_4e32_bee4_16f81f5b09f3/";
    parentPagePath="/oracle/webcenter/page/scopedMD/s573026b5_4f17_45e0_bdae_986017c24427/pages.xml";
    parentPagePath="/oracle/webcenter/page/scopedMD/s573026b5_4f17_45e0_bdae_986017c24427/Page11.jspx"
    Regards,
    Santhosh

  • WebCenter Spaces – Extend User Profile Page

    Hi All,
    We have a requirement to modify the default user profile page in WCS.
    We have to remove most of the fields and add additional fields that are specific for the customer. According to the extending the WCS white paper you can only get / set the data in existing fields based on creating a customProfileattribute.
    Is this possible at the current stage of evolution of WCS?
    Cheers
    Bob

    In my current project, we have similar requirement.
    To Remove existing attributes:-
    You can hide profile fields after customizing User/My Profile Pages from WCS -->Administration --> Pages-->System Pages. See following guides:-
    7.3 Working with System Pages: http://download.oracle.com/docs/cd/E21764_01/webcenter.1111/e10149/admin_pages.htm#CJABBBCE
    30.5 Viewing and Editing Personal Profiles: http://download.oracle.com/docs/cd/E21764_01/webcenter.1111/e10149/profile.htm#CHDDIHJG
    To Add new attributes:
    You can add new fields in profile page of WebCenter Spaces by using SampleWebCenterSpacesExtensions application. You can take instructions from following guide:-
    http://www.oracle.com/technetwork/middleware/webcenter/owcs-ps3-wcs-ext-samples-wp-308576.pdf. There are following two class files in ProfileAttribute project
    a. ExtendedProfileAttributes (You need to add new LDAP attributes in this class)
    b. CustomProfileImpl (You can override existing attribute by using this class)
    Once you done adding new attributes in ExtendedProfileAttributes, deploy this project as a shared-lib. Then you have to follow following guide in order to see your changes in WebCenter Spaces:-
    53 Extending WebCenter Spaces Using JDeveloper: http://download.oracle.com/docs/cd/E21764_01/webcenter.1111/e10148/jpsdg_wcsres.htm#CHDEECCE

Maybe you are looking for

  • Hp4580 works on usb but not on wireless

    HP Photosmart C4580 All in one works fine with USB but not with wireless, using HP Pavilion Desktop P7-1108p w/ Windows 7. Tried to reinstall with CD but puter refuses to proceed with run. {Personal Information Removed}

  • Contact name doesn't display when someone calls?

    I have a BB curve 8520 and whenever someone rings me it just displays their number and not their name so I never know who it is that's calling. How do I sort this out?  Solved! Go to Solution.

  • Workflow Builder: RES file editing?

    using Workflow Builder 2.0.3.8.3 Well, a client asked for us(private company) to get him a localized for Russia copy of WFB. The representatives of ORACLE in Moscow said that WFB have never been translated into russian. I found some OCX files contain

  • Does anyone know the name of this kind of design?

    I've been trying different wordings trying to figure out how to find this specific design online, I've tried digital web, glitch web, can't really seem to find what this would be called. any ideas?             http://fc04.deviantart.net/fs71/f/2013/0

  • Problem managing keys/certificates with SunPKCS11

    Hi: I am trying to create a small applet to manage certificates stored on a smart card using SunPKCS11. I can successfully import a key/certificate from a P12 file, however I have some problems managing keys and certificates that appears to be relate