Using PRC to Search Community Knowledge Directory

The EDK Version is 5.1Will the PRC search the community knowledge directory? I have a folder in a community knowledge directory. The ID of the folder is 220 and it contains a number of links. Again, it does not appear that the Search.PRC allow me to return the contents of this folder. Would you happen to have any sample code to perform this task?

Edited by: user11244575 on Oct 26, 2012 12:34 PM
Edited by: user11244575 on Oct 26, 2012 12:34 PM

Similar Messages

  • Viewing group members in Community Knowledge Directory

    Does anyone happent o know the permissions requried to allow users to view the members of Groups listed in the members folder of a Community Knowledge Directory?
    This ability is currently only available to members of the Administrators group but we'd like other community members to be able to list the individuals belonging to a group membership as listed in the Community KD. All users can view the list of group memberships but the groups are only hyperlinked enabled for members of the portal Administrators group
    thanks

    In its current form, the Search: This Communityfunctionality isn't very conducive to our needs. Along the same lines as Jeffrey, we'd like to be able to limit the types of objects the community searches return. (For info on what objects are returned by community search, check out this KB article: http://portal.plumtree.com/portal/server.pt/gateway/PTARGS_0_282292_575916_0_0_18/items_returned_by_community_search.htm)We'd like to return only documents and document folders manually added by the community owner to the Community Knowledge Directory and exclude users and communities and other types of objects from the Search: This Community results. I'm also hoping there's some kind of config file that sets which types of objects to return or turns certain portions of the Community KD on or off. Plumtree, can you provide info?
    Regards,SarahCox Enterprises

  • Disable Community Knowledge Directory

    Where's the "Disable Community Knowledge Directory" stored in the database level. I need to update the checkbox for all communities to disable them, is there a way to do this using the EDK.

    That flag is stored in the database in the PTOBJECTPROPERTIES table encoded in XML like this:
    <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve">< I N="SITEMAPDISABLED">0< /I></PTBAG>
    BEA wouldn't condone this, but the easiest way to do this quickly is:
    update ptobjectproperties set properties1 = '<?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve">< I N="SITEMAPDISABLED">1< /I></PTBAG>' where classid = 512
    You definitely can't do this the EDK. You could write some native code to do it, but it wouldn't be worth the effort.
    HTH,
    Chris Bucchere | bdg | [email protected] | www.bdg-online.com

  • Community Knowledge Directory

    Hi:
    I know I must be overlooking something simple, but I would appreciate some insight from the Plumtree community. I would like to 'turn-off' the "Members*" and Subcommunities*" links within the 'Community Knowledge Directory'.
    I'm hoping that there is an admin function or setting in XML that controls this. Has anyone run across a way to make the two links disappear?
    Thanks,
    Jeff.

    In its current form, the Search: This Communityfunctionality isn't very conducive to our needs. Along the same lines as Jeffrey, we'd like to be able to limit the types of objects the community searches return. (For info on what objects are returned by community search, check out this KB article: http://portal.plumtree.com/portal/server.pt/gateway/PTARGS_0_282292_575916_0_0_18/items_returned_by_community_search.htm)We'd like to return only documents and document folders manually added by the community owner to the Community Knowledge Directory and exclude users and communities and other types of objects from the Search: This Community results. I'm also hoping there's some kind of config file that sets which types of objects to return or turns certain portions of the Community KD on or off. Plumtree, can you provide info?
    Regards,SarahCox Enterprises

  • How to determine if the current page is a "Community Knowledge Directory"

    I am creating a new Navigation Scheme and I was wondering if anybody has figure out how to test to see if the current page the user is on is a "Community Knowledge Directory" page or not. What I am trying to do is display a different background color when the user lands on a page in a horizontal tab navigation. I've noticed that there is a control=SetSiteMap in URL when ever the user lands on the Community Knowledge Directory. Is that what I should be checking for?

    I am creating a new Navigation Scheme and I was wondering if anybody has figure out how to test to see if the current page the user is on is a "Community Knowledge Directory" page or not. What I am trying to do is display a different background color when the user lands on a page in a horizontal tab navigation. I've noticed that there is a control=SetSiteMap in URL when ever the user lands on the Community Knowledge Directory. Is that what I should be checking for?

  • PRC - Knowledge Directory - createRemoteDocument - 'Object Not Found'

    I can connect to the Knowledge Directory (verified in that I can walk the folder structure etc... )
    I can upload files to the document repository (verified in that when I upload the file via PRC I return the new folder and file name and can go to the new physical file, rename it and open it)
    But when I try to make a card for that file within the KD, by way of createRemoteDocument(x,y,z) I get the following error:
    <pre>
    com.plumtree.remote.prc.PortalException: null; nested exception is:
         java.rmi.RemoteException: -2147205120 - Error in function PTBaseObjectManager.Open (nObjectID == 214, bLockInitially == false): -2147205120 - Object not found.
         at com.plumtree.remote.prc.DocumentWrapper.save(DocumentWrapper.java:84)
    </pre>
    Thoughts?
    Any assistance would be greatly appreciated.
    Thanks,
    -Mel

    Hi mdkelly, Sorry for such a late reply (due to credential issues).
    I am using Windows task scheduler to schedule the task. I am given the administrator access to the server (Windows Server 2012). So I think I set to run the script under system account.
    My apologies for asking this, am I missing something while scheduling the script through task scheduler?  how to check if the scheduled task is running under who's credentials? How to pass my (admin) credentials, so that the script execution won't face
    a problem? Any suggestion on the above questions will be helpful. (I tried to search on net for the questions but didn't get any conclusive answers)  
    Thanks in advance.

  • Community Members and Knowledge Directory Link

    Hi,
    I'm using the support centre nav scheme but can't get the 'Community Members and Knowledge Directory' link to appear (the one that appears like an extra community page).
    I've set the property in the Community Wizard but that doesn't work. And I've tried to do it by amending the code for the nav scheme, but can't get it to appear. It appears to be the way the page links are generated in the nav scheme code, but this link isn't a page. And I can't figure out how it's generated in the native nav scheme code.
    Anyone got this to work, or have any ideas about to get it work?
    Thanks in advanceDavin

    I believe the support centre navigation does not display the knowledge directory link. You would need to add it yourself. The GetCurCommPages call on CommunityNavPage will give you the Community pages inside the current community and the knowledge directory link. If you just want the knowledge directory link without the mypages, you would need to create it yourself. Look in GetCurCommPages in NavigationModel for example.

  • Pages, Subcommunities & Knowledge Directory Link of Parent Community

    Is there an easy way to get the pages, sub-communities, and knowledge directory link of a parent community? Essentially I need to get all the information that GetCurCommPages provides, but for a parent community.

    What did you do on the computer before this problem arose? Updating, cleaning, what?
    Have you tried the applications in another user account on the computer? Do so and if you dont' have an another account you can create one in System preferences > accounts. Tell us the result.
    As you have problems with TextEdit to I think you have a system problem affection the applications you mentioned. Do some maintenance like Repair permissions, delete cash etc. Onyx is a frre applications that you can download from http://www.titanium.free.fr/download.php

  • Best practices for using the knowledge directory

    Anyone know when it is best to store docs in the Knowledge Directory versus Collab? They are both searchable, but I guess you can publish from the Publisher to the KD. Anyone have any best practices for using the KD or setting up taxonomies in the KD?

    Hi Richard,
    If you need to configure dynamic pricing that may vary by tenant and/or if you want to set up cost drivers that are service item attributes, you should configure Billing Tables in the Demand Management module in 10.0. 
    The cost detail functionality in 9.4 will likely be changed to merged with the new pricing feature in 10.0.  The current plan is not to bring cost detail into the Service Catalog module.

  • Knowledge Directory View format

    Hello,
    We are using out of the box Community Links Portlet that point to some KD folders.
    However, they display subfolders on top, then any files in the root.
    A client was the document files to show first, then the SubFolders. I do not see an option to change this.
    We do not use Adaptive Layouts.
    Any suggestions?
    Thanks,
    V

    I think the new navigation you are seeing is coming from the Base Page Layout file. I don't remember having seen two sets of nav when I did the switch over, but the layout files are html with a few tags thrown in there so it shouldn't be difficult to get in them and remove the second navigation.
    The layouts give a lot more flexibility in how to arrange your pages, especially the KD, search results, and My Account areas.
    Vivekvp wrote:
    Hello Geoff,
    I would like to try that - however I have to Enable Adaptive Page Layout Mode - which turns them on for each all pages, not just the Knowledge Directory.
    The drop down beside each layout only has one option - Page layout. I don't think I can just select the KD.
    When I do enable it - I get two navigation menus. Currently I see the Horizontal Drop-Down Navigation - which the Experience Definition uses AND a new blue one in different txt below it when Adaptive Layouts our turned on....
    But the KD section with the adaptive layouts looks pretty good!
    Anyway to just isolate that?
    Thanks,
    V

  • Uploading a file using PRC

    I am trying to upload a file using PRC, I am using .Net 2.0. Here is my code
                IRemoteSession rSession = base.portletContext.GetRemotePortalSession();
                IDocumentManager dManager = rSession.GetDocumentManager();
                IRemoteDocument rDocument = dManager.CreateRemoteDocument(4079, 217, Server.MapPath("temp.txt"));
                rDocument.SetType("http://www.plumtree.com/dtm/mime", "text/plain");
                rDocument.SetOverrideName("Trying to upload");
                rDocument.SetOverrideDescription("No Description");
                int docID = -1;
                try
                    docID = rDocument.Save();
                catch (Exception ex)
                    Response.Write(ex);
                Response.Write("<BR><BR>" + docID);
    The code always falis with following errorPlumtree.Remote.PRC.PortalException: Exception of type 'Plumtree.Remote.PRC.PortalException' was thrown. ---> System.Web.Services.Protocols.SoapException: java.rmi.RemoteException: Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == '1001text/plainD:\Plumtree\RemotePortlets\FileContainer\temp.txt', lDocumentTypeID == 104, pCard == com.plumtree.server.impl.directory.PTCard@65e83f, bSummarize == false, pProvider == null): Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == text/plain1001D:\Plumtree\RemotePortlets\FileContainer\temp.txt, lDocumentTypeID == 104, pCard == com.plumtree.server.impl.directory.PTCard@65e83f, bSummarize == false, pProvider == null): Error in function SOAPEnvelope.Restore (arrayText == [B@7aa6f0): SOAP fault: faultcode='soapenv:Server.userException' faultstring='java.lang.NullPointerException' at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at com.plumtree.remote.prc.soap.DirectoryAPIService.submitRemoteDocumentMerge(String sLoginToken, Int32 nDataSourceID, Int32[] nFolderIDs, String sLocation, String sTypeID, String sTypeNameSpace, String sOverrideName, String sOverrideDesc, String sLanguage, Boolean bMergeACLs) at com.plumtree.remote.prc.soap.DirectoryProcedures.SubmitRemoteDocument(String sLoginToken, Int32 nDataSourceID, Int32[] nFolderIDs, String sLocation, String sTypeID, String sTypeNameSpace, String sOverrideName, String sOverrideDesc, String sLanguage, Boolean bMergeACLs) --- End of inner exception stack trace --- at Plumtree.Remote.PRC.DocumentWrapper.Save() at Gov.NSW.CCSU.Portal.FileContainer.FileBrowser.cmdUpload_Click(Object sender, EventArgs e) in D:\MyWorks\CCSU\Portal\ALUI\Portlets\FileContainer\FileContainer\FileBrowser.aspx.cs:line 48
    I thought that there might be some problem in getting the file from the client,
    so i used my own uploading routines for copying the
    file in current App's directory,
    even then i get the same error.
    Any help is greatly appreciated!!!
    Thanks,
    Avi
    [pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello Dmitry,
    Thanks a ton for your patience!
    I have already tried step 1, still same error.
    I have already tried step 2 and it works using Portal UI
    Knowledge Directory-> Going to that specific folder - having ID 4079 -> selecting same file from same network share
    Followed Step 3 and the result confirmed that I am using the correct DataSourceID
    Here is the small piece of code
    <Code>
    IRemoteSession rSession = this.portletContext.GetRemotePortalSession();
    IObjectManager oManager = rSession.GetObjectManager(ObjectClass.DataSource);
    IObjectQuery oQuery = oManager.QueryObjects();
    for (int i = 0; i < oQuery.GetRowCount(); i++)
    Response.Write(oQuery.GetRow(i).GetName() + "-" + oQuery.GetRow(i).GetID() + "<BR>");
    </Code>
    Step 4 - We are not using ALI Content Service Windows File. Do you reckon I require this for Upload?
    Step 5 – I ran PT Spy, reproduced the problem but couldn’t find any exception(On the portal server).
    Let me give you a little insight of our dev environment here. Portal Server along with Remote Apps are installed on ServerX and Studio, Content Upload, Collaboration, Publisher are installed on ServerY. To neglect any permission issue I created the network share on ServerY as the Content Upload Service runs on Server Y.
    Running PT Spy on other server (running Content Upload Service) showed few errors but I can not make much sense out of those.
    What I can understand is
    1.     It makes the call to [submitRemoteDocumentMerge] with correct parameters.
    <Parameter List>
    nDataSourceID = 217
    nFolderIDs = (1) { 4079 }
    sLocation = \\ccsu-gmt-952.gnet.ccsu.nsw.gov.au\TempShare\temp.txt
    sTypeID = text/plain
    sTypeNameSpace = http://www.plumtree.com/dtm/mime
    sOverrideName = Trying to upload
    sOverrideDesc = No Description
    sLanguage = (null)
    bMergeACLs = false <ptLogMsgEnd>
    </Parameter List>
    2.     But the call fails with following stack trace (copied partially)
    <Stack Trace>
    com.plumtree.server.impl.webservice.PTWebService     SOAP call failed, an internal error occured on the remote server. Attempting to parse the SOAP fault for detailed error info. Web Service='File Upload Web Service', SOAP Action='urn:plumtree-com:DocumentProvider.AttachToDocument', URL='http://ServerY:11910/ptupload/services/DocumentProvider'
    </Stack Trace>
    3.     Next line shows following Stack Trace
    <Stack Trace>
    com.plumtree.server.impl.soap.SOAPEnvelope     Error in function SOAPEnvelope.Restore (arrayText == [B@7bd8a5): SOAP fault: faultcode='soapenv:Server.userException' faultstring='java.lang.NullPointerException'
    com.plumtree.server.impl.soap.OpenSoapException: SOAP fault: faultcode='soapenv:Server.userException' faultstring='java.lang.NullPointerException'
    </Stack Trace>
    4.     Then it starts giving the same error again.
    5.     I thought it might be expecting a value in Language Parameter, so I Passed US-en but still it screams.
    I can send you the entire trace file if that helps.
    Thanks a lot for helping so far, Plumtree is pretty new to me and I am finding it difficult to get my steps going.
    Thanks,
    Avi
    Edited by asolvent at 03/24/2008 10:05 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error occurred while publishing the content item to the Knowledge Directory

    We are receiving the following error upon publishing non-binary content items to the knowledge directory:
    Error occurred while publishing the content item to the Knowledge Directory. Contact your portal administrator.
    Ironically, in the KD, we call see all content items located in Publisher when we are in Edit mode -- even though they haven't been published to the KD yet. In Browse mode, we can't see any content items.
    Has anyone see this error before? What could be the cause?
    We are using ALUI 6.1.

    Hi,
    If you are seeing the documents in the Knowledge Directory and in edit mode, but not browse mode then check/try the following. What exactly were you doing when you got the error? Were you in Publisher or in the Knowledge Directory and running the Simple Submit task?:
    1. Try to approve the documents in edit mode.
    2. Go to the Administrative->Intrinsic Operations and run the following jobs.
    --> Search Update 1
    3. Make sure you have proper permissions on the folder in the Knowledge Directory and Publisher Folders.
    4. Check the permissions on the Content Source for the Knowledge Directory
    I need a little more information to get your better help.
    tnx
    James

  • Storing links to WMV in Knowledge Directory...Possible to not parse?

    When i add a wmv to the knowledge directory, the portal attempts to parse the video (supposedly for the search index).
    My WMV video is 160MB, and I get: Extended Error Message: Exception of type System.OutOfMemoryException was thrown.
    Can't i juat add it as a card to the KD without the portal trying to download it first?

    now its coming back to me...
    So i wanted WMV videos to have their own icon, so i created a content type called Windows Media Video File which uses the Document Accessor "File Accessor"
    Then in the content type map i have
    File Type: *.wmv -> Windows Media Video File
    MIME Type: video/x-ms-wmv -> Windows Media Video File
    Is there a way I can keep my custom WMV icon on my videos and still categorize them as non-indexed format?

  • Linking Knowledge Directory to Oracle UCM

    I have my Portal running in ALUI. I need to create a Knowledgebase – possibly external as this needs to be accessed by applications other than the portal as well – but I need to search/browse through this from the portal. The Search UI / inputs will be based on pre-determined properties of the documents / files in the Knowledgebase.
    If I use Oracle UCM to create and manage this repository, could I use the ALUI's Knowledge Directory to point to these documents/content? The properties of the files defined in UCM should be fetched by the KD and used to build the KD Search and Browse interfaces.
    If I already have the license for UCM, is this possible to do and a good way of doing it; or are there better options?

    Oracle says in their 11g version roadmap that UCM will be more integrated to WCI. Even now, there is a content portlet suite provided in UCM which can be consumed in WCI via WSRP and this is officially supported by Oracle. (There are many other ways possible too as UCM is designed to integrate with portals)
    Also I have read that there were several integration implemetations done between these two even years back when they were still in the Stellent and Plumtree avatars.
    <Please verify this...! :)> Definitely UCM is going to strenghten WCI but then I guess the commercially, this is going to be very expensive. Unlike WebLogic portal, WCI is not going to be offered stand-alone anymore and you need to get it along with the complete WebCenter suite. that Plus UCM cost.. hmmmm..
    Edited by: user3007 on 08-Apr-2009 12:19

  • Metadata and knowledge directory

    Does anyone know of a good way to capture extra metadata for documents that are uploaded to the knowledge directory? What we're looking for is a way for users to enter additional properties besides name and description - author, date published, language, etc. We have been using a product that we bought from a vendor but there are some issues, mainly its interacion with search.
    So, any ideas on how much customization would be required, or does anyone know of existing solutions? Thanks.

    I have done this with crawlers for MS Office documents and PDF's which have custom properties by defining additional property types and attaching them to document types or in the global document type property. The same should work with document upload as well.

Maybe you are looking for