Searching multiple Content Server Portlets

I am able to search single Content Server Portlet and get results using following lines of code.
IPTSession ptSession = new InProcSession();
ptSession.Connect(AppSettings.PTUserName(), AppSettings.PTPassword(), null);
IPTSearchRequest ptSearchRequest = ptSession.GetSearchRequest();
ptSearchRequest.SetSettings(PT_SEARCH_SETTING.PT_SEARCHSETTING_APPS, PT_SEARCH_APPS.PT_SEARCH_APPS_CONTENT);
ptSearchRequest.SetSettings(PT_SEARCH_SETTING.PT_SEARCHSETTING_ASSOC_PORTLET_ID, 10468);
IPTSearchQuery ptSearchQuery = ptSearchRequest.CreateBasicQuery(query, null);
IPTSearchResponse ptSearchResponse = ptSearchRequest.Search(ptSearchQuery);
return ptSearchResponse;
However Type Cast exception comes at run time when we pass array containing multiple Portlets ID although code gets compiled
IPTSession ptSession = new InProcSession();
ptSession.Connect(AppSettings.PTUserName(), AppSettings.PTPassword(), null);
IPTSearchRequest ptSearchRequest = ptSession.GetSearchRequest();
ptSearchRequest.SetSettings(PT_SEARCH_SETTING.PT_SEARCHSETTING_APPS, PT_SEARCH_APPS.PT_SEARCH_APPS_CONTENT);
int[][] ar = new int[2][];
int[] int1 = new int[]{ 0, 10468 };
int[] int2 =new int[]{ 0, 23757 };
ar[0] = int1;
ar[1] = int2;
ptSearchRequest.SetSettings(PT_SEARCH_SETTING.PT_SEARCHSETTING_ASSOC_PORTLET_ID, ar);
IPTSearchQuery ptSearchQuery = ptSearchRequest.CreateBasicQuery(query, null);
IPTSearchResponse ptSearchResponse = ptSearchRequest.Search(ptSearchQuery);
return ptSearchResponse;
It will be quite useful if anyone of you can help us if Plumtree API support this. Or else we need to build another layer to search each Portlet and merge results.
Platform Details:
Plumtree Portal 5.0.4
Content Server 6.1
Regards
Kishore GVK

Hi Praveen,
I have not done portal configuration for SAP DMS. But as per the link below, you can assign multiple SAP DMS repository managers which can refer to separate content servers.
http://help.sap.com/saphelp_dimp50/helpdata/EN/32/2a840d132af04fa2f0b31ebf3e8a78/content.htm
Wait for other expert comments if they can answer your query.
Regards
Amit

