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

Similar Messages

  • 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

  • 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

  • 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/Content Server: Full text searches not working

    I've setup TREX and Content Server in a sandbox environment and have been trying to get my head around DMS.  I've completed what I've believed are the required steps (outlined below) and I have submitted 12 documents of various types into the respository.  I'm able to perform meta data searches but not full text searched.  Any ideas what I might have missed?
    Much thanks!!!!
    /Greg
    0. Defined connection to TREX Server: TREX_42 (SM59); Using TREXADMIN all services are green.
    1. "Define Document Area" - DMS is present; assumed I would use this one.
    2. "Defined Indexing Readiness" - selected "Index Release" & "Classify" for DMS; set "Search Srv" to DMS_TEST
    3. "Define Content Respository" - Created Z_CR_001 and maintained it as follows:
      - Documentation Area: Document Management System
      - Storage Type: HTTP content server
      - HTTP Server:  srv-sptxd2-dal.intervoice.int  (content server)
      - Port: 1090
      - HTTP Script: ContentServer/ContentServer.dll
      - Physical Path: /usr/sap/IRD/SYS/global/
    4. "Define Content Categories" - Created ZCSSTRUCT; maintained as follows:
      - Document Area: DMS
      - Content Rep: Z_CR_001
    5. Checked CSADMIN for Z_CR_001 - All Green
    6. Went into SKPR07 (monitoring tab); entered DMS_PCD1 and "Indexing possible", "Auto indexing" and "DocArea activated" is all green.
    7. Went into SMRO
      - created SSR: "Search Server ID" = DMS_TEST, "Search engine" = DRFUZZY
      - Verified "RFC Destinations"; passed tests; all green.
    8. Went into SKPR07; using DMS_PCD1 as document class. 
      - executed "Clean up table entries"
      - deselected "Limited to selected language"
      - executed reindex. "Copied successfully from search engine"
      - Selected the created index category
      - Set the "Document area" indicator
      - execute "Trigger process"; 12 documents referenced
    9.  Going into TREXADMIN I can see the created index; however the document count = 0.  Also there is no queue created -- should there be?
    Edited by: Greg Preston on Aug 5, 2009 9:11 PM

    Dear
    this link will help you,
    TREX Architecture
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/71/b26b2bfdc4eb47ab5432e8444290ce/content.htm
    File Formats Supported by TREX
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/55/cb634114b78047e10000000a1550b0/content.htm
    Detail about TREX Configuration  (Basic to advance)
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/46/bab1d48b0a1514e10000000a114a6b/content.htm
    Regards
    Tushar Dave
    Edited by: Tushar Dave on Aug 6, 2009 9:59 AM

  • Pcs:if tag error in Content Server presentation template

    This probably isn't the right discussion group, but I couldn't find a group to which this inquiry applies.
    Anyway, I'm working on Content Server (5.0.2) presentation template code, using a pcs:if tag, that looks something like this:
    <pcs:foreach var=&#034;item&#034; expr=&#034;itemList&#034;>
         <pcs:if expr='item == &#034;Cats & Dogs&#034;'>
              Print something
         </pcs:if>
    </pcs:foreach>
    After clicking &#034;Save&#034; or &#034;Validate&#034; (to validate my code), I receive the following error message:
    Error: Expected to find an apostrophe (') ending the attribute value, and did not.
    <pcs:if expr='item == &#034;Cats & Dogs&#034;'>     // <--- the ampersand is highlighted
    In other words, the validator doesn't know how to escape the ampersand (&) inside my string (&#034;Cats & Dogs&#034;).  I've tried numerous ways to escape it, but, so far, nothing has worked.  Replacing the ampersand with &#034;&&#034; effectively changes the string, so that doesn't work either.
    Please let me know if you have a solution to this.
    Thanks,
    -Jose

    Hi,
    I am new to this field.
    Kindly bear with me & guide me how to verify the password in SM59.
    I went there,but not sure of it.Please let me know.
    Regards,
    john.

  • 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

  • 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.

  • 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.

  • Store archiving IDoc's to an HTTp content server

    Hi Guru's,
       I want to store the archived IDoc's to an HTTP content server. 
    i have created an content server on OAC2 and i dont know how to link the archived IDocs to an HTTp content server.
    I searched many forums, but i cant get the exact solution for this.
    Could anyone help me on this..  pls...
    Thanks in advance,
    murugan..

    Hello,
    I will take a final call on this - As i understand all the configuration is correct but not updating in link tables.
    I also understand system Id is ok as PO and IDoC are working.
    In Content repository creation for PO & IDoC you will be taking document area as Data Archiving but for Printlist content repo you have to select ArchiveLink.
    If you have done above then check connectivity and send the certificate
    In your Archive server (IXOS, EASY, DOCUMENTUM or so on ) Check same content repository is properly configured.. if possible refresh it. Check for certification from SAP.
    You are facing connectivity issue so cross check carefull all archive server level.
    Lastly check oss note
    Let us hope for the best.
    -Thanks,
    Ajay.

  • Upgrade Content Server from 6.10 to 6.40

    Hello folks
    our customer is planning to upgrade its SAP Content Server (for DMS) from version 6.10 to 6.40 ...what is the best way to do this upgrade ?
    Do we have to install the 6.40 first ? then relocate all documents ?
    (our customer has a high volume of original files and require that there is minimum disruption in availability of the Content Server)
    I have searched in documentation of Content Server but nothing said on the upgrade part
    Any help is most welcome
    thanks

    Hi Sooriya,
    As you know, the Content Server 6.30 and 6.40 are both a part of
    the NetWeaver 2004S SR1 package.
    The 6.4 release is available for download via:
    Download
    Installations and Upgrades
    SAP NetWeaver
    SAP NETWEAVER
    SAP NETWEAVER 2004S
    50078731_2 NW 2004s SR1 Presentation - SAP Content Server 6.40
    In my opinion, I don't think there is direct upgrade to 6.40 from 6.10, and it should be NOT recommended.
    I would suggest you to do a fresh installation via SAPinst installer.
    See this link
    http://service.sap.com/ContentServer
    >>Media Library
    >>>>Litrature
    Regards,
    Vincent

  • Error Displaying Portlet Preview created from Content Server templates

    I created portlet from content server announcement portlet template.Whet put on the page this portlet shows the following error message:
    Error Displaying Portlet Preview.Error Getting Content from Portlet.
    Same error with portlet created from the news template.

    If the link exists in TOA01, why is the dosumnet not visible ? When i use the Function Module ARCHIVOBJECT_DISPLAY, i get the error -
    Error when opening document with HTML control:DP_ERROR_GENERAL
    Can someone please let me know what are we doing wrong ??

  • MS Word Template in Content Server

    Hi, we have this problem.
    we have a Z transactions asking the user to give some data and save it in a table with key number, the user can attach several documents (.DOC) from local pc and transaction use content server to store these documents and linked it to the data stored in table via the key document. all of this is working fine. we are using  ARCHIVOBJECT_CREATE_FILE and ARCHIV_CONNECTION_INSERT functions to save this file in content server and link the document to the key number.
    now we are trying to make the transaction open a  MS  word template , the user fill the word document and when its done the transaction save it in content server
    some can give some help to do this?
    we are searching a way to :
    1.- store a Ms Word template in SAP
    2.- Open this MS Word template with a button in the  Z transaction.
    3.- Let the user fill the template .
    3.- save the document filled in content server without change the original template and linked to the data with the same key number.
    thanks.

    All catch is to insert table in the correct level of xml schema.
    1. So you first need to insert add elements to the template until you reach the element that you want to use in the table. For example if you want to display items of orders, this level would be Transactionhistoryofheader - Btdocflowall - Item
    2. After that you would insert table with 2 rows and as many columns as you need.
    3. The first row of the table is used for column headers. You can type in freely any text you want to display in column headers.
    4. The second row of the table is for the entries themselves. In the second row you have to add elements from the xml schema that are in the lower part of the element under which you inserted table. For example, under Transactionhistoryofheader - Btdocflowall - Item are then next nodes Btorder - Administrationheaderoneorder - Description. So in this case in first column will be displayed descriptions of all entries.
    5. At runtime rows are added dynamicly depending on actual number of entries.
    Regards.

  • Fetch XML from Content server to Portlet and display as HTML

    Hi,
    I want to fetch the XML from the content server and display that XML in the Weblogic Portlet as HTML.
    The main reason is that data will be contributed by the users in UCM and then I had to get that data from content server and display in portlet
    Please Help........
    Thanks,
    Vinod

    Vinod:
    Probably what you're looking for is to bring the content over using the UCM SPI adapter for WLP's VCR:
    [http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/ucm_adapter/intro.html]
    And then to display the content using a custom template using Content Presenter:
    [http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/displaytemplatesCM.html]
    [http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/development.html]
    When you say you want to fetch xml, is that because it's a contributor data file? You can either read the property values directly from the VCR, or use the info you get from the node (such as dDocName) to then use a UCM/WCM web service to retrieve formatted content and put it in an iframe. There are a lot of ways to go in formatting the data.
    You can even add edit capabilities to your Presenter template by calling the 'edit data file' web service of WCM.

  • Content Server News Portlet major design flaw ?!

    I ran into a Content Server 6.1 issue which is really frustrating me. I am wondering if I am doing something wrong or if it is a design flaw: 1. I created a content server news portlet "out of the box" and added it to my MyPage.2. I created and published 2 news articles.3. I edited the 1st article and just saved it. I did NOT PUBLISH it.4. I edited the 2nd article and PUBLISHED it. The news index is re-published automatically to reflect the changes of the 2nd article which has been published. But the index now displays the changes of BOTH articles, even the unpublished! Furthermore the 1st article can't be opened from the index anymore if the name property has been changed. As the published file name changes with each version and especially when the name is updated, the news index links to the new published file name - but it has never been created as I didn't publish the 1st article! I understand why this is happening: The index content item holds a list of all article content items and is published whenever an article is published / deleted / expired. But until now I thought that content server is holding the last published version and includes this into the list until a new version is published. That's not the case! Imagine this on a production environment with workflow activated: one article was approved and published while the other still needs to be reviewed, but it's (unreviewed) index data like headline etc. is already displayed in the index?! And in worst case the article can't even be opened. You just get the server error "page not found". Many of my content items for a current big project follow the idea of the news template, e.g. HR Staff Overview (persons = articles, overview = index), so I am kind of stressed by what I found out. Has anybody made similar a experience and found a workaround for this? Perhaps one of the support people could explain how the news portlet is intended to be used with this severe behaviour? Am I expecting too much? Is updating an already published article not possible? But why are version mechanisms included for content items then? I appreciate your comments. Thanks.

    Thanks for the quick reply.
    We are using Content Server 6.1 with all Hotfixes installed and we are not planning to upgrade to G6 at the moment.
    As far as I understood the 'filtered.published' property contains the date the content item was published the last time. So it will always be 'true' if the item has been published in the past, no matter if it's currently published or not.
    The index template with the code snippet you sent will display the currently not published (but changed) item properties whenever another item was published. Have you changed the design in 6.2 so that properties of an item in a list property of another item are just copied and not linked?
    As a workaround I now compare the 'modified' property with the 'published' property and if it is greater or equal I don't display it in the index. But that's not the way Content Server was designed to behave, is it? With this solution I can suppress the item in the list if it has been modified after the last publishing, but of course I rather want to have the data of the last published version.
    Isn't that possible? Is it possible in 6.2? Is there any way to update Content Server to 6.2 without acquiring G6?
    RegardsStefan

Maybe you are looking for

  • Using an animation-friendly codec for decoding DVDs to MP4

    Hi, I have some purchased cartoon DVDs that I'd like to convert into MP4s for travel purposes etc. Using Handbrake has resulted in a lot of artifacts, and I wonder if using an animation-specific codec would give better results - not to mention smalle

  • How to test if Spam protection with Forefront for Exchange 2010 works

    Hi there. Installed forefront for exchange 2010 on Exchange Edge server. We have tested virus protection with creating EICAR, but the question is, is there a way to check if SPAM Works fine, and how to? with best regards bostjanc

  • .mac and phone sync not working!! Endless sync that endsin error

    Sync with .mas takes an age but ends in error, still the isync icon in the menu bar continues to turn. Likewise the isync function to sync with my phone which previously synced seemlessly and without issue is doing the same. It's not establishing a c

  • Smtp out on yosemite

    I need the proper settings for the smtp out using Apple Mail Client version 8.3 on yosemite.  I can receive mail, but can not send mail.  I've tried various configurations, including the ones offered by BC on the "Setup Mac Mail on Yosemite", but the

  • Iphone will not let me select "don't use icloud"

    I downloaded 5.0.1 software to my iphone and am going through the set-up menu. Under "set up icloud" it will not let me progress with set up if I select "don't use icloud". I don't want to use icloud but the "next" button will not function unless I s