Webcenter Spaces -Datacontrol to take dynamic bindparameters from taskflow

Hi,
I am trying to create a databound page in WebCenter Spaces. The scenario is :
1. A user logs in with user-id and password.
2. Once authenticated, the user-id is used to get the applicaitons that user can see, from the database.
3. Using the application records(from the datbase table), a set of tabs (each representing an application is created) on the welcome page.
4. When the user clicks on the tab, the related application url is used to load the application page on the tab.
The issue I have is - Once the user-id is verified, I could not figure out how to pass the user-id into a task flow which has a data-control ( query to get application records). This is because when I created the datacontrol with bind parameters, it did not allow me to save the datacontrol without hardcoding the bind parameter. So, the datacontrol always runs on one user-id hard coded during its creation. Any help/suggestion/guidance is greatly appreciated.

Why not use following expression:
#{securityContext.userName}
This will retun the username.

Similar Messages

  • Error During to Deployment of Webcenter Spaces Extension

    I am getting the following error during compilation of Webcenter Spaces Extension (Extending WebCenter Spaces 11.1.1.3.0) application in JDeveloper (11.1.1.3). It is saying some packages are missing. Please help from where I can get these packages and where I need to copy them in my webcenter application folder.
    Compiling 1 source file to D:\WebCenter\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\classes
    +[javac] D:\WebCenter\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:11: package javax.faces.event does not exist+
    +[javac] import javax.faces.event.PhaseEvent;+
    +[javac] ^+
    +[javac] D:\WebCenter\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:12: package javax.faces.event does not exist+
    +[javac] import javax.faces.event.PhaseId;+
    +[javac] ^+
    +[javac] D:\WebCenter\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:13: package javax.faces.event does not exist+
    +[javac] import javax.faces.event.PhaseListener;+
    +[javac] ^+
    +[javac] D:\WebCenter\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:15: package oracle.adf.share.logging does not exist+
    +[javac] import oracle.adf.share.logging.ADFLogger;+
    +[javac] ^+
    +[javac] D:\WebCenter\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:17: package oracle.webcenter.webcenterapp.context does not exist+
    +[javac] import oracle.webcenter.webcenterapp.context.WCApplicationContext;+
    +[javac] ^+
    +[javac] D:\WebCenter\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:18: package oracle.webcenter.webcenterapp.shell.pages does not exist+
    +[javac] import oracle.webcenter.webcenterapp.shell.pages.WCShellTabModel;+
    +[javac] ^+
    +[javac] D:\WebCenter\ExtendWebCenterSpaces\CustomPersistentSpacesTabs\src\custom\webcenter\spaces\CustomPhaseListener.java:20: package oracle.webcenter.spaces.context does not exist+
    +[javac] import oracle.webcenter.spaces.context.SpacesContext;+
    Also I am able to run default Spaces application, but need to know what should be name of my extended space application as I need to enter it in the config.properties
    +## Enter the name of the WebCenter Spaces application.+
    +## Obtain this information from your systems administrator or from the+
    +## WLS Administration Console as follows:+
    +## 1. Login to WLS Administration Console.+
    +## 2. Navigate to Deployments> webcenter>Overview+
    +## The application's name displays here.+
    webcenter.app.name=
    Any suggestions or workarounds are highly appreciated
    Thanks
    Manav

    This error related to reporting services, you need to verify that reporting services is installed on these instances.
    Secondly, you didn't need to create this instance manually then setup monitoring role. delete this instance from shared storage and try again to setup rule using different instance name and it will create automatic on shared storage.
    You can also refer below link
    http://windowspbx.blogspot.com/2012/07/aaa-donotpost-install-lync-standard.html
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"

  • Cannot deploy a shared library from jdeveloper to oracle webcenter spaces

    Hi guys,
    i used oracle jdeveloper 11.1.1.6  with extendwebcenterspaces workspace. I use WebcenterSpacesSharedLibExtension project.
    I have deployed with jdeveloper directly to webcenter by using a connection and deployed as shared library.
    Afther that i used DesignWebcenterSpaces and deployed with ant scripts: clean stage  and deploy as shared lib
    I get an error on deployment:
    Redeploying application webcenter ...
         [exec] <Sep 25, 2013 1:07:10 PM CEST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, webcenter#11.1.1.4.0 [archive: null], to WC_Spaces .>
         [exec] ..Failed to redeploy the application with status failed
         [exec] Current Status of your Deployment:
         [exec] Deployment command type: redeploy
         [exec] Deployment State       : failed
         [exec] Deployment Message     : weblogic.application.ModuleException: Failed to load webapp: '/wcsdocs'
         [exec] No stack trace available.
         [exec] None
         [exec] #########################################################
         [exec] #####     ReDeploy Spaces Failed #########
         [exec] #####     Contact support with Exception Stack #########
         [exec] #########################################################
         [exec]
    Can someone help with some fix for that error?
    I want to override the login page from webcenter spaces using CustomLandingPage project
    Also, i have tried the deployment by using SampleWebcenterSpacesExtensions workspace with WebcenterSpacesSharedLibExtension project and deployed with ant scripts: clean stage  and deploy as shared lib.
    Afther that i used DesignWebcenterSpaces and deployed with ant scripts: clean stage  and deploy as shared lib
    There the deployment succeed but i get an error on browser
    The error is:
    OracleJSP error: oracle.jsp.parse.JavaCodeException: Line # 13, oracle.jsp.parse.JspParseTagScriptlet@1dbc116
    Error: Java code in jsp source files is not allowed in ojsp.next mode.
    Thank you very much for help.

    ####<Sep 27, 2013 9:44:07 AM CEST> <Error> <Deployer> <webcenter-vm> <WC_Spaces> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <11d1def534ea1be0:-3d303652:141559d6da7:-8000-000000000000112a> <1380267847678> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1380267843425' for task '20'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: '/wcsdocs''
    weblogic.application.ModuleException: Failed to load webapp: '/wcsdocs'
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:395)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.operations.RedeployOperation.createAndPrepareContainer(RedeployOperation.java:104)
        at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:128)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
        at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@21596057[app:webcenter module:/wcsdocs path:/wcsdocs spec-version:2.5 version:11.1.1.4.0]", defined in weblogic.xml [Extension-Name: custom.webcenter.spaces, exact-match: false]
        at weblogic.servlet.internal.WebAppServletContext.processWebAppLibraries(WebAppServletContext.java:2750)
        at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:416)
        at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:494)
        at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
        at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
        at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.operations.RedeployOperation.createAndPrepareContainer(RedeployOperation.java:104)
        at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:128)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
        at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >

  • File download from a portletized ADF app running in webcenter spaces.

    Hi,
    I am having trouble downloading non static files from a portletized(with ADFPortletBridge) ADF application running as a portlet producer in Webcenter spaces .
    This is my scenario :
    Jdev : 11.1.1.3
    Webcenter : 11.1.1
    The ADF app has a query page, that uses the af:query component to do a query and display results on a table. This table data need to be exported as a file with some changes like splitting address to component city and state columns .
    The ADF app makes use of af:filedownloadlistener to get this(HTML formatted file with an .xls ext is our current preference to get it to open in excel, but could be anything) done . The ADF app works just fine, but as section 30.2.5.5 in the web center dev guide points out http://download.oracle.com/docs/cd/E14571_01/webcenter.1111/e10148/jpsdg_bridge.htm#CACBHDEF
    > The <af.fileDownloadActionListener> component is not supported.
    The actual behavior however is that the export happens when triggered, but the component keep serving up the same file it created the first time it got invoked every subsequent time. The same file is served even across sessions.
    The alternatives I've considered so far are :
    1. <af:exportCollectionActionListener> - Exports what you see on the UI table. Would not work for us, because our exported data is different than whats on screen. (eg: whole addresses are displayed as a single column, but broken down as component city and state columns in exported data )
    UPDATE : <af:exportCollectionActionListener> exhibits the same behavior as <af.fileDownloadActionListener> in a portlet environment. The first time after deployment it works, and every subsequent time (across sessions) it serves up the same file it first generated.
    2. redirect to a servlet - admittedly half baked idea - fiire an action that will generate the report, then put it in sessionScope , redirect to a servlet that would pick up the report from session and stream it to the user by setting the servlet's response content type. Very unsure if this would fly in a portlet environment (sorry, I'm new to portlets) and even if it does, section 30.2.5.2 in the web center dev guide says :
    Do not redirect or forward a request within your JSP. JSR 168 only supports requestDispatcher.include(). The use of httpServletResponse.sendRedirect() or requestDispatcher.forward() results in exceptions and errors. Am I overlooking some feature that would let me do this or whats the recommended method to achieve this functionality of exporting a file generated at run-time in a portlet environment ?
    Edited by: Jeevan Joseph on Oct 14, 2010 1:02 PM

    I'm facing the same problem. Do you have any news on this issue?

  • Edit option not enabled for workflow content from within Content Presenter in Webcenter Spaces

    I have a webcenter spaces portal page with a content presenter displaying a html page using the default out of the box template. The html page is located in webcenter content / UCM under a folder on which the " All Reviewer" seeded workflow is enabled. The issue i am seeing is when the file is in workflow the edit option is not being enabled even though the reviewer should be able to edit/approve the content in this step. The other functions like workflow approve or reject and switching between workflow version and published version are all enabled. Also when rejected the content does not show edit option from the content presenter (cntrl-C option) for the original author to make any updates.
    What would need to be done to enable editing from within the content presenter for workflow content?
    Thanks for your help

    Hi Sreedhar
    We are using WCP 11.1.1.8.5
    To recreate the issue
    1)  Login to WCC Portal: Spaces as admin user , create a New Page under a webcenter spaces portal
    2)  Under the space , Pages Section , select the page and click edit
    3) In Design mode , choose Content Management and Add Document Explorer and Add Content Presenter on the page
    4)  The Document Explorer will default to the Current Space/portal directory under MyWebcenterSpaces in UCM
    5) Create a directory "content" under the Portal space using the document explorer.
    6) Right Click on Content folder and choose details. In Details view , go to File->workflow settings and pick a seeded workflow -> MyWCSAllReviewer. Add a user as workflow approver
    7) After workflow is enabled on this folder upload a basic html page with simple text into this folder
    8) Now in the design mode choose edit in the content presenter and select the "single content view" with default template to display an Image or HTML. Click browse and select the html that was added to workflow
    9) Save the Page and view the portal. Workflow should now be enabled for any content changes to that html page.
    10) Click Cntrl-shift-c in portal/space as an authenticated user with edit access to content and make an edit to content , this will trigger worklow . The author currently will see edit option get disabled once content enters workflow
    11)  Login as approver to the portal and cntrl-shift-C to the portal and workflow options(approve and reject) are enabled but the edit option is not. If you reject content , the author should be able to edit content in the content presenter mode, this also is not available. The issue is the content is now no longer available for editing from wthin content presenter if it is in workflow to either the approver or the original author depending on workflow step. If you check the same content under the document explorer the option to edit is enabled. Is this a bug /issue with content Presenter or some option needs enabled?

  • Authentification from tow LDAP in webcenter spaces

    My customer need to open authentification in webcenter spaces for all his employees and for his partners which are saved on tow different LDAP directory.
    How can i do to allow authentification from this tow LDAP directory?
    Regards.
    CMN

    In Weblogic Console,
    Go to Security Realm - myrealm - Providers, select New
    Type your new Realm name, for example MSAD,select type ActivityDirectoryAuthentication and OK.
    In myrealm providers you'll see your new provider, click in reoder and put the new provider at first position. Do not restart server yet.
    Select your new provider, in Commom tab select Control Flag as SUFFICIENT.
    Go to Provider Specifc Tab, this is the configurantion tab, put your MSAD configuration.
    The principal field is the user that bind in your MSAD to search your MSAD users.
    User Base DN, is base that contains users.
    User From Name Filter: (&(sAMAccoauntName=%u)(objectclass=user))
    User Name Attribute: sAMAccountName.
    Apply all configurations, go to myrealm providers, select DefaultAuthentication and change Control Flag to SUFFICIENT.
    Restart you Admin and all your managed servers.
    Hope that help you.

  • Upload docs from webcenter spaces

    I have configured webcetner spaces and UCM succesfuly, i can able to list out the all the docs at webcenter spaces screen which are uploaded into ucm.
    but i am not able to upload any docment from webcetner spaces.
    It is giving the followig error
    Unable to upload the document.
    An unknown error occurred in the Oracle Content Server.
    Please help me on this

    here are the UCM_server-diagnostic logs......
    [2011-03-02T14:44:00.632+05:30] [UCM_server1] [ERROR] [UCM-CS-060003] [oracle.ucm.idccs] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 0000Itpq6c9CWrHqys7i6G1DRUiV00007W,0] [APP: Oracle Universal Content Management - Content Server] [dcid: 62ea75e77dc6bf7e:1b0c4bf3:12e75609289:-7ffd-00000000000008c7] [arg: 'olduser1'] [arg: 'CIS'] Event generated by user 'olduser1' at host 'CIS'.
    [2011-03-02T14:44:00.632+05:30] [UCM_server1] [ERROR] [UCM-CS-000001] [oracle.ucm.idccs] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 0000Itpq6c9CWrHqys7i6G1DRUiV00007W,0] [APP: Oracle Universal Content Management - Content Server] [dcid: 62ea75e77dc6bf7e:1b0c4bf3:12e75609289:-7ffd-00000000000008c7] general exception[[
    intradoc.common.ServiceException: !csUnableToCheckIn,(null)!csCheckinIDNotDefined
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2071)
    at intradoc.server.Service.buildServiceException(Service.java:2207)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2201)
    at intradoc.server.Service.createServiceException(Service.java:2196)
    at intradoc.server.DocServiceHandler.checkOrGenerateDocName(DocServiceHandler.java:5512)
    at intradoc.server.DocServiceHandler.makeNewRevClass(DocServiceHandler.java:569)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:532)
    at intradoc.server.Service.doCode(Service.java:504)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1622)
    at intradoc.server.Service.doAction(Service.java:476)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1439)
    at intradoc.server.Service.doActions(Service.java:471)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1305)
    at intradoc.server.Service.executeSubServiceCode(Service.java:3813)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1185)
    at intradoc.server.Service.executeServiceEx(Service.java:3808)
    at intradoc.server.Service.executeService(Service.java:3792)
    at intradoc.server.Service.doSubService(Service.java:3707)
    at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:549)
    at intradoc.server.Service.doCode(Service.java:504)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1622)
    at intradoc.server.Service.doAction(Service.java:476)
    at intradoc.server.Service.doScriptableAction(Service.java:3754)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
    at intradoc.server.Service.doCodeEx(Service.java:549)
    at intradoc.server.Service.doCode(Service.java:504)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1622)
    at intradoc.server.Service.doAction(Service.java:476)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1439)
    at intradoc.server.Service.doActions(Service.java:471)
    at collections.HelperHandler.executeCommand(HelperHandler.java:657)
    at collections.HelperHandler.doService(HelperHandler.java:804)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:532)
    at intradoc.server.Service.doCode(Service.java:504)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1622)
    at intradoc.server.Service.doAction(Service.java:476)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1439)
    at intradoc.server.Service.doActions(Service.java:471)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1371)
    at intradoc.server.Service.executeActions(Service.java:457)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:723)
    at intradoc.server.Service.doRequest(Service.java:1865)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
    at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:160)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Pls suggest me to reslove this....

  • Webcenter-spaces development from scratch

    Hi all,
    Can u pls guide me how to incorporate a webcenter-spaces portion into Jdeveloper from scratch.
    For example :
    How to create profile in spaces,and to manage that profile from Jdeveloper ?
    I can't able to find relevant discussion regarding this.

    What you mean by profile? You mean user profile or role? I am little confused.
    if u want to create asset see this
    http://docs.oracle.com/cd/E29542_01/webcenter.1111/e27739/jpsdg_wcsres.htm#JPSDG10087

  • Passing session parameter to a portlet from webcenter spaces page

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

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

  • Unable to reply and forward mail from discussion services in webcenter spac

    Hi All,
    I am Mustaque.
    Currently i m working on oracle webcenter 11g. I am not able to reply and forward discussion topics from webcenter spaces. Its throwing error msg :
    Failed to send the message with subject "Hi". Further information: 550 No verifiable sender address in message headers.
    Will anybody help me?
    Regards
    Mustaque

    Have you gone through the post install steps?
    http://georgemaggessy.blogspot.com/2009/08/oracle-discussions-configuration.html

  • How to Programmatically Get Preferences from WebCenter Spaces

    Hi,
    I'm developing a custom task flow to be added to WebCenter Spaces 11.1.1.4.0 (PS3).
    Spaces provides a Preferences link where a logged in user can change his/her preferences such as language, time format, date format, and time zone. I would like my custom task flow code to honor these settings.
    Can someone point me to the right API or tutorial that explains this?
    Thanks.
    Edited by: user706279 on May 6, 2011 1:15 PM

    you can refer the white paper of spaces taskflow customizaton -
    http://www.oracle.com/technetwork/middleware/webcenter/owcs-r11-custom-taskflow-wp-129672.pdf
    http://www.oracle.com/technetwork/middleware/webcenter/owcs-ps1-custom-taskflow-wp-129410.pdf
    for good resources you can use the following links-
    1)http://redstack.wordpress.com/2010/01/15/oracle-webcenter-task-flow-customization-on-your-custom-applications/
    2)http://www.cancerview.ca/webcenterhelp/faces/helppages/main.jspx;jsessionid=dJKmNLpSpnbwh2s1pkCFR1hHH91JzMxRLYSqD67mKg6hNlS8vTy1!1400254721!-365746640?vtTopicFile=wcadm%2Fwcadm_imp_exp066.htm&config=OHW+Servlet&_adf.ctrl-state=7gjirjp0b_4
    3)http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10148/jpsdg_taskflows.htm#BACJEFCE
    4)http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10148/jpsdg_app_tf_guidelines.htm#CHDIABAJ
    already another thread is created at -
    Webcenter spaces task flow customization

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

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

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

  • Deploy a custom taskflow to WebCenter Spaces

    Hi All,
    Weblogic Server: 10.3.5
    JDeveloper: 11.1.1.6
    OS: Windows 7
    I'm current trying to upload a custom ADF taskflow that i've created in JDeveloper to Oracle WebCenter Spaces. I have followed the Oracle Support Note Doc ID 1362187.1 (How to Create a Task Flow in JDeveloper and Deploy to WebCenter Spaces), it was extremley helpful but having issues extending Spaces, which includes my customer taskflow which is deployed as a library.
    Oracle WebCenter Spaces is up and running
    1) Initially that the Ant Scripts supplied does not complete successfully in particular the "Clean-Stage" and "Deployed-Shared-Library".
         Clean-Stage is now at a stage where it failed with the following error message:
    BUILD FAILED*
    C:\jdev\Sandpit11.1.1.6\mywork\DesignWebCenterSpaces\WebCenterSpacesExtensionLibrary\internal-targets.xml:77: if doesn't support the nested "isgreaterthan" element.*
    I believe it has something to do with the version of ant-contrib but can't quite get it to work. Other various blogs and posts talk about AntContrib requires version 1.5 or above, I believe jdeveloper is using 1.7.1. I'm also currently using ant-contrib-1.0b3. I've also tried using ant-contrib-1.0b2 but that doesn't work either.. So how is this Ant Script meant to work if the error message is that the IF statement doesn't support nested "isgreaterthan"?
    2) deploy-shared-lib Ant Script
    This is was major headache and still doesn't work properly. I'm current at the error message below
    No stack trace available.*
    *+[exec] Current Status of your Deployment:+*
    *+[exec] Deployment command type: deploy+*
    *+[exec] Deployment State : failed+*
    *+[exec] Deployment Message : weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\jdev\Sandpit11.1.1.6\mywork\DesignWebCenterSpaces\WebCenterSpacesExtensionLibrary\exploded\extend.spaces.webapp.war' to 't3://wcaptst01:7001'+*
    3) I kinda gave up using the Ant Scripts cleaning deploying autmatically, so i decided to create a deployment profile and deploy it the usual way. I can deploy the new shared library to the Weblogic server ok and it can see it as per Oracle Support Note DOC ID 1362187.1 but the issue arises when i try to restart the Spaces Managed Server in the Enterprize Manager... the container starts up the Spaces application will not load causing an error:
    +Caused By: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@424697505[app:webcenter module:/wcsdocs path:/wcsdocs spec-version:2.5 version:11.1.1.4.0]", defined in weblogic.xml [Extension-Name: MotoringBookServiceTaskFlowLib, exact-match: false]+*
    When i log into the Weblogic Server Console, i can see the *MotoringBookServiceTaskFlowLib* as a "Type" of Library..
    Any assitance with any of the points above would be most appreciated!
    Edited by: Eddie Phan on Jan 4, 2013 3:20 PM

    Have you created the datasource on your weblogic server? The error means that you do not have created the datasource on your server.
    based upon the name, it is the default JDev creates. Best what you can do is create a jndi name yourself and then edit the datacontrol so it will use the jndi name.
    In order to create a jndi in weblogic, go to your console:
    http://localhost:7001/console (this is for my local machine)
    From the left menu you can find the data source in "Services" => JDBC => Data sources
    Create a new one and give it a JNDI name for example "jdbc/TSTDS"
    Make sure you also set the target of the data source. If you aren't using the latest version you have to edit your datasource after creation and select the target tab and select which server you want to use the datasource on. If you are using the latest version you will be asked to select the target.
    You than have to edit the configuration of your datacontrols so they are using that source.
    Make sure you select "JDBC DataSource" and not "JDBC URL". The datasource name must be the one you entered in the JNDI field. Exactly the same, it is case sensitive.
    Hope this helps.

  • WebCenter Spaces (PS2) - Surfacing User Profile Attributes

    I'm a relative 'newbie' to WebCenter Spaces. We have PS2 (Bundle 3) installed, configured and running. I believe I have thoroughly examined the WebCenter Spaces 11g User Guide and tried various EL techniques to no avail, but I cannot determine if and how to surface the attributes contained in a user's profile. For example, can I put a user's profile photo on a group space page using the Image Layout Component? Can I surface a user's email address in a group space page using the Text Layout Component. I see that these attributes for example are used in various OOTB task flows, but I'm wondering if and how they can be used dynamically in other components specified at design in Composer.
    Hope this makes sense. Any assistance you can provide would be appreciated.

    Hi,
    I am not quite sure if this is what you want by I managed to expose the user's email by:
    *1)* Entering composer mode for a page
    *2)* Clicking "Add Content"
    *3)* Searching for and adding a "HTML Markup" component
    *4)* Clicking the "Edit" (spanner) icon for the HTML Markup component
    *5)* Entering the following for the "Value" field:
    +#{webCenterProfile[securityContext.userName].businessEmail}+
    I hope this helps
    EDIT: The way I found this was by clicking the little 'down carrot' next to any field on the edit menu of a component, then selecting "Expresion Builder". From the subsequent popup, you can choose "User Info" from the "Choose a value" drop down, then select the relevant user property in the second drop down, this will populate the text field underneath with the appropriate EL expression
    Edited by: Scott Robertson on 03-Mar-2011 19:46

  • WebCenter Spaces – Extend User Profile Page

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

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

Maybe you are looking for