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

Similar Messages

  • 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

  • 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

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

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

  • Displaying news

    Hello @ all,
    I want store news in an other repository than documents/news.
    So long that is not the problem. The problem is when I open the news I just see a xml file. The aim is that I want to see the news in that way they a presented when you open the news in the repository documents/news. There the news are displayed with the application com.sap.km.cm.xmlformpreview.
    To achieve this objectiv I added the repository where I want to store the news in the XML Forms Repository Filter. Then I set the XSLT Filter to this repository with the effect that the news a now displayed as html in the browser and no longer more as xml. But the style of the html-presentation is not the same as the news-presentation is in the repository documents/news.
    So my question is how can I achieve my objectiv to display the news in that way they were represented in document/news repository.
    Thank for your help
    Best regards Kai

    Hi Kai,
    try to modify the oth file named xmlforms.oth. You can find it under /etc/oth.
    Locate the tag <Paths> and add a new path, for example a new repository manager, where you'll put your news.
    For example:
    <Path>/MyRM/**</Path>
    Try this
    Hope this help
    Cheers
    Roberto

  • XSLTProcessor issue

    Hi experts,
    I am trying to set up an XSLT filter in the portal, to publish XML files as HTML.
    My filter works fine for some files, but for others, I get the following exception:
    [code]#Error##Plain### - com.sapportals.wcm.util.content.ContentException: XSLTProcessor can't handle stream data!
         at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getContent(XsltFilter.java:155)
         at com.sapportals.wcm.repository.filter.xslt.XsltFilter.getInputStream(XsltFilter.java:89)
         at com.sapportals.wcm.repository.runtime.CmFilterHandler$VaryingContentWrapper1.getInputStream(CmFilterHandler.java:1050)
         at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:112)
         at com.sapportals.wcm.repository.ContentImpl.getInputStream(ContentImpl.java:131)
    [/code]
    I use Cooktop on the client side for the developments, and the XSLT transformation goes fine. When I try to do the same transformation with exactly the same XML and XSL files on the EP with the XLST filter, I get the previous exception.
    The problem for me is that I don't get any information on the cause of the error in the log file, except "XSLTProcessor can't handle stream data!".
    Do you have any idea on that ? Where could I get more information on the exception ? Where may it come from, knowing that everything goes fine when I do the same transformtion in a non-portal environment ?
    Thanks a lot.
    Best regards
    Nicolas

    This issue was resolved after applying latest patch from Oracle.

  • Xmls in Form Builder

    Hello,
    I have created a form template using form template and I have created some contents using the form template. Now in the KM Content I am seeing the content created as an xml. But the actual content is all html tags. Some of the info like content created, validity period of the content which i had set in the form template and the content creation are not there in this html. Where can i find the actual xml file which holds all these values? Kindly help.
    Regards,
    Rukmani

    Hi Rukmani,
    > But the actual content is all html tags.
    No. What you get if under System Admin - System Config - KM - CM - Repository Filters - XML Forms Repository Filter, a filter is activated for the repository in question (/documents, for example), is the XSLT "filtered" XML via the XSL of your form definition - and that, of course, is HTML.
    You can for example deactivate the filter(s), then you will get the original XML. And there is also a method in the API to always get the unfiltered (original) content: https://media.sdn.sap.com/javadocs/NW04/SP12/km/com/sapportals/wcm/repository/IResource.html#getUnfilteredContent()
    The creation date and validity dates on the other side are properties of the document and not saved within the content itself. On such a document, call "Details" and choose the properties, there you will find the dates.
    Hope it helps
    Detlev

Maybe you are looking for

  • Issue with creating Web Service Client using Oracle JDeveloper

    Hi All, I am trying to create a Web Service Client using Oracle JDeveloper. I set the Project compiler property to JRE 1.4 When I run the web service client, it throws me bunch of errors saying: 'Error(32,2): annotations are not supported in -source

  • Installing OBIA 7964 on Linux

    Hi Gurus, I need to know what is the process of installing OBIA 7964 on the Linux, I had already installed the OBIA 7964 on the windows. Can you please let me know what are the next steps to install the OBIA 7964 on the LINUX environment. The Linux e

  • CC&B customization

    Hi All, I have to do some customization on CC&B screens. Could any one please help me in finding the information to do the following. 1. How to add a field in existing Oracle CC&B screen. 2. To create my own table in oracle database. 3. To create my

  • Itunes 10 does not save preferences

    Itunes runs well on my computer, (intel 4core 2nd gen i7 running win7 64-bit home premium) but anytime I try and change preferences (edit->preferences) it will not save them. There is no "apply" button of any kind. I've tried reinstalling, and instal

  • SQL Developer - AppV (Softgrid)

    Hi, I know this might not be the right place but i will try it anyway. I am trying to virtualize SQL Developer 2.1.0.63 for Windows 7. The sequencing process incl. JDK works fine and when doing the test launch out of the sequencer, SQL Developer star