Usage of  "userhome" repository filter?

Hi,
Anyone knows how to create a specific folder structure  in /userhome repository using this Km repository filter?
Thanx.

Hi Detlev,
nice to have the chance to correct you on your last day
Normally, you are right, Repository Filter are used for other purposes, but this Userhome Repository Filter like i.e. "userhome" actually checks if an application trys to access the path /userhome/<user.id>/favorites (i.e.), and if this path does not exist it creates the required subfolders.
So, Jon, actually what you need to do is the following:
1. Create a folder where you want to have this subfolders created (i.e. /documents/UserDocs).
2. In Content Management Configuration go to Repository Filters -> Show Advanced Options -> Userhome Filter and create a new filter. The prefix indicates the repository where the content will be stored, Startpath the subfolder where the user folders will be created. URL indicates the name of the subfolder that needs to created bellow the user-id folder. For example use:
Active=YES
URLs (csv)=docs
Prefix=/documents
Startpath=/UserDocs
3. Create a KM Navigation iView and the following entry for "Path to Initially Displayed Folder"
/~alias~/documents/UserDocs/<user.id>/docs
4. Open the KM Navigation iView and observe how the subfolders are created.
Best regards,
Robert

Similar Messages

  • XSLT Repository Filter: Multilanguage?

    I use a XSLT Repository filter to render XML Content in a userfriendly way. (As shown in the tutorial: https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/rf/global_service_api/how_to_pipeline.html)
    In the XSLT there are lables etc. that I currently provide in English. Is there a way to present this static strings in the user's language? In most other parts of the KM I can make use of resource bundle translations.
    e.g.: Accessing different XSLTs according to the current user's locale?
    Or accessing resource bundles in the XSLT?
    Or something else?
    Any suggestions?
    Best regards
    Ingo Biermann

    Hi,
    Not sure, why you are unable to retrieve created property.
    The property should be cm_created and namespace , so check if you are using correct property id.
    Always post codes so that we can help you.
    Regards,
    Praveen Gudapati

  • Usage of MIMEs Repository

    Hi,
        Please brief about the usage of MIMEs repository and how to use it. I wud appreciate a real time application of MIMEs object.
    Cheers,
    Sam

    Hi Sam,
        There is a standard example named "WDT_QUIZ". In this they have used MIME object. If you want to use/download the image present in another webDynpo component, then select the image under the mime folder in the WebDynpro component and right click on the image and select Upload / DownLoad >> DownLoad.
    Download the image in to local directory.
    Then right click on the webdynpro component where we want this image to be uploaded. click on Create >> MIME object >> Import and select the image which we downloaded to the local system, a pop up appears click on save button.
    Once we uploaded the image in to the WebDynpro component an entry named MIMEs appears, we can see the image under the mime's.
    Hope this will help you.
    Cheers,
    Darshna.

  • Invoking an rfc from a repository filter

    Hi,
    I have to invoke an ABAP rfc from a repository filter.
    To invoke an rfc using JCo or Connector Framework, we need the "request (of type IPortalComponentRequest)" object.
    Is this object available with in the filter?
    Or is there any other way to invoke an rfc from a Repository Filter?
    Kindly help me.
    Thanks and regards
    RB

    The notion of "IPortalComponentRequest" makes no sense withing a repository filter.
    Imagine a repository manager which is queried by some automatically running tasks on the server (e.g. nightly created reports). You don't have something like a request there!
    I don't know rfc, so there might be other options which don't need the request.
    Regards,
    Dieter

  • Repository Filter or Repository Service?

    When I upload a file, how am I able to "force" a filename.
    If someone sends a file "myfile.txt", i want that the filename be "Date_report.txt" . Date is a new Property metadata that i defined and that is inserted in the upload screen.
    To do this, i need to implement a repository service or a repository filter - in this case a property filter. I'm making confusion.
    Other question: How do I remove a repository filter or repository service uploaded by me?

    Hi André,
    need to implement a repository service or a repository
    filter - in this case a property filter. I'm making
    confusion
    A Repository Service. A RepService react on events thrown within the repositories life, such as file creation (in your case) etc.  And that's what you want if you really want to change the file's name on upload.
    On the other hand, the standard upload command offers an input field for the name which would become useless now. So in this combination maybe you also should alter the standard implementation to make the field hidden. Be aware of this being a modification of the standard (you can deploy it under your own namespace, but this command's implementation changes regulary...)
    How do I remove a repository filter
    or repository service uploaded by me?
    The concrete filter / service you can just remove via the KM config. The config class definition you can remove if you're deploying your par with an empty (but existing!) configArchive.
    Hope it helps
    Detlev

  • Repository Filter (Namespace) INamespaceFilter no livecycle

    Hallo,
    I generated a Namespace Filter and connect it to a repository. But the filter has no effect.
    From the exteded AbstractNamespaceFilterManager I get logger infos only from constructor and startUpImpl(). But i get no infos from getFilterForRead(). But i used the repository.
    Please help me,
    Norbert

    Hi Norbert,
    first, did you follow one / both tutorials:
    - How to create namespace filter for KM
    - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ee3a57-0701-0010-3e9a-ddae7e4e0521
    Second, I have deployed your PAR. After some deactivating / removing / creating / activating of the instance of the filter, I could start to debug the filter method itself. Anyhow, it throws some StackOverflowException, but that should be examined by yours (don't have the time at the moment).
    Alternatively, try to restart the server where you have deployed your stuff. But anyhow, try to debug the code instead of (only) printing log messages.
    Oh. I have to add that I have tested this on NW04 and you are working on SP2, I expect. Anyhow, the example from Thilo is developed on SP2, so maybe you should start with that PAR example.
    Hope it helps
    Detlev

  • Repository filter - Details iView

    Dear all,
    I prepared a repository property filter to manipulate special properties (as the name suggests ). In the "KM Content iView" the filter works fine, but if I open the "Details iView" the filter doesn't take action. What I have to do, to enable the filter for every iView accessing the document and showing some properties?
    Thanks in advance
    Walter

    Hi,
    Not sure, why you are unable to retrieve created property.
    The property should be cm_created and namespace , so check if you are using correct property id.
    Always post codes so that we can help you.
    Regards,
    Praveen Gudapati

  • Repository filter (namespace) project structure

    Hi:
    We are developing a repository namespace filter to enable
    manage the visibility and other aspects of news items
    created using xmlforms builder iview.
    We use EP60SP2P3HF7 with NWDS 2.0.5.
    The wizard to create the namespace filter project created
    the portal project like...
    -Project folder
    --src.api(with packages containing filter classes)
    --src.core
    --dist(containing PORTAL-INF,css,etc..folders)
    --src.config
    In this folder there is install,local folders;
    In these foders configuration XML files are located.
    After overriding filter() and other methods, when tried
    to deploy, nothing happened.
    But after mimicking the example in one of ThiloBrandt's  
    documentation, it did get deployed, but NWDS par deploy
    screen doesn't close. I need to shutdown the studio.
    I did even upgrade to NWDS 2.0.8 too, but invain.
    Does any body have a good documentation regarding
    developing these filters ?
    Thank you much inadvance, for the help,
    Prasad Nutalapati

    Hi,
    the most irritating in your posting at least for me was this combination: <i>EP60SP2P3HF7 with NWDS 2.0.5</i>.
    I'm really not that deep in the NWDS infrastructure, but I have been teached only to use the NWDS version for the corresponding WAS version - that means at least 6.40, not 6.20 etc.
    So why don't you use Eclipse with the provided KM-plugins?! This should more or less work (at least for the repository services the wizard works except for one error it produces, but at least this one is irrelevant for a repository filer).
    Hope it helps
    Detlev

  • Repository Filter

    Hi all,
    Is it possible to assign  repository filters  to a particular folder using APIs.
    Regards,
    Ajay.

    Hi Praveen,
    I have a CM repository created. I want to assign different property filters to different folders in this repository dynamically using APIs as there are  a huge number of folders. are you saying that this is not possible?
    Thanks and regards,
    Ajay.

  • How to retrieve module table usage data from Repository?

    Hi,
    I would like to retrieve some basic data about my application system's modules, like module name, module componenet name list, base table and lookup table name of the module component, base table operations (insert, update, delete). Did some one do it by using the Designer API? I read the the docs, but it does not look as a to simply thing for me. In Designer 1.3 I could figure out the RDBMS views, but with versioning in 6i/9i it just seem too complicated for me.
    Could any one please post an example here?
    Thank you in advance.
    Regards,
    Tamas Szecsy

    begin
    jr_context.set_workarea('XXXX'); -- Workarea name
    end ;
    select cmc.*
    from ci_application_systems cas
    , ci_app_sys_modules cam
    , ci_module_components cmc
    where cas.irid = cam.application_system_reference
    and cam.module_reference = cmc.general_module_reference
    and cas.name = 'XXXX' -- APP name

  • Userhome directory in KM

    hello everybody.
    every time i create a new user in my portal , th KM create 2 subforder in userhome directory.
    userhome/<id user>/favourites
    userhome/<id user>/personal documents
    I would like add a other folder (example personal news)
    where i can configure this?
    thanks in advance
    Alessandro

    Hi Alessandro,
    check out my reply in this thread: Usage of  "userhome" repository filter?
    Hope it helps you solve your problem.
    Let me know otherwise.
    Regards,
    Robert

  • Error in XSLT filter.

    Hi All,
    I have created some XSLT filters to display the XML file as the HTML. It was working fine before. but suddenly there's an error.
    After applying the XSLT filter to the content. When i clicked on the content to see the output it is throwing    " 500 INTERNAL SERVER ERROR -- Contact System Administrator ".
    I tried to find the error in the log :   Below is the log for the same::
    Error##Plain###Cannot instantiate user <anonymous>#
    #1.5#0011254E4B6500460000001F00001C0800044066D387C4F6#1196710286640#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#IntranetApprover#35##idbportst_TST_3777850#IntranetApprover#01477b00a1d511dc8c660011254e4b65#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Plain###Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context com.sapportals.wcm.util.urlcontentaccess.URLContentAccessException: Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context
         at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:263)
         at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:281)
         at com.sapportals.wcm.service.pipeline.producer.ProducerFromUrl.getData(ProducerFromUrl.java:54)
         at com.sapportals.wcm.service.pipeline.processor.XSLTProcessor.process(XSLTProcessor.java:141)
         at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:269)
         at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
         at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:134)
         at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getContent(XsltFilter.java:150)
         at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getInputStream(XsltFilter.java:90)
         at com.sapportals.wcm.repository.runtime.CmFilterHandler$VaryingContentWrapper1.getInputStream(CmFilterHandler.java:1050)
         at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:113)
         at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:364)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:253)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:777)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:458)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at
    can anyone please help me in this regard, it is very urgent.
    Thanks in advance,
    Kavitha.

    unaswered

  • Problem in working with xslt filter

    Hi All,
    I have created some XSLT filters to display the XML file as the HTML. It was working fine before. but suddenly there's an error.
    After applying the XSLT filter to the content. When i clicked on the content to see the output it is throwing " 500 INTERNAL SERVER ERROR -- Contact System Administrator ".
    I tried to find the error in the log : Below is the log for the same::
    Error##Plain###Cannot instantiate user <anonymous>#
    #1.5#0011254E4B6500460000001F00001C0800044066D387C4F6#1196710286640#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#IntranetApprover#35##idbportst_TST_3777850#IntranetApprover#01477b00a1d511dc8c660011254e4b65#SAPEngine_Application_Threadimpl:3_11##0#0#Error##Plain###Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context com.sapportals.wcm.util.urlcontentaccess.URLContentAccessException: Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context
    at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:263)
    at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:281)
    at com.sapportals.wcm.service.pipeline.producer.ProducerFromUrl.getData(ProducerFromUrl.java:54)
    at com.sapportals.wcm.service.pipeline.processor.XSLTProcessor.process(XSLTProcessor.java:141)
    at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:269)
    at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
    at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:134)
    at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getContent(XsltFilter.java:150)
    at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getInputStream(XsltFilter.java:90)
    at com.sapportals.wcm.repository.runtime.CmFilterHandler$VaryingContentWrapper1.getInputStream(CmFilterHandler.java:1050)
    at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:113)
    at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:364)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:253)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:777)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:458)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    can anyone please help me in this regard, it is very urgent.
    Thanks in advance,
    Kavitha.

    unaswered

  • Problem inworking of the  XSLT filter

    Hi All,
    I have created some XSLT filters to display the XML file as the HTML. It was working fine before. but suddenly there's an error.
    After applying the XSLT filter to the content. When i clicked on the content to see the output it is throwing " 500 INTERNAL SERVER ERROR -- Contact System Administrator ".
    I tried to find the error in the log : Below is the log for the same::
    Error##Plain###Cannot instantiate user <anonymous>#
    #1.5#0011254E4B6500460000001F00001C0800044066D387C4F6#1196710286640#com.sapportals.wcm.WcmException#sap.com/irj#com.sapportals.wcm.WcmException.WcmException(118)#IntranetApprover#35##idbportst_TST_3777850#IntranetApprover#01477b00a1d511dc8c660011254e4b65#SAPEngine_Application_Threadimpl:3_11##0#0#Error##Plain###Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context com.sapportals.wcm.util.urlcontentaccess.URLContentAccessException: Error downloading from URL: wcm://etc/filter/idbfilters/author.xsl, No user in context
    at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:263)
    at com.sapportals.wcm.util.urlcontentaccess.URLContentAccess.readContent(URLContentAccess.java:281)
    at com.sapportals.wcm.service.pipeline.producer.ProducerFromUrl.getData(ProducerFromUrl.java:54)
    at com.sapportals.wcm.service.pipeline.processor.XSLTProcessor.process(XSLTProcessor.java:141)
    at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:269)
    at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
    at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:134)
    at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getContent(XsltFilter.java:150)
    at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getInputStream(XsltFilter.java:90)
    at com.sapportals.wcm.repository.runtime.CmFilterHandler$VaryingContentWrapper1.getInputStream(CmFilterHandler.java:1050)
    at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:113)
    at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:132)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:364)
    at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:253)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:777)
    at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:458)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    can anyone please help me in this regard, it is very urgent.
    Thanks in advance,
    Kavitha.

    unanswered

  • Ghosts in RF - can't remove Repository Managers or Filters

    Hello,
    I have problem with undeploy/remove/delete a Repository Manager or Repository Filter. To deploy them I'm using PARs (via NWDS or PAR deployer in portal), but when I use Portal Archive Deploer/Remover function for removing them, it's not working correctly.
    After remove, PAR disappears from list, but in Repository Managers list I can still found my Repository Manager (works the same way for filter). Of course, I have restarted the whole server after remove. In log I can found errors complaining for missing class of my Repository Manager (when server starts).
    I have tried SimpleRepositoryManager example as well and the behaviour is the same. It points to something wrong in configuration, classes are maybe hooked in some additional configuration files, which PAR remover remains intact. Or maybe - I'm doing something wrong.
    Using SAP EP 6.0 SP14.
    Thank you for some ideas.
    Martin

    Hello Martin,
    I have the same problem with removing a Global Service and a  repository service. The configuration is not removed  when the par file is undeployed.
    A possible solution is described here:
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=57900">https://www.sdn.sap.com/irj/sdn/thread?threadID=57900</a>
    Maybe it works for you.
    Unfortunately the trick with deploying an empty config file did not work for me.
    Maybe there are some name inconsistencies. I am not sure which names have to be equal or consistent (prjconfig, KEY in IRFServiceWrapper, xml file names, ...).
    Does anybody knows about this?
    Daniel (on SP15)

Maybe you are looking for

  • Itunes Downloads and will not Install on Windows 7

    After downloading, I try to run itunes and get the following:This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer

  • Excel data won't re-import

    I'm using xcelsius 4.5 and excel 2003. I made some minor changes to the spreadsheet (renamed labels, etc.) When I re-import it looks like the file is being reloaded but when I go to relink or check cells it is the old sheet. I have tried both the ref

  • LR RAW adjustments not visible in Bridge/ACR or iView MP3

    I have just added LR 1.3 to my RAW workflow after using Bridge /ACR /CS2 for some time. If I make adjustments in LR - a big improvement over ACR 3.7 - I cannot see the changes when I open in the other applications. I am using DNG. I am sure I am miss

  • Started today - Yahoo sign in attempt on desktop & laptop gets Untrusted Connection - Explorer works okay

    This started today - 9/6/2012 - on both my desktop and laptop. Explorer works okay. I have been accessing Yahoo using Firefox for many years.

  • Help please with Setting up Fonts

    Hello, thanks in advance. By day I work at a studio on an Apple Mac, using InDesign. By evening I work at home on my Windows 8 PC, using InDesign with the Creative Cloud. Therefore I'm having difficulties with the transferring of fonts. Specifically,