Rendering Site Studion Region Definition in Webcenter - Content Presenter

Hi,
Does anyone have any documentation which indicates how to use WebCenter - Content Presenter to render the UCM 11g contents via Site Studio Region Definition files.
thanks in advance.
Ravi

This is the official doc: http://download.oracle.com/docs/cd/E14571_01/webcenter.1111/e10148/jpsdg_content.htm#insertedID0

Similar Messages

  • Webcenter content presenter

    hello,
    we using webcenter ps3.
    we want Admin to go to admin screen and be able to create "metadata" and "content" in webcenter content 11g via content presenter.
    we are not using site studio. we want to create this via content presenter. what are our best options ?
    thanks

    What do you want to do with the content that need to be shown by the CP?
    Does it actually need to display the content or is a list, tabular view fine?
    You probably want to build a content presenter template and use some RIDC API in it to set the metadata. By default the CP can read all of the meta data provided by UCM but it cannot set it. In order to set it, you need to use RIDC and integrate it into the CP template.

  • Dynamic datasource query in Content Presenter

    I have a Documents region with a custom Content Presenter template.
    I would like to use a dynamic datasource query with this, which makes use of the currently logged in user and the user's role.
    The task flow parameters look like this now:
    <parameters>
    <parameter id="taskFlowInstId"
    value="${'afd37bc3-bd2e-4e97-b838-74c975529633'}"/>
    <parameter id="datasourceType" value="${'dsTypeQueryExpression'}"/>
    <parameter id="datasource"
    value="${'SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:dDocType = \'Dagbericht\''}"/>
    <parameter id="templateCategory" value="${''}"/>
    <parameter id="templateView" value="${'dagberichten.list.template'}"/>
    <parameter id="maxResults" value="${'3'}"/>
    </parameters>
    What are my options to achieve this?

    Jaap,
    You can use expression language in that query to make it dynamic.
    You could either build the full query from a managed bean or just some parameters.
    here's how you can do it when building the query from a MB:
    This should be the method in your bean:
    public String getQuery(){
      String user = ADFContext.getCurrent().getSecurityContext().getUserName();
      String query = "SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:dDocType = 'Dagbericht' and ora:p:dCreatedBy = '" + user + "'";
      return query;
    }Your datasource parameter should be something like this:
    <parameter id="datasource" value="#{yourBean.query}"/>note: the "and ora:p:dCreatedBy..." might not be correct but it shows how you can dynamicly build the query.
    Hope this helps.

  • An improved Content Presenter Portlet

    I've been working on a site migration project from a content manager to Weblogic Portal, and for the Weblogic Portal site we are planning to use Content Presenter Portlet to show most of the content that already exist on that site, almost all is just text and images, but there is a problem with the usability of the portal, I mean the process to create a new page(desktop) is not that simple for a non-technical user, for example the user has to create the content in the repository organize everything very well and then create the desktop, add the content presenter protlet and then configure the portlet and of course if the author wants to edit the content when the repository has library services enabled he has to follow a large process...chose edit, chech out, choose property, edit, save, check in and finally see those changes(or wait until it is approved)... in the old content manager is not that difficult to do that... so I've been thinking to write some templates for the content presenter portlet that reduces the number of steps, windows and clics for the assistant, and allow the authors to create the content instead of just choosing it, and finally allow the in-line editing with library services enabled.... What do you think about it??? I know this is not a simple task.... but I want to know your opinion.... has somebody tried to do something similar??? any comment is welcomed...

    This is a sample template which explicitly was not implemented to support Library Services. The OOTB sample application in which this template lives does not have Library Services enabled on the repository. You are free to take this sample and modify it to suite your needs, either for learning or to modify to meet your requirements. The template was amply commented so that you can follow the ideas and implementation.
    Brad

  • Hidden Assets like element definition, region definition from site studio designer

    Hi Experts,
    I am facing problem in Site Studio Designer, I have created a new Website and Created Page Template and when i tried to create the site assets like element definition, region definition, region templates. It's visible and when i refresh the list or change the list from element definition to region definition and again open the tab of element definition, the definition list removes or hide from the list in Site Studio Designer and when i check the content server for the same region definitions, element definitions all are present in content server but hides from site studio designer. Can any one please help me out resolve this issue i am unable to edit any assets.
    Thanks,
    Vijay

    First, the Override Editor CSS is ONLY used to change the CSS for the contributor editor. For instance, if you have a div tag that encompasses the entire website and specify it to be center-aligned, everything within your WYSIWYG editor will be center-aligned too (not ideal). So you could, for instance, use the Override Editor CSS to have the same div class that overrides the text within the contributor to be left-aligned.
    As far as not being able to apply the CSS, I'm not too sure. You should at least be able to create a completely blank HCSP layout page, and see that no classes are available (because there is no CSS on the page). When you have a CSS, I've found that the classes loaded aren't always necessarily the ones that are in the CSS. My recommendation is to select "Allow selected classes", ONLY use the "additional classes", and type in the classes you want to show up in the CSS WYSIWYG dropdown. That's the only way I've gotten it to work.

  • Webcenter Sites Vs Webcenter Portal+Webcenter Content

    Hi everyone,
    A question for all those multifaceted webcenter experts out there!
    What is it that, Webcenter Sites does & Webcenter Portal + Webcenter Content couldn't do?
    If both can be equivalent solutions, then why acquisition of FatWire?
    Thanks in advance!
    ~S

    I wouldn't say it is a question of what, but how - some people find Sites more appealing than Portal, or Content's WCM (Site Studio). It's worth to add that Portal has most likely richer features than Sites, but if you want to build B2C internet, Sites seems (and are told) to be a better choice.
    To your question about the acquisition, other reasons could be:
    - ATG; Oracle had acquired ATG some months before Fatwire, which was the front-end technology for many ATG customers
    - customer base
    - etc.
    Edited by: jiri.machotka on Mar 4, 2013 9:48 AM

  • Issue with using SSXA region templates with Content Presenter.

    I am using Content Presenter taskflow in Webcenter Portal. When i try to use the SSXA region template with content presenter, it doesnot render the html markup. But if i use normal UCM region templates(hscp), its rendering the html markup properly.
    Http Server acts as a proxy for both webcenter and ucm. Enabled SiteStudio, SiteStudioforExternalApplications, Webcenter Configure and other required features in Webcenter. Can any one tell me, if i missed any step?
    All i am getting the output as
    ${data.body}
    Taskflow binding
    <taskFlow id="doclibcontentpresenter1"
    taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
    activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding">
    <parameters>
    <parameter id="taskFlowInstId"
    value="${'23a55c99-abdd-4dea-a24a-1e04a68aa0bf'}"/>
    <parameter id="datasourceType" value="${'dsTypeSingleNode'}"/>
    <parameter id="datasource"
    value="${'UCM#dDocName:JLR_WYSIWYG_DATA'}"/>
    <parameter id="templateCategory" value="${''}"/>
    <parameter id="templateView" value="${'WYSIWYG_BLOCK_1_RGT'}"/>
    <parameter id="regionTemplate" value="${true}"/>
    <parameter id="maxResults" value="${''}"/>
    </parameters>
    </taskFlow>
    region template:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:wcm="http://www.oracle.com/jsp/wcm">
         <wcm:dataFile var="data"/>
         ${data.body}
    </jsp:root>
    This uses one region definition containing WYSIWYG element. I am able to edit and could type the html markup or data in WYSIWYG editor at contribution mode, but when i click save and close, all i am getting output as ${data.body}
    I manually verified the data file in UCM, and i could see the information stored (the data entered in contribution mode)

    Prasath,
    I'm not 100% sure but i believe that WebCenter does not support everything from the WCM tags. You can read the topic on SSXA on the WebCenter EMG:
    https://groups.google.com/group/webcenter-emg/browse_thread/thread/2ef9cca0252a0ae3
    Just a quote:
    "With the 11.1.1.4 release, WebCenter is very much targeted at the type of sites that would have previously been done using the WCM components (eg. Extranet, Internet sites). By surfacing the site studio region templates (and allowing in place editing of the documents) many of the use cases can be met. The question now is not whether,or not, the native templating + region support is sufficient for your needs (WebCenter does not support all the WCM artefacts as yet). "
    Regards
    Yannick

  • Error editing data file, unable to load Region Definition

    Hello
    I'm getting a parseException when I try to edit a data file from UCM.
    The steps followed are:
         1- Create an element definition at Site Studio
         2 - Create a Region Definition refering to the Element Definition
         3 - Create a Content in UCM. Double checked that the region definition and the web site are set. The content of the primary file is:
              <?xml version="1.0" encoding="UTF-8" standalone="no"?>
              <wcm:root xmlns:wcm="http://www.stellent.com/wcm-data/ns/8.0.0" version="8.0.0.0">
              </wcm:root>
         4 - Open the content info and click "Edit data file". Then two pop-up window are showed:
                   A. The contributor pop-up displays a blank page with title containing "'idcService' parameter not found"
                   B. new Page displays the next message:
                        Unable to perform the action due to the following reasons:
                        [+] The Region Definition could not be loaded. The Region Definition 'RD_REGION_ID' could not be loaded. [...] The markup in the document preceding the root element must be well-formed. org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
    I've checked the region definition and everything seems correct to me:
         Web browser displays the xml correctly when I open it from "Web Location".
         I've checked the syntax with Notepad++ XML Tools plugin and the result is "No error detected".
         I've also checked the file with hex editor and everything seems to be right.
    Same tests for the primary file
    Both contents, the region definition and the dataFile, are accesible and editable from Site Studio.
    UCM server LOG:
         -translated-
         Could not load 'RD_REGION_ID' of Region Definition. Error parsing Region Definition at line 1, column 2.
         -end of translated log-
         Error: The markup in the document preceding the root element must be well-formed. org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.. [ Detalles ]
         !csSSWebsiteObjectLoadError,Region Definition,RD_REGION_ID!csSSWebsiteObjectSaxParseException,Region Definition,1,2,The markup in the document preceding the root element must be well-formed.!syJavaExceptionWrapper,org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
         org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
              at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
              at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
              at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
              at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:925)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
              at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
              at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
              at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
              at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
              at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
              at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
              at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:163)
    Server:
         Version:11gR1-11.1.1.4.0-idcprod1-101229T001824 (Build:7.3.0.180)
         Database Type:Oracle
         Database Version:11.2.0.2.0 ---Oracle Database 11g Enterprise Edition Release --- - Production With the Partitioning,
    Site Studio Info:
         Component Build Version: 11.0.0.648
         Disable Contribution: False
         Web Site Object Type Field: xWebsiteObjectType
         Web Sites Field: xWebsites
         Web Site Section Field: xWebsiteSection
         Do not Show In Lists For Web Sites Field: xDontShowInListsForWebsites
         Region Definition Field: xRegionDefinition
         Contributor Console Enabled: True
         Designer Version: 11.1.1.4.0

    Hi,
    I've tested to obtain the content of the UCM from a webcenter portal server, I create a new Navigation Item of type "Content Item", when I choose any document from the UCM I'm getting the next trace:
    java.lang.NullPointerException
              at oracle.adf.controller.internal.binding.RegionUtils.getRegionHierarchyStringRecurse(RegionUtils.java:675)
              at oracle.adf.controller.internal.binding.RegionUtils.getRegionHierarchyStringRecurse(RegionUtils.java:700)
              at oracle.adf.controller.internal.binding.RegionUtils.getRegionHierarchyStringRecurse(RegionUtils.java:700)
              at oracle.adf.controller.internal.binding.RegionUtils.getRegionHierarchyStringRecurse(RegionUtils.java:715)
              at oracle.adf.controller.internal.binding.RegionUtils.getRegionHierarchyString(RegionUtils.java:647)
              at oracle.adf.controller.internal.binding.RegionUtils.getTaskFlowId(RegionUtils.java:577)
    oracle.adf.controller.ControllerException: ADFC-14014: Task flow binding active attribute evaluated to null, binding='pickerWrapper1'.
         at oracle.adf.controller.internal.binding.DCTaskFlowBinding.getConditionalActivationValue(DCTaskFlowBinding.java:974)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:84)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3211)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2883)
    java.lang.NullPointerException
         at oracle.adf.controller.internal.binding.RegionUtils.getRegionHierarchyStringRecurse(RegionUtils.java:675)
         at oracle.adf.controller.internal.binding.RegionUtils.getRegionHierarchyStringRecurse(RegionUtils.java:700)
         at oracle.adf.controller.internal.binding.RegionUtils.getRegionHierarchyStringRecurse(RegionUtils.java:700)
         at oracle.adf.controller.internal.binding.RegionUtils.getRegionHierarchyStringRecurse(RegionUtils.java:715)
         at oracle.adf.controller.internal.binding.RegionUtils.getRegionHierarchyString(RegionUtils.java:647)
         at oracle.adf.controller.internal.binding.RegionUtils.getTaskFlowId(RegionUtils.java:577)
    I don't know if the reason for this error is the same or there are other causes involved
    Regards,
    Rafa

  • How to link to a file in UCM with content presenter site studio template

    Hi,
    I have Webcenter spaces with content presenter showing Site studio content.
    In this site studio region I have an element for rich text (html)
    Now we want to create a link in this text to an existing document in UCM.
    The question is how achief this?
    There seems no standard functionality for doing this.
    Any suggestion is welcome!
    Thanks,
    Edward

    Hi,
    I have Webcenter spaces with content presenter showing Site studio content.
    In this site studio region I have an element for rich text (html)
    Now we want to create a link in this text to an existing document in UCM.
    The question is how achief this?
    There seems no standard functionality for doing this.
    Any suggestion is welcome!
    Thanks,
    Edward

  • Content Presenter Iterator Binding Definition is invalid

    Hi,
    I am using jdeveloper version 11.1.1.6.0.
    My use case is I drag and dropped the content from content server on the page as a region (taskflow).
    <taskFlow id="doclibcontentpresenter1"
                  taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding"
                  Refresh="ifNeeded">
          <parameters>
            <parameter id="taskFlowInstId"
                       value="${'8e33ee57-9e3b-4fcf-8eeb-faada4c97591'}"/>
            <parameter id="datasourceType" value="${'dsTypeSingleNode'}"/>
            <parameter id="datasource"
                       value="#{AfSplBlkActionBean.documentContentId}"/>
            <parameter id="templateCategory" value="${''}"/>
            <parameter id="templateView" value="${''}"/>
            <parameter id="maxResults" value="${''}"/>
          </parameters>
        </taskFlow>
         where value attribute is dynamic string formation to bring english or chinese content from the content server depending upon the current locale.
    like EN_TEST and ZH_TEST .
    Now there is also some script in my jspx page to show some of the region of the page to show selected divs.
    Randomly after some attempts but not regularly I got following exception what this exception means .What is solution to get rid out of this exception.
            <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Object name oracle_webcenter_doclib_view_jsf_taskflows_presenter_presenterSingleViewPageDef_oracle_webcenter_doclib_view_jsf_taskflows_presenter_contentPresenter_xml_doclib_content_presenter of type Iterator Binding Definition is invalid.
    oracle.jbo.InvalidObjNameException: JBO-25005: Object name oracle_webcenter_doclib_view_jsf_taskflows_presenter_presenterSingleViewPageDef_oracle_webcenter_doclib_view_jsf_taskflows_presenter_contentPresenter_xml_doclib_content_presenter of type Iterator Binding Definition is invalid.
         at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:573)
         at oracle.adf.model.binding.DCBindingContainerState.validateStateFromString(DCBindingContainerState.java:504)
         at oracle.adf.model.binding.DCBindingContainerState.validateToken(DCBindingContainerState.java:683)
         at oracle.adf.model.binding.DCBindingContainer.validateToken(DCBindingContainer.java:5048)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:120)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:359)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:137)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         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 alfaaesar.portal.pages.filter.AnonymousSessionFilter.doFilter(AnonymousSessionFilter.java:47)
         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.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.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.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
         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.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)

    I had this issue sometime ago and was directly related with the way of do you are navigating between this page and other pages.
    The problem is that the pageDef is not being read OK cause a problem of ADF Security filter in WebCenter Portal Application.
    In my case, i was in a environment SSO enabled (kerberos) and different ways to navigate in the same page (pprnav and goLink).
    Try change your navigation to af:commandLinks with pprnav. With this way you prevent the "random" fails of using goLinkPrettyUrl.
    PD: If you need a official explanation of this issue open a SR in Oracle My Support.
    Regards.

  • WebCenter Content Architecture

    Hello everyone,
    I just need an advice on how to solve a particular client's document management requirement. Need help on a good (if not best) architecture for their case.
    In a nutshell, they have satellite/offsite branches that can receive documents from their customers. They want to get those documents digitized and kept in a doc. mgmt. solution. I've looked into some implementation examples from this site: http://docs.oracle.com/cd/E10316_01/cs/cs_doc_10/implementation/wwhelp/wwhimpl/js/html/wwhelp.htm
    but there's no WCC configuration where a content contributor is outside the client's intranet (or extranet). Is it ok to just have one Content Server in the head office/data center, and the branches can connect to WCC (client-server mode) from a different geographical location? Or should there be a branch content server where scanning is available?
    Hope you can throw in some ideas.
    Thanks,
    Jason

    Thank you for the explanation! I've commented inline on some of the items.
    Well, I don't know. This very much depends on what requirements
    > get those documents digitized and kept in a doc. mgmt. solution
    and
    > a content contributor is outside the client's intranet
    really mean.
    The process basically is that customers go to either the head office or satellite branches to file an application. In order for the application to be processed, supporting documents must be presented. Currently, the client is photocopying these documents and filing away manually in cabinets. If an application needs to be reviewed again later, they need to sift through their storage.
    Since they can accept applications from different locations, scanning and indexing (or in WCC, uploading/checking-in) of documents will be outside the data center where WCC will reside.
    a) It is certainly true that WebCenter Content is a centralized, not distributed system.
    OK, noted!
    b) There are few exceptions (that might be irrelevant to your use case)
    Desktop Integration Suite supports also offline mode (for reading, but even updates of documents)
    Some news from PM suggest that the new 11.1.1.8 release will support mobile solutions, where content can be ingested even in offline mode (where a mobile device has no signal)
    The mobile support will definitely be great as some branches have limited physical space. Although, I might put this in the backburner for now.
    However, those scenarios are usually only for exceptions - you cannot expect that a remote site would work with a single DIS client and/or mobile device.c) ODDC is also a centralized solution, but you could have one ODDC server per branch, if necessary, supplemented by ODC. However, ODC/ODDC can be used only for content ingestion (scanning/importing documents, initial metadata). Once a document is committed to a content repository, it is (usually) no longer available. Besides, there is no support for scenarios like searching, revisions, content retrieval, etc.d) Even though, WCC is a centralized system, it does not mean that you could not try to implement a distributed scenario using content migration/replication (Archiver utility). There are, however, two main reasons against it:
    Costs - CPU/NUP license model is very effective for a centralized solution, because you can benefit from synergy effects of clustering. I remember a project where we had 80+ branches, altogether with 4K+ users that could run on something like 4 CPUs (eq. to 200 NUPs), if centralized
    Manageability - everyone in OCS (Oracle Consulting Services) strongly discouraged us from any distributed design. Imagine a star architecture, where you have one central node containing everything, and a number of smaller branch systems containing items "belonging" to the branch. Unless the product supports a distributed locking (check-out) you can easily end up with inconsistent data. Again, there can be exceptions - in our case, we had just one revision, data were synchronized overnight and it could never happen that data was updated by anyone, but the branch that "owned" them.
    In our case, the issue was the internet connectivity, and fortunately, we were finally able to convince the customer to solve the root cause, rather than go with an overkill architecture.
    I think the architecture can survive with just one ODDC server where branches (not that many) can connect and send scanned documents to. There are no hard requirements on revisions yet. I also need an application to actually encode the customer's application, and is thinking of a custom-made ADF application, deployed on the WLS where WCC will run on. Or can I just create pages on WCC and expose that?
    IMHO,
    > a content contributor is outside the client's intranet (or extranet)
    is not an argument for a distributed architecture.
    OK, understood.
    If your concern is security, you may install web server to DMZ. One remaining challenge might be managing user identities, but even for that there are solutions available.
    OK, I'll look into this.
    Thanks for all the inputs!

  • Webcenter Portal and UCM - Content Presenter Error

    Hello,
    I get an error while I'm adding a Content Presenter over the default resource catalog of my webcenter portal application and try to create content.
    When pressing the create content button a new browserpage opens and after beeing logged in to the Content Server the cs/resources/wcm/custom/sitestudio/contentwizard/webcenter/contentwizard.hcsp is called and this error message appears as an alert:
    "*this placeholder is restricted, but no region definitions have been specified*"
    Thanks for any advice!

    Looks like the configuration of UCM (SSXA) is not completed in your system. Take a look at this manual http://docs.oracle.com/cd/E23943_01/doc.1111/e13650/toc.htm to understand the relationship between region definitions and placeholders. Note that Content Presenter is just a client here (it's a matter of WebCenter Content configuration).

  • Multilanguage site with the Content Presenter

    Hey,
    I have a question about creating a multilanguage website with the help of a Content Presenter and Contributor Data Files.
    I already found this post: How to use content presenter with a multilanguage site
    I will try this, but it is very extensive. So I am looking for an easier solution.
    Do you have any idea?
    Thanks for your help.

    Lukas,
    which part of Yannick's answer do you find "very extensive"?
    a) content
    If you want to work with multilingual content, you will need to have it store in the repository. There are some best practices how to do that - basically, it is recommended to have the content somehow linked, so that you may e.g. trigger translation of language resources in other language once the item in the base language changed. The optimal implementation may vary depending on your requirements.
    b) rendering with Content Presenter
    Note that Oracle provides other means than Content Presenter how to create multilingual sites (my first bet would be WebCenter Sites), but if you want to use Content Presenter there are not so many options. What Yannick suggested is to modify CMIS queries per language settings of your current user. The only other option is to have more Content Presenters with static queries, and somehow display the correct version - e.g. you could have several completely separate sites, one for each language. The latter is actually used quite often in WEM, esp. if sites in other languages don't have the same structure as the master language's one (for instance, if the customer cannot afford to keep updated translations in all other languages). However, technically speaking that is really it.
    Jiri

  • Databind method call returns null in WebCenter Content Filter

    Hi,
    I have inherited some code that has an issue and I'm new to WebCenter Content and the Filters that can be added. We have a FileNameFilter class that starts off with the code
    public class CWEFileNameFilter implements FilterImplementor {
        public CWEFileNameFilter() {
            super();
        public int doFilter(Workspace workspace, DataBinder dataBinder,
                            ExecutionContext executionContext) throws DataException {
            String service = dataBinder.getLocal("IdcService");
    However, service sometimes comes back null and then the filter throws a NPE.
    My questions are:
    1) Can anyone explain what dataBinder.getLocal("IdcService"); is doing and why it could come back as null
    2) Can anyone provide any links to documentation that explains Filters and a bit more about the DataBinder object as the JavaDoc isn't much help.
    Thanks
    Marc

    Hi Marc,
    Below code will give service name for which filter is implemented  from LocalData
    String service = dataBinder.getLocal("IdcService");
    for example below
    http://localhost:16200/cs/idcplg?IdcService=DOC_INFO_BY_NAME&dDocName=1111111&IsJava
    This will print entire response data including localdata and results which are created as part of service execution. Below is snippet
    <?hda version="11.1.1.8.0PSU-2015-04-01 00:14:53Z-r126309" jcharset="UTF8" encoding="utf-8"?>
    @Properties LocalData
    DocUrl=https://localhost:16200/cs/weblayout/groups/secure/documents/test/mhdk/mjg1/1111111.pdf
    IdcService=DOC_INFO_BY_NAME
    so String service = dataBinder.getLocal("IdcService"); will be service ="DOC_INFO_BY_NAME".
    Below blog will give some idea about filter but best place to learn or start is "The Definitive Guide to Stellent Content Server Development" by Brian Huff
    http://www.redstonecontentsolutions.com/technical-blog/ucm-service-handlers-and-javafilters
    Also i would recommend reading "WebCenter Content Services Reference Guide"
    http://docs.oracle.com/cd/E23943_01/doc.1111/e11011/toc.htm
    Regards,
    Amol Gavali.

  • Oracle.jbo.NoDefException: JBO-25002: Definition oracle.webcenter.search.model.DataControls of type null is not found.

    Hi experts,
    I am trying to deploy a new version of a WC Portal application and when the deployment finishes successfully I cannot see the web page. The error is:
    Error 500--Internal Server Error
    oracle.jbo.NoDefException: JBO-25002: Definition oracle.webcenter.search.model.DataControls of type null is not found.
        at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2772)
        at oracle.adf.model.binding.DCDataControlConfigDef.findDefObject(DCDataControlConfigDef.java:32)
    Checking the output log I can see:
    <Jul 29, 2013 2:47:21 PM CEST> <Error> <HTTP> <BEA-101020> <[ServletContext@667149283[app:<App_name> module:<Module> path:/<Path> spec-version:2.5 version:V4.0]] Servlet failed with Exception
    oracle.jbo.NoDefException: JBO-25002: Definition oracle.webcenter.search.model.DataControls of type null is not found.
            at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2772)
            at oracle.adf.model.binding.DCDataControlConfigDef.findDefObject(DCDataControlConfigDef.java:32)
            at oracle.adf.model.binding.DCDataControlDef.findDefObject(DCDataControlDef.java:377)
            at oracle.adf.model.binding.DCDataControlReference.<init>(DCDataControlReference.java:55)
            at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadDataControlUsage(JUApplicationDefImpl.java:1137)
            Truncated. see log file for complete stacktrace
    Caused By: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/search/model/DataControls.dcx"
    I have checked similar errors in the forums and tried the solutions purposed but with no success. I do not understand why the application is looking for the DataControls.dcx file inside a standard WC Search library.
    Any help would be much appreciated.

    Hi Dani,
    Eventually I found the problem, it is reported in Oracle Support as Doc ID 1503173.1.
    It seems jDeveloper is a bit special when adding Directories to the MAR file. If the whole directory "/oracle" is added, the adf-config.xml introduces the following line:
    namespace metadata-store-usage="WebCenterFileMetadataStore" path="/oracle"/
    As a result, this diverts all /oracle/... file and class requests to MDS, which causes failures.
    So when editing the MAR deployment profile be careful to select the sub-directories under /oracle/webcenter/portalapp/ one by one.
    Added to this, I had to perform the cleaning process you suggested to make it work too, otherwise I get a different error...
    Final steps are:
    1. Undeploy application.
    2. Delete MDS partition.
    3. Shutdown managed server.
    4. Delete /cache and /tmp content for the managed server.
    5. Start managed server.
    6. Exectute Clean all in jDeveloper.
    7. Create a new mar deployment as described in SR 1503173.1.
    8. Deploy to EAR file.
    9. Deploy new application to managed server using Enterprise Manager.
    And it works!
    Thanks for your help!

Maybe you are looking for

  • Trying to update Photoshop CS6 with latest Camera Raw but no luck!!

    Working on a Corporate Licensed CS6 and the "Updates" under Help is grayed out? I have a license key, I have logged on to Adobe and I am an admin. Still it's grey. So I went on the internet and found a lot of pages telling me it is easy to download a

  • Trying to change the labels for some UI elements

    hi, Problem:  I am trying to change the labels for some UI elements and transport the views from one server to another server. the lables show changed in the source server but the changes dont reflect in the destination server Kidly help me to slove

  • Safari 8.0 not loading images (only on Amazon)

    I have tried clearing cache and force quitting and restarting with shift but nothing seems to work.  And the weird thing is it is not all images on amazon, just images of products, such as within search mode or wishlist.

  • Syntax error in program SAPLRRI2

    The error occurred during the query process through connecting to a remote BW server. I don't think most of the notes provide adequate information to solve this problem. Folks, have you ever encountered with this error? I really appreciate if you can

  • 10.7.3 issues with reconnecting to the Internet after waking from sleep mode?

    My iMac worked great until this last update. Now it does not connect to the internet after I wake it from sleep mode. Any fixes?