This discussion is archived
13 Replies Latest reply: Mar 18, 2013 5:40 PM by Bijesh Krishnadas RSS

How to customize the Oracle Utilities Customer Self Service Portal

user10977928 Newbie
Currently Being Moderated
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. Re: How to customize the Oracle Utilities Customer Self Service Portal
    Daniel Merchán Expert
    Currently Being Moderated
    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.
  • 2. Re: How to customize the Oracle Utilities Customer Self Service Portal
    Bijesh Krishnadas Journeyer
    Currently Being Moderated
    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.
  • 3. Re: How to customize the Oracle Utilities Customer Self Service Portal
    user10977928 Newbie
    Currently Being Moderated
    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.
  • 4. Re: How to customize the Oracle Utilities Customer Self Service Portal
    user10977928 Newbie
    Currently Being Moderated
    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
  • 5. Re: How to customize the Oracle Utilities Customer Self Service Portal
    Bijesh Krishnadas Journeyer
    Currently Being Moderated
    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. :-)
  • 6. Re: How to customize the Oracle Utilities Customer Self Service Portal
    user10977928 Newbie
    Currently Being Moderated
    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:oracle.adfdt.controller.adfc.source.model.AdfcXmlModel@22cc0919
    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.
  • 7. Re: How to customize the Oracle Utilities Customer Self Service Portal
    Bijesh Krishnadas Journeyer
    Currently Being Moderated
    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
  • 8. Re: How to customize the Oracle Utilities Customer Self Service Portal
    user10977928 Newbie
    Currently Being Moderated
    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
  • 9. Re: How to customize the Oracle Utilities Customer Self Service Portal
    Bijesh Krishnadas Journeyer
    Currently Being Moderated
    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.
  • 10. Re: How to customize the Oracle Utilities Customer Self Service Portal
    user10977928 Newbie
    Currently Being Moderated
    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.
  • 11. Re: How to customize the Oracle Utilities Customer Self Service Portal
    Bijesh Krishnadas Journeyer
    Currently Being Moderated
    user10977928 wrote:
    Hi Brijesh,

    It's created on <ApplicationFolder>\ViewController\libraryCustomizations\com\oracle\ugbu\ss\billing\summary\view\taskflows\fragments\mdssys\cust\site\site\summary.jsff.xml.
    This location is correct. The location itself doesn't matter as you are merely copying the customizations over to your server and importing it there.
    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.
    You need to copy the "com" directory and use that to import to MDS. This is probably what's causing you grief.

    >
    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.
    I would prefer to keep this in the forum so it may be useful to anyone else looking for answers. If the above doesn't work, please upload your screenshots/description to a public file-sharing site (dropbox, Google Drive, etc.) and add a link to this post.

    >
    Please help me , already spent lot's of time for this but never see the success.
    The steps in implementation guide are fairly straightforward. Just assume "<<ApplicationFolder>>/mds" to be "libraryCustomizations" folder.
  • 12. Re: How to customize the Oracle Utilities Customer Self Service Portal
    user10977928 Newbie
    Currently Being Moderated
    Hi Brijesh,


    Thank you so much for your help.

    I have tried to copy the 'com' directory from <<ApplicationFolder>>/ViewController/libraryCustomizations
    to the server oracle home directory (/home/oracle/testcustomization).

    But still the customization not reflecting on application.

    Here 'testcustomization' directory created by me and under this directory I copied the 'com' directory.

    I used the below command and the result are below


    connect('weblogic','welcome1','t3://172.17.1.178:7031') ---Connect the admin server

    wls:/css04_domain/serverConfig>importMetadata(application='OUCSSPortal', server='CSS04_WC_CustomPortal',fromLocation='/home/oracle/testcustomization', docs="/**")

    Below are the results
    -----------------------
    Location changed to domainRuntime tree.This is read-only tree with DomainMBean as the root.
    For more help, use help(domainRuntime)

    Executing operation: importMetadata.

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

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

    1 documents successfully transferred.

    wls:/css04_domain/serverConfig>





    Please see the below url

    OUCSS application URL - http://172.17.1.178:8842/OUCSSPortal/
    WebLogic Admin Console - http://172.17.1.178:7031/console

    In weblogic console go to 'Home >Summary of Servers' it showing the below entries.

    Name Cluster Machine State Health Listen Port
    --------------------------------------------------------------------------------------------------------------
    CSS04_AdminServer(admin) css04_machine_01 RUNNING OK 7031
    CSS04_WC_CustomPortal css04_machine_01 RUNNING OK 8842


    In EM The following entries are showing
    --------------------------------------------------------------------------------------------------------------------
    Weblogic Domain | Deployments
    css04_domain | -----------------------
    CSS04_AdminServer | Name
    CSS04_WC_CustomPortal | - Application Deployments
    | + Internal Applications
    | oracle.ugbu.offers_2.0.1
    | OUCSSPortal(v2.0.1)
    |


    Could you please help me if anything is wrong in my above command ?



    If I Used the below command then it's failed to import

    connect('wssadmin','welcome1','t3://172.17.1.171:8842') ------ Connect the server with OUCSSPortal admin credential

    importMetadata(application='OUCSSPortal', server='CSS04_WC_CustomPortal',fromLocation='/home/oracle/testcustomization', docs="/**")


    Results are like below

    Location changed to custom tree. This is a writable tree with No root.
    For more help, use help(custom)

    Execute operation: importMetadata.

    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 268, i
    n importMetadata
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 727, i
    n executeAppRuntimeMBeanOperation
    File "C:\Oracle\MIDDLE~1\ORACLE~1\common\wlst\mdsWLSTCommands.py", line 697, i
    n getMDSAppRuntimeMBean
    UserWarning: MDS-91002: MDS Application runtime MBean for "OUCSSPortal" is not a
    vailable. "importMetadata" operation failure.
    wls:/css04_domain/serverConfig>
  • 13. Re: How to customize the Oracle Utilities Customer Self Service Portal
    Bijesh Krishnadas Journeyer
    Currently Being Moderated
    At this point, I am fairly certain you have done everything as "expected" by the doco. I looked at the OUCSS portal files and the out-of-the-box portal customizations appear to be in the "webcenter" layer (rather than "site" layer as specified by the doco). The only other thing you can try is relocate the file to "webcenter", reimport and try again.

    Note: this is pure speculation at this point. There seems to be a lot of inconsistencies in the documentation. For e.g. the doc talks about the "oracle" directory under "<<application_folder>>/mds" whereas the actual customizations should be under "com".

    1) cd /home/oracle/testcustomization
    2) cd com/oracle/ugbu/ss/billing/summary/view/taskflows/fragments/mdssys/cust/site
    3) mv site webcenter

    4) Re-import to MDS - importMetadata(application='OUCSSPortal', server='CSS04_WC_CustomPortal',fromLocation='/home/oracle/testcustomization', docs="/**")

    Unfortunately, I don't have an OUCSS environment on which to validate these steps.

    If this also fails, then I think your best bet is to get Oracle Support involved.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points