Forum Stats

  • 3,827,608 Users
  • 2,260,798 Discussions
  • 7,897,314 Comments

Discussions

How to customize the Oracle Utilities Customer Self Service Portal

user10977928
user10977928 Member Posts: 72
edited Mar 18, 2013 8:40PM in WebCenter Portal
Hi All,

Could you please give any suggestion for the below requirement.

We are using 'Oracle Utilities Customer Self Service' (Release 2.0.1).
When we click on 'Details' tab and then dashboard page is open.

In dashboard page how can we customize that page. Because i am unable to apply the 'Oracle Composer' for that page.
In Administration page in Resource tab -> Pages not showing anything.
Pages only showing 4 pages (Home,Error etc.)

Please suggest how can i customize that type of standard pages.
I read all the related white papers of 'Oracle Utilities Customer Self Service' but not able to understand how to change on those standard pages.

Thanks in advance.
«1

Answers

  • Daniel Merchán
    Daniel Merchán Enterprise Achitect Member Posts: 2,192 Gold Trophy
    I never did Oracle Utilities Customer Self Service Portal.

    If you can provide me the downloable link and the tutorial info I can help you with WebCenter capabilities of that portal.

    Thanks.

    Regards.
  • Is this the pre-packaged OUCSS "Group Spaces"?

    Are you logged in as an Admin user? What exactly do you see in the "Pages" screen (a screenshot may be helpful)?

    Have you tried using the WebCenter Administration console rather than the Admin tab within OUCSS? I am guessing you should be able to see the Spaces and edit them including Pages.
  • Brijesh,

    Thanks for your reply.
    Not much any idea about pre-packaged OUCSS "Group Spaces". Please share your knowledge about on that or any link.

    Exactly I want to customize the pages (.jspx/.jsff) under the seeded taskflow like 'EnrolltaskFlow' underlying in oracle.ugbu.ss.base.login.view in JDev.

    I know about the the create new pages or customize the inbuild pages (copy the original and after that modify that) which comes with OUCSS product.
    But that type of things you can do using Oracle Composer. But it's like you just remove or add the seeded taskflow or any others.
    It's not give you the feature to add or remove any component on the seeded task flow if i am not wrong.Like you and add some text fields , disable some inbuild button
    add your own custom businness logic handling the event etc.

    My question is can we able to customize the seeded taskflow pages or fargments.
    For an example we have seeded 'EnrolltaskFlow' underlying in oracle.ugbu.ss.base.login.view (as per ExtendOUCSSPortal.jws) in resource pallate.
    Now i want to customize the .jspx/.jsff pages under 'EnrolltaskFlow' and also customize the business logic in submit button.

    Can we able to that, if 'Yes' how can we do that ?

    Thanks in advace.
  • Hi Please,

    Downlod the contents from following link.

    https://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number=14829568

    Let me know if it's not working
  • Hi,

    You "customize" taskflows using JDeveloper. See Chapter 8 of the OUCSS Implementation Guide.

    When you customize a taskflow, you create an MDS customization file. This is imported into the MDS repository of the consuming application. In your case, the consuming application is the OUCSS portal.

    A more generic doco of TaskFlow Customization in WebCenter is here: http://docs.oracle.com/cd/E25178_01/webcenter.1111/e10148/jpsdg_taskflows.htm. Note that this doco references WebCenter built-in TFs. In your case, you won't use a "WebCenter Taskflow Customization" but rather a "Fusion Web Application" workspace.

    Read through all the docos so you get a fair understanding of WebCenter Portal and TF customization.


    About Spaces: If I am reading it correctly, earlier versions were supplied as an importable Group Space for WebCenter Portal: Spaces (http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10147/Topic_4.1.htm). Looks like the new version ships as a vanilla WebCenter Portal. You can safely ignore my question for now. :-)
  • user10977928
    user10977928 Member Posts: 72
    Hi Brijesh,

    Thanks for your reply.

    If I go through with Oracle documentation (Chapter 8 of the OUCSS Implementation Guide)
    to customize the OUCSS seeded taskflow(.jsff page) then it's giving so many error
    at the time of changing the seeded page in "Customize Developer Role" and not clear about
    deployment of <customization file>.jsff.xml.

    However as per document I go through with “WebCenter Portal - Spaces Task Flow Customization Application” template
    for create the new application. Please let me know if it's wrong as you mentioned.

    Please see the below step which I followed as per the documentations.

    1. Create New Application based on "WebCenter Portal - Spaces Task Flow Customization Application"
    and chose default name(ViewController) for "Project Name" and default name(view) in "Default Package".

    2. Create the file system connection as given and click on "View" and add the .jar file to the project.

    3. click on Show libraries and open the summary.jsff
    (ADF Library -> com.oracle.ugbu -> billing -> summary ->view -> taskflows ->fragments)

    4. Change the role from Default to Customization.

    5. Now from here JDeveloper(11.1.1.6.0) showing the 'Unexpected Error' in each step

    Error details attached below

    6. change the properties of buttons(enable to disable).

    But as per document <customization>.jsff.xml should be created in “oracle” under <<ApplicationFolder>>/mds.
    But in my case it's created on
    <<ApplicationFolder>>\ViewController\libraryCustomizations\com\oracle\ugbu\ss\billing\summary\view\taskflows\fragments\mdssys\cust\site\webcenter (windows)

    7. Copy the folder “oracle” from <<ApplicationFolder>>\ViewController\libraryCustomizations\com
    To location (/home/oracle/<mycustomfolder>) where application managed server is running.

    How to know where application managed server is running ?

    Here i used the application server which showing host:port at the time of OUCSS portal open.

    8. connect the above server from my standalone wlst

    I used the below command


    wls:/offline>connect('admin','welcome1','t3://<host>:<weblogicport>')

    wls:/<domain name>/serverConfig>importMetadata(application='OUCSSPortal',server='<managedservername>',fromLocation='/home/oracle/<mycustomfolder>', docs='/**')

    it's giving the below error

    Traceback (innermost last):
    File "(console)", line 1, in?
    NameError: importMetadata

    wls:/<domain name>/serverConfig>importMetadata(application='OUCSSPortal',server='<managedservername>',fromLocation='/home/oracle/<mycustomfolder>', docs="/**")

    it's giving the below error

    Traceback (innermost last):
    File "(console)", line 1, in?
    NameError: importMetadata

    Also tried from C:\Oracle\Middleware\Oracle_WC1\common\bin and run wlst.cmd

    but that's not working.


    Error Details in Customization Role
    ------------------------------------------------


    oracle.mds.exception.MDSRuntimeException in o.mds.core.MODOMTxnState:220

    oracle.adf.share.ADFContext:Mar 7, 2013 10:48:12 AM oracle.adf.share.ADFContext getCurrent
    WARNING: Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    For more information please enable logging for oracle.adf.share.ADFContext at FINEST level.

    Mar 7, 2013 10:48:15 AM oracle.bali.xml.model.XmlContext _setSourceModel
    SEVERE: Exception thrown when initializing model:[email protected]
    oracle.mds.exception.MDSRuntimeException: MDS-00010: DuplicateRefException. In document /oracle/webcenter/activitystreaming/controller/taskflows/activity-streaming-miniview.xml there are multiple elements with the same ID _as37.
    MDS-00010: DuplicateRefException. In document /oracle/webcenter/activitystreaming/controller/taskflows/activity-streaming-miniview.xml there are multiple elements with the same ID _as37.
    at oracle.mds.core.MODOMTxnState.attachListeners(MODOMTxnState.java:220)
    at oracle.mds.core.MOTxnState.getDocument(MOTxnState.java:281)
    at oracle.mds.core.UpdateableMOContent.getDocument(UpdateableMOContent.java:561)
    at oracle.mds.core.MetadataObject.getContentWithRetry(MetadataObject.java:2771)
    at oracle.mds.core.MetadataObject.getDocument(MetadataObject.java:449)
    at oracle.mds.internal.dt.dom.MDSDomModelPlugin.ensureDocUpToDate(MDSDomModelPlugin.java:1462)
    at oracle.mds.internal.dt.dom.MDSDomModelPlugin.refreshModel(MDSDomModelPlugin.java:1327)
    at oracle.bali.xml.dom.impl.DomModelImpl.refreshModel(DomModelImpl.java:1090)
    at oracle.bali.xml.dom.impl.DomModelImpl.acquireReadLock(DomModelImpl.java:449)
    at oracle.bali.xml.model.XmlModel.acquireReadLock(XmlModel.java:1967)
    at oracle.bali.xml.model.XmlModel.__attachContext(XmlModel.java:2394)
    at oracle.bali.xml.model.XmlContext._initializeModel(XmlContext.java:265)
    at oracle.bali.xml.model.XmlContext._setSourceModel(XmlContext.java:2127)
    at oracle.bali.xml.model.XmlContext.setModel(XmlContext.java:325)
    at oracle.bali.xml.addin.XMLSourceNode._createAndInitXmlContext(XMLSourceNode.java:1536)
    at oracle.bali.xml.addin.XMLSourceNode._getXmlContext(XMLSourceNode.java:1490)
    at oracle.bali.xml.addin.XMLSourceNode.getXmlContext(XMLSourceNode.java:175)
    at oracle.bali.xml.gui.jdev.JDevXmlContext.getXmlContext(JDevXmlContext.java:207)
    at oracle.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getTaskFlowsForContext(ManagedBeansVariableProvider.java:412)
    at oracle.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getVariablesImpl(ManagedBeansVariableProvider.java:117)
    at oracle.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getVariablesCacheImpl(ManagedBeansVariableProvider.java:209)
    at oracle.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getPropertyCacheImpl(ManagedBeansVariableProvider.java:276)
    at oracle.adfdt.controller.adfc.source.el.BaseVariableProvider.getReferenceCacheImpl(BaseVariableProvider.java:736)
    at oracle.adfdt.controller.adfc.source.el.BaseVariableProvider.getReference(BaseVariableProvider.java:657)
    at oracle.jdeveloper.el.ELManager.getReference(ELManager.java:256)
    at oracle.jdeveloper.webapp.xdf.ELReferenceFactory.getReference(ELReferenceFactory.java:48)
    at oracle.jdeveloper.webapp.xdf.AbstractELReferenceFactory.getReferences(AbstractELReferenceFactory.java:114)
    at oracle.bali.xml.model.dependency.DependencyUtils.getReferences(DependencyUtils.java:227)
    at oracle.bali.xml.model.dependency.DependencyUtils.getReferences(DependencyUtils.java:257)
    at oracle.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.getReferencesInLibrary(PageToReferringViewsIndex.java:196)
    at oracle.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.calculate(PageToReferringViewsIndex.java:295)
    at oracle.adfdt.controller.adfc.source.view.PageIndex.get(PageIndex.java:77)
    at oracle.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.getFromUnboundedTaskFlows(PageToReferringViewsIndex.java:247)
    at oracle.adfdt.controller.adfc.source.runner.JsfJspVisualEditorPathProvider.getVisualEditorPath(JsfJspVisualEditorPathProvider.java:47)
    at oracle.jdevimpl.webapp.design.DesignTimeEngine$WeightedVisualEditorPathProvider.getVisualEditorPath(DesignTimeEngine.java:1264)
    at oracle.jdevimpl.webapp.design.DesignTimeEngine.getRequestURI(DesignTimeEngine.java:1191)
    at oracle.jdevimpl.webapp.design.DesignTimeDocumentContext.getRequestURI(DesignTimeDocumentContext.java:532)
    at oracle.jdevimpl.webapp.design.support.http.DesignTimeServletContainerContext.service(DesignTimeServletContainerContext.java:724)
    at oracle.jdevimpl.webapp.design.DesignTimeWebApp._renderViewDocument(DesignTimeWebApp.java:1388)
    at oracle.jdevimpl.webapp.design.DesignTimeWebApp.access$400(DesignTimeWebApp.java:106)
    at oracle.jdevimpl.webapp.design.DesignTimeWebApp$5.run(DesignTimeWebApp.java:1327)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.mds.exception.MDSRuntimeException: MDS-00010: DuplicateRefException. In document /oracle/webcenter/activitystreaming/controller/taskflows/activity-streaming-miniview.xml there are multiple elements with the same ID _as37.
    at oracle.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1870)
    at oracle.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    at oracle.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    at oracle.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    at oracle.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    at oracle.mds.internal.model.dom.DOMModelDocument.insertMapNodes(DOMModelDocument.java:1792)
    at oracle.mds.internal.model.dom.DOMModelDocument.createIDMap(DOMModelDocument.java:2221)
    at oracle.mds.internal.model.dom.DOMModelDocument.getOrCreateIdMap(DOMModelDocument.java:1729)
    at oracle.mds.internal.model.dom.DOMModelDocument.flatteningProcessComplete(DOMModelDocument.java:587)
    at oracle.mds.core.MODOMTxnState.attachListeners(MODOMTxnState.java:205)
    ... 46 more
    Caused by: oracle.mds.exception.DuplicateRefException: MDS-00010: DuplicateRefException. In document /oracle/webcenter/activitystreaming/controller/taskflows/activity-streaming-miniview.xml there are multiple elements with the same ID _as37.
    at oracle.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1867)
    ... 55 more

    oracle.mds.exception.MDSRuntimeException: MDS-00010: DuplicateRefException. In document /oracle/webcenter/activitystreaming/controller/taskflows/activity-streaming-miniview.xml there are multiple elements with the same ID _as37.
    MDS-00010: DuplicateRefException. In document /oracle/webcenter/activitystreaming/controller/taskflows/activity-streaming-miniview.xml there are multiple elements with the same ID _as37.
    o.mds.core.MODOMTxnState.attachListeners(MODOMTxnState.java:220)
    o.mds.core.MOTxnState.getDocument(MOTxnState.java:281)
    o.mds.core.UpdateableMOContent.getDocument(UpdateableMOContent.java:561)
    o.mds.core.MetadataObject.getContentWithRetry(MetadataObject.java:2771)
    o.mds.core.MetadataObject.getDocument(MetadataObject.java:449)
    o.mds.internal.dt.dom.MDSDomModelPlugin.ensureDocUpToDate(MDSDomModelPlugin.java:1462)
    o.mds.internal.dt.dom.MDSDomModelPlugin.refreshModel(MDSDomModelPlugin.java:1327)
    o.bali.xml.dom.impl.DomModelImpl.refreshModel(DomModelImpl.java:1090)
    o.bali.xml.dom.impl.DomModelImpl.acquireReadLock(DomModelImpl.java:449)
    o.bali.xml.model.XmlModel.acquireReadLock(XmlModel.java:1967)
    o.bali.xml.model.XmlModel.__attachContext(XmlModel.java:2394)
    o.bali.xml.model.XmlContext._initializeModel(XmlContext.java:265)
    o.bali.xml.model.XmlContext._setSourceModel(XmlContext.java:2127)
    o.bali.xml.model.XmlContext.setModel(XmlContext.java:325)
    o.bali.xml.addin.XMLSourceNode._createAndInitXmlContext(XMLSourceNode.java:1536)
    o.bali.xml.addin.XMLSourceNode._getXmlContext(XMLSourceNode.java:1490)
    o.bali.xml.addin.XMLSourceNode.getXmlContext(XMLSourceNode.java:175)
    o.bali.xml.gui.jdev.JDevXmlContext.getXmlContext(JDevXmlContext.java:207)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getTaskFlowsForContext(ManagedBeansVariableProvider.java:412)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getVariablesImpl(ManagedBeansVariableProvider.java:117)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getVariablesCacheImpl(ManagedBeansVariableProvider.java:209)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getPropertyCacheImpl(ManagedBeansVariableProvider.java:276)
    o.adfdt.controller.adfc.source.el.BaseVariableProvider.getReferenceCacheImpl(BaseVariableProvider.java:736)
    o.adfdt.controller.adfc.source.el.BaseVariableProvider.getReference(BaseVariableProvider.java:657)
    o.j.el.ELManager.getReference(ELManager.java:256)
    o.j.webapp.xdf.ELReferenceFactory.getReference(ELReferenceFactory.java:48)
    o.j.webapp.xdf.AbstractELReferenceFactory.getReferences(AbstractELReferenceFactory.java:114)
    o.bali.xml.model.dependency.DependencyUtils.getReferences(DependencyUtils.java:227)
    o.bali.xml.model.dependency.DependencyUtils.getReferences(DependencyUtils.java:257)
    o.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.getReferencesInLibrary(PageToReferringViewsIndex.java:196)
    o.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.calculate(PageToReferringViewsIndex.java:295)
    o.adfdt.controller.adfc.source.view.PageIndex.get(PageIndex.java:77)
    o.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.getFromUnboundedTaskFlows(PageToReferringViewsIndex.java:247)
    o.adfdt.controller.adfc.source.runner.JsfJspVisualEditorPathProvider.getVisualEditorPath(JsfJspVisualEditorPathProvider.java:47)
    o.ji.webapp.design.DesignTimeEngine$WeightedVisualEditorPathProvider.getVisualEditorPath(DesignTimeEngine.java:1264)
    o.ji.webapp.design.DesignTimeEngine.getRequestURI(DesignTimeEngine.java:1191)
    o.ji.webapp.design.DesignTimeDocumentContext.getRequestURI(DesignTimeDocumentContext.java:532)
    o.ji.webapp.design.support.http.DesignTimeServletContainerContext.service(DesignTimeServletContainerContext.java:724)
    o.ji.webapp.design.DesignTimeWebApp._renderViewDocument(DesignTimeWebApp.java:1388)
    o.ji.webapp.design.DesignTimeWebApp.access$400(DesignTimeWebApp.java:106)
    o.ji.webapp.design.DesignTimeWebApp$5.run(DesignTimeWebApp.java:1327)
    j.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    j.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    j.util.concurrent.FutureTask.run(FutureTask.java:138)
    j.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    j.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    j.lang.Thread.run(Thread.java:662)
    Caused by:
    oracle.mds.exception.MDSRuntimeException: MDS-00010: DuplicateRefException. In document /oracle/webcenter/activitystreaming/controller/taskflows/activity-streaming-miniview.xml there are multiple elements with the same ID _as37.
    o.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1870)
    o.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    o.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    o.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    o.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    o.mds.internal.model.dom.DOMModelDocument.insertMapNodes(DOMModelDocument.java:1792)
    o.mds.internal.model.dom.DOMModelDocument.createIDMap(DOMModelDocument.java:2221)
    o.mds.internal.model.dom.DOMModelDocument.getOrCreateIdMap(DOMModelDocument.java:1729)
    o.mds.internal.model.dom.DOMModelDocument.flatteningProcessComplete(DOMModelDocument.java:587)
    o.mds.core.MODOMTxnState.attachListeners(MODOMTxnState.java:205)
    o.mds.core.MOTxnState.getDocument(MOTxnState.java:281)
    o.mds.core.UpdateableMOContent.getDocument(UpdateableMOContent.java:561)
    o.mds.core.MetadataObject.getContentWithRetry(MetadataObject.java:2771)
    o.mds.core.MetadataObject.getDocument(MetadataObject.java:449)
    o.mds.internal.dt.dom.MDSDomModelPlugin.ensureDocUpToDate(MDSDomModelPlugin.java:1462)
    o.mds.internal.dt.dom.MDSDomModelPlugin.refreshModel(MDSDomModelPlugin.java:1327)
    o.bali.xml.dom.impl.DomModelImpl.refreshModel(DomModelImpl.java:1090)
    o.bali.xml.dom.impl.DomModelImpl.acquireReadLock(DomModelImpl.java:449)
    o.bali.xml.model.XmlModel.acquireReadLock(XmlModel.java:1967)
    o.bali.xml.model.XmlModel.__attachContext(XmlModel.java:2394)
    o.bali.xml.model.XmlContext._initializeModel(XmlContext.java:265)
    o.bali.xml.model.XmlContext._setSourceModel(XmlContext.java:2127)
    o.bali.xml.model.XmlContext.setModel(XmlContext.java:325)
    o.bali.xml.addin.XMLSourceNode._createAndInitXmlContext(XMLSourceNode.java:1536)
    o.bali.xml.addin.XMLSourceNode._getXmlContext(XMLSourceNode.java:1490)
    o.bali.xml.addin.XMLSourceNode.getXmlContext(XMLSourceNode.java:175)
    o.bali.xml.gui.jdev.JDevXmlContext.getXmlContext(JDevXmlContext.java:207)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getTaskFlowsForContext(ManagedBeansVariableProvider.java:412)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getVariablesImpl(ManagedBeansVariableProvider.java:117)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getVariablesCacheImpl(ManagedBeansVariableProvider.java:209)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getPropertyCacheImpl(ManagedBeansVariableProvider.java:276)
    o.adfdt.controller.adfc.source.el.BaseVariableProvider.getReferenceCacheImpl(BaseVariableProvider.java:736)
    o.adfdt.controller.adfc.source.el.BaseVariableProvider.getReference(BaseVariableProvider.java:657)
    o.j.el.ELManager.getReference(ELManager.java:256)
    o.j.webapp.xdf.ELReferenceFactory.getReference(ELReferenceFactory.java:48)
    o.j.webapp.xdf.AbstractELReferenceFactory.getReferences(AbstractELReferenceFactory.java:114)
    o.bali.xml.model.dependency.DependencyUtils.getReferences(DependencyUtils.java:227)
    o.bali.xml.model.dependency.DependencyUtils.getReferences(DependencyUtils.java:257)
    o.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.getReferencesInLibrary(PageToReferringViewsIndex.java:196)
    o.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.calculate(PageToReferringViewsIndex.java:295)
    o.adfdt.controller.adfc.source.view.PageIndex.get(PageIndex.java:77)
    o.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.getFromUnboundedTaskFlows(PageToReferringViewsIndex.java:247)
    o.adfdt.controller.adfc.source.runner.JsfJspVisualEditorPathProvider.getVisualEditorPath(JsfJspVisualEditorPathProvider.java:47)
    o.ji.webapp.design.DesignTimeEngine$WeightedVisualEditorPathProvider.getVisualEditorPath(DesignTimeEngine.java:1264)
    o.ji.webapp.design.DesignTimeEngine.getRequestURI(DesignTimeEngine.java:1191)
    o.ji.webapp.design.DesignTimeDocumentContext.getRequestURI(DesignTimeDocumentContext.java:532)
    o.ji.webapp.design.support.http.DesignTimeServletContainerContext.service(DesignTimeServletContainerContext.java:724)
    o.ji.webapp.design.DesignTimeWebApp._renderViewDocument(DesignTimeWebApp.java:1388)
    o.ji.webapp.design.DesignTimeWebApp.access$400(DesignTimeWebApp.java:106)
    o.ji.webapp.design.DesignTimeWebApp$5.run(DesignTimeWebApp.java:1327)
    j.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    j.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    j.util.concurrent.FutureTask.run(FutureTask.java:138)
    j.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    j.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    j.lang.Thread.run(Thread.java:662)
    Caused by:
    oracle.mds.exception.DuplicateRefException: MDS-00010: DuplicateRefException. In document /oracle/webcenter/activitystreaming/controller/taskflows/activity-streaming-miniview.xml there are multiple elements with the same ID _as37.
    o.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1867)
    o.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    o.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    o.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    o.mds.internal.model.dom.DOMModelDocument.insertMapNode(DOMModelDocument.java:1925)
    o.mds.internal.model.dom.DOMModelDocument.insertMapNodes(DOMModelDocument.java:1792)
    o.mds.internal.model.dom.DOMModelDocument.createIDMap(DOMModelDocument.java:2221)
    o.mds.internal.model.dom.DOMModelDocument.getOrCreateIdMap(DOMModelDocument.java:1729)
    o.mds.internal.model.dom.DOMModelDocument.flatteningProcessComplete(DOMModelDocument.java:587)
    o.mds.core.MODOMTxnState.attachListeners(MODOMTxnState.java:205)
    o.mds.core.MOTxnState.getDocument(MOTxnState.java:281)
    o.mds.core.UpdateableMOContent.getDocument(UpdateableMOContent.java:561)
    o.mds.core.MetadataObject.getContentWithRetry(MetadataObject.java:2771)
    o.mds.core.MetadataObject.getDocument(MetadataObject.java:449)
    o.mds.internal.dt.dom.MDSDomModelPlugin.ensureDocUpToDate(MDSDomModelPlugin.java:1462)
    o.mds.internal.dt.dom.MDSDomModelPlugin.refreshModel(MDSDomModelPlugin.java:1327)
    o.bali.xml.dom.impl.DomModelImpl.refreshModel(DomModelImpl.java:1090)
    o.bali.xml.dom.impl.DomModelImpl.acquireReadLock(DomModelImpl.java:449)
    o.bali.xml.model.XmlModel.acquireReadLock(XmlModel.java:1967)
    o.bali.xml.model.XmlModel.__attachContext(XmlModel.java:2394)
    o.bali.xml.model.XmlContext._initializeModel(XmlContext.java:265)
    o.bali.xml.model.XmlContext._setSourceModel(XmlContext.java:2127)
    o.bali.xml.model.XmlContext.setModel(XmlContext.java:325)
    o.bali.xml.addin.XMLSourceNode._createAndInitXmlContext(XMLSourceNode.java:1536)
    o.bali.xml.addin.XMLSourceNode._getXmlContext(XMLSourceNode.java:1490)
    o.bali.xml.addin.XMLSourceNode.getXmlContext(XMLSourceNode.java:175)
    o.bali.xml.gui.jdev.JDevXmlContext.getXmlContext(JDevXmlContext.java:207)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getTaskFlowsForContext(ManagedBeansVariableProvider.java:412)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getVariablesImpl(ManagedBeansVariableProvider.java:117)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getVariablesCacheImpl(ManagedBeansVariableProvider.java:209)
    o.adfdt.controller.adfc.source.el.ManagedBeansVariableProvider.getPropertyCacheImpl(ManagedBeansVariableProvider.java:276)
    o.adfdt.controller.adfc.source.el.BaseVariableProvider.getReferenceCacheImpl(BaseVariableProvider.java:736)
    o.adfdt.controller.adfc.source.el.BaseVariableProvider.getReference(BaseVariableProvider.java:657)
    o.j.el.ELManager.getReference(ELManager.java:256)
    o.j.webapp.xdf.ELReferenceFactory.getReference(ELReferenceFactory.java:48)
    o.j.webapp.xdf.AbstractELReferenceFactory.getReferences(AbstractELReferenceFactory.java:114)
    o.bali.xml.model.dependency.DependencyUtils.getReferences(DependencyUtils.java:227)
    o.bali.xml.model.dependency.DependencyUtils.getReferences(DependencyUtils.java:257)
    o.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.getReferencesInLibrary(PageToReferringViewsIndex.java:196)
    o.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.calculate(PageToReferringViewsIndex.java:295)
    o.adfdt.controller.adfc.source.view.PageIndex.get(PageIndex.java:77)
    o.adfdt.controller.adfc.source.view.PageToReferringViewsIndex.getFromUnboundedTaskFlows(PageToReferringViewsIndex.java:247)
    o.adfdt.controller.adfc.source.runner.JsfJspVisualEditorPathProvider.getVisualEditorPath(JsfJspVisualEditorPathProvider.java:47)
    o.ji.webapp.design.DesignTimeEngine$WeightedVisualEditorPathProvider.getVisualEditorPath(DesignTimeEngine.java:1264)
    o.ji.webapp.design.DesignTimeEngine.getRequestURI(DesignTimeEngine.java:1191)
    o.ji.webapp.design.DesignTimeDocumentContext.getRequestURI(DesignTimeDocumentContext.java:532)
    o.ji.webapp.design.support.http.DesignTimeServletContainerContext.service(DesignTimeServletContainerContext.java:724)
    o.ji.webapp.design.DesignTimeWebApp._renderViewDocument(DesignTimeWebApp.java:1388)
    o.ji.webapp.design.DesignTimeWebApp.access$400(DesignTimeWebApp.java:106)
    o.ji.webapp.design.DesignTimeWebApp$5.run(DesignTimeWebApp.java:1327)
    j.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    j.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    j.util.concurrent.FutureTask.run(FutureTask.java:138)
    j.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    j.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    j.lang.Thread.run(Thread.java:662)

    and also "NPE in o.mds.internal.dt.dom.MDSDomModelPlugin:1562" and many others.
    Could you please help me to resolve this.
  • 1) If JDeveloper allows you to create the customization files (for e.g. summary.jsff.xml), then you can safely ignore the errors.

    2) The location of the managed server is the physical machine on which your weblogic installation is. So yes, usually the same as the host from the portal's URL.

    3) The importMetadata wlst command is only available from the wlst under oracle_common/common/bin or Oracle_WC1/common/bin.
    a) When you say it doesn't work with Oracle_WC1 - do you see any errors?
    b) Which port did you connect to using wlst? It should be the port on which the Admin server runs -- usually 7001 on a standalone install.
    c) Also check to make sure that you are using the right parameters for hostname, managed server name, etc.

    Read more about the metadata wlst commands here: http://docs.oracle.com/cd/E28271_01/web.1111/e13813/custom_mds.htm
  • user10977928
    user10977928 Member Posts: 72
    edited Mar 13, 2013 2:43AM
    Hi Bijesh,

    Thanks for your reply.

    I am able to upload successfully the customization file, but it's not reflecting in application.

    Here is my summary.jsff.xml file

    <mds:customization version="11.1.1.61.92"
    xmlns:mds="http://xmlns.oracle.com/mds">
    <mds:modify element="cb1">
    <mds:attribute name="disabled" value="true"/>
    <mds:attribute name="rendered" value="false"/>
    </mds:modify>
    </mds:customization>

    I want to disable the 'Pay Now' button on dashboard.
    At the time of upload the customization not found any error.
    Please see the below

    Executing operation: importMetadata

    Operation "importMetadata" completed. Summary of "importMetadata" operation is:
    List of documents successfully transferred:

    /oracle/ugbu/ss/billing/summary/view/taskflows/fragments/mdssys/cust/site/webcenter/summary.jsff.xml

    1 documents successfully transferred.

    I restarted the application server but it's not reflecting.

    Edited by: user10977928 on Mar 12, 2013 11:42 PM
  • user10977928 wrote:
    /oracle/ugbu/ss/billing/summary/view/taskflows/fragments/mdssys/cust/site/webcenter/summary.jsff.xml
    Edited by: user10977928 on Mar 12, 2013 11:42 PM
    Have you followed step 14 under "Create Customization Documents"? It says to use "site" as the value for the customization context? I think you have left it at "webcenter" as evidenced by the path of your customization file .../cust/site/*webcenter*/summary.jsff.xml

    To change the value
    1) click on the "Configure application layer values" link in the Customization Context window. This opens the CustomizationLayerValues.xml file.
    2) Edit the cust-layer-value node under for the "site" cust-layer and set the value to "site". I am not entirely sure if the id-prefix and display-name attributes matter but I would try changing them all to "site"
    3) Save the file
    3) Ensure that "Edit with following customization context" is selected in the Customization Context window and check that the site/site Name-Value pair is active.

    You may need to perform the customization again after changing the context. This should create a new customization file in the right path.
  • Hi Brijesh,

    Below are the entry in "CustomizationLayerValues.xml" file and also in "Customization Context" radio button "Edit With following Customization Context" selected.
    And 'Tip Layer' name is 'site' and value is 'site(site)'.

    Entries in CustomizationLayerValues.xml

    <cust-layers xmlns="http://xmlns.oracle.com/mds/dt">
    <cust-layer name="site" id-prefix="s">
    <cust-layer-value value="site" display-name="site" id-prefix="site"/>
    </cust-layer>
    <cust-layer name="runtime_only_layer" value-set-size="no_values"/>
    <cust-layer name="user" value-set-size="no_values"/>
    </cust-layers>


    However the customization file(summary.jsff.xm) not created in <ApplicationFolder> . mds directory.
    It's created on <ApplicationFolder>\ViewController\libraryCustomizations\com\oracle\ugbu\ss\billing\summary\view\taskflows\fragments\mdssys\cust\site\site\summary.jsff.xml.

    However in <ApplicationFolder>\mds\oracle\webcenter\list contains 2 directories 'scopeMD' and 'template'. Not found any related entry for customization files in any files on those 2 directories.

    I copied the "oracle" directory from <ApplicationFolder>\ViewController\libraryCustomizations\com in application server and import that, it's uploaded successfully but the customization not reflecting on application.

    Is there anything is missing from my side or any JDeveloper settings for create the customization files in <ApplicationFolder>\mds\oracle directory rather than <ApplicationFolder>\ViewController\libraryCustomizations\com.

    Could you please give your mail id then i can send you the screen shots step by step and workspace, so you can quickly understand what is wrong here.

    Please help me , already spent lot's of time for this but never see the success.
This discussion has been closed.