Similar Messages

  • Dynamically Updating Content Server Portlets

    [urlHi, I am currently having difficulty dynamically updating content server portlets.  I have a portlet of the following form:[/url]
    ArticleName Author Title Date mystory author1 title1 04/05/01
    story2 author2 title2 06/07/04
    story author3 title3 01/02/03
    So I have this table where each one of the line items is an article in the content server. So, for example the first line item is an article "mystory" by "author1", with title "title1" and date "04/05/01" additionally there is an article text field, but this isn't displayed unless I click on the article name.
    I can set up the basics of this portlet, but when I try to add any real functionality I run into one of two problems.
    First Problem: Passing Information
    I cannot find a way to pass information between content portlets. For instance, if the user would like to "re-sort" this table based on "date", I would like to have the user click on the "date" column heading and then reload the page. To do so, I would have to pass the section name back to the page so that it could resort based on this data. I have not found anyway to effectively pass information to a content server portlet. I am building these pages through use of the presentation template framework (so I can have access to the content items) but that seems to change the way portlets are handled.
    I got around this limitation with a regular portlet by creating an intermediary page which captures passed information and stores it to the session state. Once the information was in the session state, it is accessible to the portlet on the first page. However, this only works because remote portlets do not change their session id once loaded. Content Server portlets, on the other hand, change their session id after every reload of the browser or page change. I can send information from a content server portlet to an intermediary page, but I cannot send it back to the portlet because the session id has changed so I have no idea of knowing where to send the information. I can write it to a session state, but by the time I return to the portal page, the content server has changed its session id so it does not know where to look any longer.
    I suppose it would be possible to create an application state variable and append it with some static token (if there is some static variable per portal session) but I would rather not have to deal with application variables if at all possible.
    Second Problem: Dynamically Updating PCS Tags
    Even if I were able to the pass information back to my content server portlet, I run into another issue. The easiest way to sort content server items is using the filter command in the pcs:foreach tag. So, if I wanted to sort by author name, I could do something like the following <pcs:foreach var="item" expr="filter(folderByName('content'), filtered.name == '"name")" or something like that (the syntax may be incorrect, I just wrote this off the top of my head). However, it appears that the way the presentation templates are compiled goes in the order of PCS tags THEN JSP. So I would have no way of dynamically changing the variable on which I sort. For example, if I clicked on "Date" above in my table, I would like to be able to dynamically change my code so that I sort on date, and not name. I cannot find a solution to this problem.
    My workaround is to use the pcs tags to write out all the possible sortings to java array objects. This gives me access to the data on a JSP level and based on whatever the user will chose, I could then display that array. While this works, it is extremely ghetto and inefficient. Any help or suggestions would be fantastic.
    Thanks a lot,
    Jason Grauel

    You can use just about any javascript you want in any Content Server presentation template including ones that are used for portlets.
    However, you should be careful to name javascript functions and global variables uniquely so that they do not conflict with any other javascript on the page. To do this, you can append the item id to function and variable names, for example,
    function doSomething<pcs:value expr="pcs_id"></pcs:value>() {
    return true;
    Randy

  • Multiple Content Canvas Portlets

    I read that it was possible to have multiple Content Canvas portlets on a page. I have a community page that I am trying to add multiple Content Canvas portlets to but it appears that only one can be selected. Can you tell me how to set up more than one content canvas portlet?
    Thanks! Mike

    Steve,
    I have a web based application that is using adaptive portlets. The two portlets I am trying to load into the canvas space are both ways of filtering data. The results should be displayed in the main part of the page. I had read that this was possible. If that is not true then I can work a different solution.
    Mike

  • Content Server Portlet Template Searching

    I am trying to use the Community Directory Portlet Template. I basically used it as it came (no editting of templates). I created a couple of folders and added & published content items in those folders.
    The problem is that the Search within the portlet is not returning anything (even searching for '*') returns nothing.
    Is there some setting I missed or something? I've tried publishing the whole folder from Content Server Explorer and still no luck. Searching for text in the published items from the Content Server Explorer does work, but searching from the portlet does not.
    Thanks.

    Hi Raj ,
    ORA-01013: user requested cancel of current operation error comes up usually in 2 cases :
    1. When CS is losing DB connection intermittently
    2. DB is timing out with the queries being fired from the UCM
    Add the config variable DatabaseConnectionKeepAliveInterval=300 (for SCS to send Keep Alive Packet to the network so that the connectio drop is avoided)
    The value provided is ins secs.
    Secondly drop / rebuild the indexes for the following tables :
    DOCMETA , COUNTERS, DCOUMENTS , REVISIONS
    Then execute the statistics procedure on the DB so that all the indexes are updated with the latest db stats.
    Test to see if the issue still persists.
    Hope this helps
    Thanks
    Srinath

  • Content Server Portlets Not Displaying

    Help!
    We're running Portal v5.04, Java under Windows, Content Server v6.0, Tomcat v4.1.31. Multi-machine installation...
    After logging into the portal as Administrator (or some user with admin privileges), we get an error where the Content Server Administration portlet is placed saying "Content Administration cannot be displayed due to an unknown error.". Get the same thing with any other Content Portlet...
    This installation was fine beginning of last week, but started showing this problem late in the week. All of the diags I know of for testing Content, Collab, and Studio (all installed on the same server) show all greens. Tried looking at logs - nothing. Tried PTSpy during login (portlet is on "My Home" page - should display automatically) - nothing remarkable.
    We have multiple admins, and it's possible that something was changed (unbeknownst to me). Frustrated and not sure even where to start looking for a solution to this. Any Ideas?
    Thanks!
    Mike Sanders, LLUMC

    The fact that bouncing EBS fixes the issue temporarily indicates that the problem is most likely on the EBS end, but we haven't encountered that specific issue. What OS are you using to host EBS? Are you purging the J2EE cache when you bounce the services?
    Feel free to reach out to Anne or myself if you'd like to dive into this. We could test with an alternate content server to see if that helps isolate the problem.
    Best,
    John Hobart

  • Case-Insensitive Searching on Content Server

    Hello everyone,
    I have a Content Server 10gr3 using an Oracle 11g DB. All of my searches are case sensitive, but we need case-insensitive searching. I've tried changing the DatabasePreserveCase variable in the config.cfg to 1, 0, true, and false, rebuilt the indexes in between each reboot (not sure if that's necessary or not), tried checking in new documents after making the changes and searching for those, but no matter, searches stay case sensitive.
    We have another UCM install running on a 10.2.0.3.0 DB, and case insensitivity works on that Content Server with DatabasePreserveCase=1.
    What could we be doing wrong? I've found several documents which have stated that case-insensitivity is impossible with an Oracle DB, but I think those are all old and from before Oracle's acquisition of the product (and obviously it is possible, since we have another install with it working).
    Thanks in advance for any help you can give!

    I'm not quite sure what you mean by Search Engine... we simply installed the Oracle 11g Database, then installed Content Server and configured it to run using that database. We haven't done anything with full-text search.
    Edit: Do you mean the SearchIndexerEngineName value in the config file? It's DATABASE.METADATA, though at some point we also need to get full-text up and running which to my understanding requires it to be DATABASE.FULLTEXT.
    As to the OracleCaseInsensitiveSearch component, where can I find it? Google shows up nothing, and MetaLink has one page saying that it exists but nothing more...
    Message was edited by:
    user573973

  • Oracle Text Search Enabling, Content Server does not start

    We are trying to enable Oracle Text Search in UCM 11g that uses 11g Database. We followed instructions to add parameter 'SearchIndexEngine=OracleTextSearach' to config.cfg and restart content server. Content server doesn't come back up with the following error showing up:
    Are there any extra steps to follow to enable Search Indexer Engine?
    <Apr 27, 2015 4:50:29 PM PDT> <Error> <oracle.ucm.idccs> <UCM-CS-050021> <Oracle WebCenter Content failed to initialize inside its servlet environment.>
    <Apr 27, 2015 4:50:29 PM PDT> <Error> <oracle.ucm.idccs> <UCM-CS-000001> <general exception
    intradoc.common.ServiceException:
            at intradoc.server.IdcServerManager.init(IdcServerManager.java:259)
    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:627)
    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:457)
    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:104)
    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 idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:88)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    at idcservlet.ServletUtils.initializeContentServer(ServletUtils.java:1259)
    at idcservlet.ServletUtils.startAndConfigureServer(ServletUtils.java:531)
    at idcservlet.ServletUtils.initializeAllServers(ServletUtils.java:460)
    at idcservlet.IdcFilter.initContentServer(IdcFilter.java:181)
    at idcservlet.IdcFilter.init(IdcFilter.java:156)
    at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)
    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1877)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3174)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1527)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:187)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:379)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: intradoc.data.DataException: !csSearchIndexerEngineNotExist,DATABASE.ORACLETEXTSEARCH
    at intradoc.shared.CommonSearchConfig.createDataException(CommonSearchConfig.java:2580)
    at intradoc.shared.CommonSearchConfig.setCurrentConfig(CommonSearchConfig.java:1041)
    at intradoc.shared.CommonSearchConfig.init(CommonSearchConfig.java:178)
    at intradoc.server.SearchIndexerUtils.initSearchIndexerConfig(SearchIndexerUtils.java:64)
    at intradoc.server.IdcSystemLoader.initSearchIndexerConfig(IdcSystemLoader.java:1338)
    at intradoc.server.IdcSystemLoader.loadCaches(IdcSystemLoader.java:1255)
    at intradoc.server.IdcServerManager.init(IdcServerManager.java:141)
    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:627)
    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:457)
    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:104)
    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 idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:88)
    at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
    at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
    at idcservlet.ServletUtils.initializeContentServer(ServletUtils.java:1259)
    at idcservlet.ServletUtils.startAndConfigureServer(ServletUtils.java:531)
    at idcservlet.ServletUtils.initializeAllServers(ServletUtils.java:460)
    at idcservlet.IdcFilter.initContentServer(IdcFilter.java:181)
    at idcservlet.IdcFilter.init(IdcFilter.java:156)
    at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)
    at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1877)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3174)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1527)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:489)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:672)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:187)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:379)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:31)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    <Apr 27, 2015 4:50:29 PM PDT> <Error> <ServletContext-> <BEA-000000> <There is an initialization failure during start up of UCM.>
    <Apr 27, 2015 4:50:29 PM PDT> <Error> <ServletContext-> <BEA-000000> <Could not start server of type 'server' at default relative web root URL 'cs'.
    javax.servlet.ServletException: Could not start up IDC server deployment.
    at idcservlet.ServletUtils.initializeContentServer(ServletUtils.java:1268)
    at idcservlet.ServletUtils.startAndConfigureServer(ServletUtils.java:531)
    at idcservlet.ServletUtils.initializeAllServers(ServletUtils.java:460)
    at idcservlet.IdcFilter.initContentServer(IdcFilter.java:181)
    at idcservlet.IdcFilter.init(IdcFilter.java:156)
    Truncated. see log file for complete stacktrace
    Caused By: java.io.IOException: Oracle WebCenter Content failed to initialize inside its servlet environment.
    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:139)
    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)
    Truncated. see log file for complete stacktrace
    Caused By: intradoc.common.ServiceException:
            at intradoc.server.IdcServerManager.init(IdcServerManager.java:259)
    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:627)
    at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:457)
    at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:104)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Truncated. see log file for complete stacktrace
    Caused By: intradoc.data.DataException: !csSearchIndexerEngineNotExist,DATABASE.ORACLETEXTSEARCH
    at intradoc.shared.CommonSearchConfig.createDataException(CommonSearchConfig.java:2580)
    at intradoc.shared.CommonSearchConfig.setCurrentConfig(CommonSearchConfig.java:1041)
    at intradoc.shared.CommonSearchConfig.init(CommonSearchConfig.java:178)
    at intradoc.server.SearchIndexerUtils.initSearchIndexerConfig(SearchIndexerUtils.java:64)
    at intradoc.server.IdcSystemLoader.initSearchIndexerConfig(IdcSystemLoader.java:1338)
    Truncated. see log file for complete stacktrace

    Can you let us know the config.cfg entry in your Environment for SearchIndexerEngineName.
    Is it SearchIndexerEngineName= DATABASE.ORACLETEXTSEARCH ? It should be as below
    SearchIndexerEngineName=ORACLETEXTSEARCH

  • JavaScript and Content Server Portlets

    Header, footer, news, custom, doesnt matter. Can you use javascript in them and if so, to what extent? For mouseovers, animation, div tag management and manipulation, etc...

    You can use just about any javascript you want in any Content Server presentation template including ones that are used for portlets.
    However, you should be careful to name javascript functions and global variables uniquely so that they do not conflict with any other javascript on the page. To do this, you can append the item id to function and variable names, for example,
    function doSomething<pcs:value expr="pcs_id"></pcs:value>() {
    return true;
    Randy

  • TREX search in Content Server

    Hey
    I have a problem making TREX search for documents in my content server. I have made some Content Repositories where i want to perform my search.
    What I have done so far, is to make a CM Repository for the Content Repository with Persistence Mode = DB and the Repository ID in Database = The repository i want to use in Content Server.
    Then I have added this CM Repository to a index and restarted the servlet engine. When i search for the documents, I get no hits. I know there is nothing wrong with my TREX, cause i can search on File System Repositories.
    Have i missed anything? The Content Repository is up and running, and i get successsfully on every test.
    Please hit me back!
    Best Regards
    Kristoffer Engh

    Hi,
    Creating an Index
    http://help.sap.com/saphelp_nw2004s/helpdata/en/73/66c090acf611d5993700508b6b8b11/frameset.htm
    Before doing that you should check TREX Server Status:
    System Administration->System Configuration->KM->Index Administration->Related links->TREX Monitor
    If the status is ok, then create the index, assign data source (point your repository), define kind of service (search, search and classification, classification) and define scheduler.
    Then in Index Monitoring you can check status of the index.
    Also, in TREX Monitor you can display Queves and check status of the documents.
    Patricio

  • Searching Multiple Content Types

    What is the best way to do an attribute search across multiple content types that may or may not have the same attributes? I've subclassed the document type to create an image type like they have in the examples. I would like to do a search across the name attribute of the document and the height attribute of the image. The results I get is the cartesian product of the two classes which is not very useful. Is there a way to do this?

    Hi,
    According to your description, my understanding is that it displayed only the first eleven content types after you set up multiple content type in your libraries.
    I have created lots of content types and added them to library and it worked fine.
    Please check the configuration of the content type order in library settings -> Change new button order and default content type, and provide the screen shot about is.
    Please add multiple content types you created to other libraries and other libraries in other site collections and test whether this issue occurs.
    Best Regards,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Search Multiple Content Areas

    We are running portal version 3.0.9.8.5 and would like to include 2 content areas in the search results. Right now we have the ability to search all or one content areas but not multiple.
    Is this functionality feasible?

    The search engine is not set up to tackle more than one (but not all) content areas in 30985. so even with your own search screen this is not feasible. This functionality will be available in the next major release.

  • Content Server not working after 5.0.2 upgrade

    We upgraded the plumtree to 5.0.2. After upgrade, content server portlets not working properly. When I publish my portlet, Interface says it is published, HTML file generated at the published location, but log says
    com.plumtree.search.UnknownTypeException: IndexManager.enqueue() : Could not find PTDocMaker for key PTCONTENT
    Portlet displays
    Error: No Url is available for this portlet. It may not have been published.
    Any Idea ?

    Hi Ravi, from the Release Notes for Content Server 5.0.2, there's this note "Publish Dialog does not show any error when search index fails but an error "com.plumtree.search.UnknownTypeException: IndexManager.enqueue() : Could not find PTDocMaker for key PTCONTENTTEMPLATE" is recorded in pcs.log. (Issue #27541) "
    So you should make sure that the search server is running (just by doing a banner search). Assuming that's fine (it probably is), the likely culprit is an installation problem. Check the Content Server pcs.log file (located in PT_HOME\ptcs\5.0\settings\logs) for any error messages related to search api initialization. This cryptic error you're observing occurs when the search api initialization fails for some reason, the error is not gracefully caught and surfaced to the user. The pcs.log file may give a clue.

  • Content Server not working correctly

    Hello,
    I am having problems with my Tandberg Content Server. For several years, we have used the Tandberg Content Server (TCS) in combination with our Tandberg Management Server (TMS) to schedule and record video conferences. I schedule 60 video conferences a week to roughly 20 rooms, using the TMS. Of these, about 14 video conferences per week are recorded.
    Originally, I only had one recording alias on the TCS set up, and it worked fine. But I recently added a second recording alias, due to the growing number of requests for recordings of the video conferences. It seemed to go okay.
    Now, however, the Content Server isn't working quite right. It will record two different video conferences at the same time, but once it's finished encoding them, the link that you get to send to people is messed up: often (but not always) the link merges two seperate video conferences together in one video. Two one-hour video conferences will be merged together in one two-hour recorded conference.
    The problem only occurs with video conferences that occur at the same time. Strangely, if I search the Content Server's F drive, under Data/Media, the recordings are all there, and they are seperate. They are only joined together on the Content Server link.
    I have made sure that we are indeed recording on seperate recording aliases.
    Because the videos in the Data/Media bin are always labled something like O1110292903-0593923929.wmv, I can use guesswork to reconstruct a valid URL to get a working link, but it's a lot of extra work: I want to be able to log in to the Content Server admin interface and be able to send someone a link in a few minutes.
    Any ideas on what's going wrong? I created a trouble ticket with Cisco earlier in the week, but have not heard back from Cisco tech support, so I thought I'd open it to the Cisco community.

    HI Ron.  Good morning.  Since our webex the last time, I do believe we can use participant templates in the mean time until we find out whats going on when using TMS this way.  When using the recording drop down and all the systems aren't registered to Gatekeeper seems to be the trigger here, but to get you running, this is what I propose we try and do here. 
    You may have to purge the Content Server out of TMS so TMS doesn't "know" about the IP address of the Content Server. 
    You will have to examine your routing and preferred MCU in routing here, and make the two changes:
    Administrative Tools>Configuration>Conference Settings.  All the way at the bottom you will see:
    I had to change this to Always and Preferred MCU type in routing to MPS.  This is logical since this is the only MCU you have and you need the MCU in each booking (from my understanding of what you said during the webex).
    So:
    1) Jot down all the conferences that have the Content Server involved, and remove the recording from each conference.
    2) Purge the Content Server from TMS.
    3) Add participant template with just the IP address of the content server: Booking>Participant Templates and build one like shown below.  The number field should be the address of the content server and IP zone should be IP zone for your system. 
    Go ahead and save the template. 
    Make booking with this template and another endpoint (don't add the MPS since it should automatically).  Check the connection settings and the MPS should be call the IP of the TCS and the other endpoint. 
    Click Save conference. 
    If the conference saves ok, build another with a different room and same template again, and click save conference. 
    The caveat is that when calling the IP of the TCS, the TCS will use what you have configured as the default recording template under Configuration>Site Settings
    Just choose which one you want to use all the time if you can. 
    The way it shows on the TCS is:

  • Cache server-Content server

    Hi,
        1. What is the procedure to copy originals from local content server to central content servers located at different geographical locations. (There is a report  SAPKROTP, but i am unable to execute it). Even if copy it, will it display in DIR as two different files.
       2. About Cache server : As name implies it is a temp storage and based on reference from SAP help and few other documents, it is very clear that documents cannot be checked in cache server. Also We are not defining cache server in OAC0 and OACT settings. Hence Can we check-in originals in cache server?.
         If any of you have worked with multiple caching and multiple content server distributed environment, please mail me the document. My mail id is [email protected]
    Prasanna
    <b>Points will be awarded for useful answers</b>

    Hi Prasanna,
    A Cache Server is used to store copies of documents when they are accessed for the first time. As a result, the documents can be accessed again more quickly, since the contents are taken directly from the Cache.
    With Cache the Originals documents are stored in one location on content server. The copies in the cache can be replaced with newer content at any time.
    The Original document will still be located on the Content Server
    The Content Server can Retrieve the cache Content at any time
    As earlier i had told you that any number of content servers can be installed in different locations. The contents are transferred directly b/w the client & content server. If the Content server are accessed from different locations that are linked via WAN cache servers should be used.
    You need to install one Cache Server at each location on WAN for enhancing the performance & Reducing the traffic in Network. So Cache server is used only for speeding up accesses of documents stored.
    For Customizing the Multilayer Cache Servers & Content Servers follow this SAP NOTE <b>0216419</b>
    Hope following this Note will help you & solve your problem.
    Regards
    Rehman
    Reward Your Points If Useful

  • Weird Error from Content Server

    We are using Apache-Tomcat, I have built some content server portlets that display images, if I use .jpg's I get these strange errors, I have seen them when using bitstreaming on other Non-content server portlets, my solution was to use png's. Creating PNG's for this particular content server portlet is not an option, anyone seen this error: Plumxoac1f

    CH,
    Not I do not have a colition to this, but it has not happened to me in a while.
    Good Luck with this and hope someone chimes in to help you.

Maybe you are looking for