XML Forms rendering

Hi,
I am storing some documents created from XML forms into a new repository created by us in KM. while opening this document from our repository, the content is opened in normal XML file format, instead of expected XML form renderer. But if I choose to edit this document, I am getting it opened in XML renderer. Any solutions to fix it ?
I added my repository to xmlforms_filter, in KM->CM->XMLFormsRepositoyFilter, but I got null pointer exception while editing and content not hyperlinked for directly opening.
Thanks in Advance,
John

I am attaching the stacktrace....
com.sapportals.wcm.repository.ResourceException: Exception while applying filters: null
     at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:400)
     at java.lang.Throwable.(Throwable.java:195)
     at java.lang.Exception.(Exception.java:41)
     at com.sapportals.wcm.WcmException.(WcmException.java:59)
     at com.sapportals.wcm.util.content.ContentException.(ContentException.java:34)
     at com.sapportals.wcm.repository.ResourceException.(ResourceException.java:227)
     at com.sapportals.wcm.repository.runtime.CmFilterHandler.handleRuntimeException(CmFilterHandler.java:996)
     at com.sapportals.wcm.repository.runtime.CmFilterHandler.applyContentFilter(CmFilterHandler.java:546)
     at com.sapportals.wcm.repository.runtime.CmFilterHandler.applyContentReadFilter(CmFilterHandler.java:108)
     at com.sapportals.wcm.repository.ContentImpl.applyContentReadFilter(ContentImpl.java:389)
     at com.sapportals.wcm.repository.ContentImpl.initContent(ContentImpl.java:374)
     at com.sapportals.wcm.repository.ContentImpl.getContentType(ContentImpl.java:159)
     at com.sapportals.wcm.service.xmlforms.transformation.ResourceDemultiplexer.getContentStream(ResourceDemultiplexer.java:71)
     at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:129)
     at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderItemOrTemplate(Transformation.java:274)
     at com.sapportals.wcm.app.xmlforms.EditServlet.doGetAction(EditServlet.java:342)
     at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:246)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sapportals.wcm.app.xmlforms.XFBaseServlet.service(XFBaseServlet.java:134)
     at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:334)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
     at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
     at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
     at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)

Similar Messages

  • XML Form rendering path

    Hi Experts,
    A question:
    We are trying to add some rendering to our xml forms in KM. Because we only saw XML information instead of the rendered list. We have managed to render the entire repository, that we wanted. But now we want to exclude some folders in that repository.
    1. Is that possible?
    2. We have tried to give the the entire path that needs to be rendered, but we cannot get this to work. We have tried the following links:
    http://help.sap.com/saphelp_nw04s/helpdata/en/ac/940c285a2f9b4984e1cb3113a8a9d3/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/21/8df33eef091f39e10000000a114084/content.htm
    https://forums.sdn.sap.com/message.jspa?messageID=984188

    Maybe i'm doing it wrong! I I have e.g. repository Test. And the folder under Test are --> folder 1 - folder 2 and under that folder a - folder b.
    Example:
    Test --> folder_1 --> folder_a
            --> folder_2 --> folder_b
            --> folder_3 --> folder_c
    But now I want the render only on folder_b (and everything underneath) and not folder_a. Then I will go to System management --> System configuration --> Knowledge management --> content Management -->Repository filters -->XML Forms repository filters. We have added the repository to xmlforms_filter and xmlforms_filterOld.
    The path that we want to render we have added path to the xmlforms_filter --> paths (only), like: test/folder_2/folder_b/, but that didnt work for us. We even tried this: test/folder_2/folder_b/*, test/folder_2/folder_b/!
    Is this the correct way?
    And what if we want to render multiple paths (folder_b and folder_c)? Should the path look like this: 
    test/folder_2/folder_b/*test/folder_3/folder_c/*?

  • Xml forms not rendered in default layout set - urgent

    Hi guys,
    I've to display several properties and to provide the rating and feedback service in conjunction with xml forms because a "NewsRenderer" doesn't support the display of additional properties.
    So I tried to use one of the default layout sets (e.g. "Consumer Explorer") but the <b>xml forms are not rendered after selecting the "contentLink"</b> (displays raw content of xml document). I'm looking quite a long for a command that opens and renders the xml forms in a new window - without any success...
    Please help! TIA
    Regards
    Joerg

    hi,
    you have to create a XMLForms Repository Filter. Check this link:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/21/8df33eef091f39e10000000a114084/frameset.htm">XMLForms Repository Filter</a>

  • Regarding rendering data from seperate XML form in Adobe Flex

    Hi All,
    I am practicing Flex, in this practice I had used SWF file generated for perticular flex project in NWCE but one problem is occur i.e. one of the flex project(day3 exercise 10 ) is implementing  drag and drop between the components is there in flex ,I had practiced in flex builder working fine then swf file generated for this and try to use it in my NWCE environment but problem is room rendering( rooms data extracts from separate XML form is placed at assests in workset ) not working plus no items displayed on that component only ,items of remaining components displayed properly.This Rooms.xml form where to place for display rooms data properly.
    How can I solve this problem.
    Thanks,
    surya.

    Thank u,
    You mean we are unable to access data from local files at run time in flex applications,is right? but suppose at the time of integration of flex application with webdynpro are any other how to pass the required information,for example i am extracting rooms data from xml this xml and pass to list in MXMl component.This XML file is placed source folder of flex project at the time of run this application in Flex builder but i want to use this flex application SWF File in Webdynpro for java(means integration flex and wendynpro).how can i pass this rooms data to list .
    Is there any alternative for this please provide me answer asap.
    Best Regards,
    surya.

  • Hiding some part of rendered XML form

    Hi all,
    is it possible to hide some part of displayed xml form? For example, I have XML form with texts in two languages (two schema nodes, one for each language). I would like to show only text in users language. Users language could be determined from UME or from personalization of iView.
    Thank you very much for answers.
    Zdenek

    Hi Wassilios,
    thanks for helpful answer. Exists some documentation about these xsl files (I mean KM specific information)?
    Regards,
    Zdenek
    Message was edited by: Zdenek Smolik

  • Rendering previous values into xml form

    Hi experts,
    I have a problem, I have created new document using xml template. in that I have two fields like valid from and Valid to.
    These are taken from system dates.  When I enter remaining data and save the form it's save with out any problem.But values in valid from and valid to fields do not shown (render)  when I try to edit the xml form.
    Thanks in advance.
    Regards
    Haribabu Ch.

    Hi
    If u r using the date type label in edit form , then u can get ur input date from system and will remain visible when u r trying to edit the form.
    Regards,
    Vijay.

  • Problem in xml form

    Hi,
    i have created one xml form using form builder...there are three views..edit, renderer list and show....then in portal, i created one iview using newsexplorer layout set for edit form and newsbrowser layout set for show form . My problem is...wich layout set i have to choose for getting rendererlist form? one more thing, before creating iviews, should i have to create any folder in km repository ? i am using ep 6 sp2.
    regards
    ram

    Hi ram singh,
    There are some steps that you could follow :
    1. Create the XML FORMS using the XML FORMS Builder
        a) On Edit panel create your form that will be visible on NewsExplorer Layouset.
        b) On RenderList create how your form wil be visible on NewsBrowser Layouset.
    2. Create first Iview for Admin:
       a) Set the layouset to "NewsExplorer"
       b) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
       c) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
    3. Create second Iview for users:
       a) Set the layouset to "NewsBrowser"
       b) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
       c) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
    That's all! Now you can create new items using the Admin iView, which will be storage on KM path that you had set on steps 2 and 3. When you open your User Iview will be show all xml files that exists on your  "/MyFolderForXMLFORM".
    <b>There are some helpful links above:</b>
    How to create XML FORMS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
    Creanting XML FORMS
    http://help.sap.com/saphelp_nw04s/helpdata/en/fd/bd016254946048a4d7a17c2aad7600/frameset.htm
    Cheers,
    Alcides Flach

  • "Feedback" problem in XML Forms

    Hi Forum,
                    I have created an xml form (for creating and showing articles similar to News) using form builder. In the "show" form i placed a button and assigned the action "Details" to it (So when it is clicked takes to Details Screen). Created a KM Navigational iview that uses my custom layout "myNewsExplorer" in which i have removed some of the command groups like properties, permissions etc.. as i dont want the end users to see these options in the details screen. But to my surprise the feed back button's action is not using myNewsExplorer layout and it is directly pointing to AdminExplorer and giving me all the unwanted command groups and commands. How can i make the feed back option to point to my custom layout set.
                     I dont want to use "give feedback", "feedback" commands at the resource renderer level, since they dont provide facility to open the given feed backs and read (They only allow to give feed back and just list the given feedbacks).
                     Now i am trying to use two feed back buttons in the show form, the first one with action - Details (for admin). I want to get this button to only specified admin user and not to end users. How can i capture the current logged in user from the xml form and put a condition that this button should only appear to admin user ?
                     Please share some ideas. I need to deliver this functionality immediately (working at client place).         (Points Assured)
    Thanks
    Ramesh Kotagiri

    Hi,
    Your requirement is to Browse from different km folders based on some dropdown selection in xml form.  is n't?
    We also face similar kind of problem, in which we have to enable/disable one fields depends on value of another fields.
    As i know it is not possible in XML Form. We acheived our requirement by adding some javascript in generated xml form.  Since it is not a recommended solution i am not suggesting to do so.
    Please ask suggestion from others also.
    Regards
    Baby

  • I want  to design a News like the *LInklist* by XML Form Builder

    Hello:
       Everyone!
       Now I have another problem about XML Form Builder
       I want  to design a News like the LInklist by XML Form Builder
       I want the result,For Example
    SAP News
           1news1
           2news2
           3news3
    who can give me some adviseon about how to disign the Edit, Show and Renderlistitem in XML
    Thanks a lot
    Hope your help!

    Hi,
    In XML Form
    1) Edit form is used for designing the user interface.
    2) Show form is used for displaying the xml form to the end user
    3) RenderListItem is used for  rendering the xml form into a small description like 1News1, 2news2  etc..
        Here you need to display only the heading of the xml form
    After you create the xml form
    Create Layout set  where you need to give the proerties like xml renderer form , no of items to display etc...
    Thanks&Regards,
    Raghu

  • XML Forms Builder - Create XML in external System

    Hi,
    Is it possible to create a XML file in a system external to Portal (the DataModel is the same) and after uploading it to the Portal and obtain the same behavior (rendering) of a XML created in Portal by the form generated by XML Forms Builder?
    I've tried to do it, but the file is not rendered as expected.(It appears the XML File but not rendered by the XSL generated by XML Forms Builder).
    Regards,
    André

    I found the solution in the following threads:
    [https://www.sdn.sap.com/irj/scn/thread?messageID=2830013#2830013|https://www.sdn.sap.com/irj/scn/thread?messageID=2830013#2830013]
    [https://www.sdn.sap.com/irj/scn/thread?messageID=823596|https://www.sdn.sap.com/irj/scn/thread?messageID=823596]

  • Issue with XML form builder

    Hi All,
    1 ) My XML form builder is hanging up very very frequently (other than this, my portal is very fast).
    when I save the project its hangs up at "50% saving internal model". then I have to close the xml form builder and reopen it and save it again (when i do it repeatedly, some time it saves).
    when I click on "open Project" many times its not popup the project list, I have to close the xml form builder, logout from my portal and then login back.
    Its horrible to work on this, keeps on hanging every time. Any idea why its behaving like this? as I said, my portal is very fast except XML form builder.
    My Java version is 1.4.2_16... XML form builder verison is 6.xx
    2) when clicked on "preview" button, can we open a pcd iview??? my requirement is, when user clicks on preview button I need to open my application built in PDK java (created iview out of it, which shows xml form in a better way)?
    3) Can I show "Edit" form first other than "Renderer" form in News application? Presently it shows renderer form-> user has to click edit link -> then it will open Edit form. I want "Edit" form to be visible to the user in the first step itslef. is it possible?
    Thanks
    Pradeep
    Edited by: pradeep bondla on Nov 19, 2009 3:08 AM

    Hi.
    I suppose changing of the JDK, because 1.4.2_16 is not recommended version (see SAP  Note 716604). Refer to note 718901 - How to Change the JDK of the J2EE Engine.
    Also check what version of client JRE in use. (see Note 1341069 - XML Forms Builder not supported if client JRE is 1.6).
    Best regards,
    Aliaksandr Zhukau

  • Display XML forms in a single window-URGENT!!!!!!!

    Hi,
    I created a project with XML forms Builder. It is working but the thing is that now i just want to display all the forms in the same window. Means that when i want to edit a new item instead of a new window i want to work in the same browser.
    Is that possible by configuring a resource renderer(NewsRenderer for example)?
    Otherwise do u know another solution?
    Please i need help.
    I found a topic in the forum (thread below) https://forums.sdn.sap.com/thread.jspa?threadID=46122&messageID=466382
    But i didn't understand all the points.
    So if someone know something please answer.
    Thx in advance.
    MJ

    Hi Robert,
    I did as u said: I downloaded the file <u>YOUR_PROJECT_NewsRenderListItem.xsl</u> but i didn't find any <b>_blank</b> in the text. Let's say i have exactly the same problem than in the previous thread, i don't know where to add the URL and where to replace _blank.
    I don't know where to find the method <u>CreateXSLDocument</u>(Detlev thread) and what is its interest?
    Can u please explain where i can find "xinfo=window.open(url,'_blank',params)"? It should be (according to Detlev) in <u>com.sapportals.wcm.app.xfbuilder.server.generator.xsldocs.CreateXSLDocument</u> but i really don't know how to reach this address.
    Thx a lot!!!
    best regards
    MJ

  • How to achieve Single content but multiple views in XML form builder

    Hi,
    I have requirement something like this.
    I am using xmlform builder to generate the content template for our portal.
    I have 5 links where I need to render html content dynamically. I am using NewsExplorer and NewsBrowser layout. Presently I have created  5 xmlforms project and design the layout in the renderlist item. I am not satisfied with my approach. It seems very inefficient of doing it as all the content layout is same. but all the different iviews  has different content to pick.
    To make myself clear I am giving with an example
    I have two iviews
    Policy1 and Policy2 which are KM Navigation Iviews whose init path are diferent path to get the different content.
    As the content has to generate dynamically , I am using NewsAuthor to create the content.
    To achieve this , I have created 2 xmlform project( though the rendering format is SAME) and 4 iviews  ( news explorer and newsbrowser for each ie policy1 and policy2).
    Since I need to generate some 100 contents like this .
    I do not think my approach is a very efficient one though the rendering format remains same.
    I wish to achieve this by using one xml form project , one News author and one news browser to create different content as long as the rendering template format is same
    this is something like this
    when I click on the Policy1 link for content creation , It should only shows Policy1 content format . and should not display the content authoring for policy2. This holds good for the viewing also .and also I would like to create only one xml form project as long as the rendering format is same.
    can anyone please tell me how to achieve this ?
    thanks in advance
    pk

    Hi Jasmine,
    To make your project link alone visible, try this
    To make the global setting for the availability of XML forms, choose Content Management > Form-Based Publishing > Forms Availability > Global Setting.
    To make specific settings for folders, choose Content Management > Form-Based Publishing > Forms Availability > Folder Settings.
    You need to give the name(s) of those XML project(s) you want to display in the Forms to Include parameter in the Settings for Folders.
    Forum reference:
    /message/1371270#1371270 [original link is broken]
    /message/1313368#1313368 [original link is broken]
    Consider rewarding points for helpful answers,
    Regards,
    Shankar

  • Error in news created in XML Form Builder

    Dear Experts
    I have created news in XML Form builder (three forms edit, rendered list and show). Created two iviews NewsExplorer and NewsBrowser.I have exposed these iviews for relevent users. Now the problem is the edit for and the show form of the XML news is not working for few users. While opening the edit form and show form for few users it is giving the below portal runtime message.
    BEGINING OF ERROR MESSAGE----
    Access denied (Object(s): com.sap.portal.system/security/sap.com/NetWeaver.KMC/low_safety/com.sap.km.cm/components/xmlformpreview).
    END OF ERROR MESSAGE----
    Appreciate your response.
    Regards
    Shanmukha Rao Banisetti

    Try adding everyone group to the low_safety security zone...

  • Multivalued metadata properties in XML Form Builder

    I have created some multi-valued properties in KM having their own namespace. When I assign these properties to the XML FB, the values are loaded only if I use a combobox. But my requirement is to selct multiple values, so if I associate a checkbox as the data type, I find none of values are loaded into XML project. Have anyone tried this out? Is it a bug? I am using SPS14.
    Kind Regards,
    Tridib

    Hi Detlev,
    I tried the workaround you described. Defined the allowed values, checked the declared property as "Multi-Valued", selected "allowedvalues_multivalued" as property renderer, refreshed the properties inside of the XML Forms workbench and wired this property to the checkboxes whose captions and values correspond to the allowed values just created and so on.
    When I generate the XSL template, click on the checkboxes inside of my HTML output and click on "Save" only the first value of those I have checked will be saved. (as to be seen in the details of the generated document)
    Although it seems that I have done everything all right, obviously I haven't.
    When I look into the generated XSL document I can see why this happens because several checkboxes with the name will be rendered.
    What did I wrong? Any help would be appreciated.
    (we run EP 6.0 SP 13)
    Thanks in advance
    Ralf

Maybe you are looking for

  • ALV  Report Changed  Layout Cannot be saved .

    IN an ALV report if i changed the layout with selected fields .i cannot save it the save button on standard toll bar is disiabled as well as menu items to save the laout ... i can only chane the layout.. ..please guide me in how to allow the end user

  • I want to delete my skype account- no matter what!

    I just found out that there is no way that i can delete my skype account. Is this true? Because i want to definitely delete it! What can i do? How can i proceed? Thank you for your help (in advance) . JoJa

  • How to import mailbox files in Outlook 2013??

    How do I import Mozilla Thunderbird archived mailboxes in Microsoft Outlook 2013? I used Mozilla Thundebird in Mac book pro earlier, from some time I have been using Windows pc and for some reason I needed to access my older mails that I had archived

  • Computer locks when trying to change multiplier

    My computer locks up in the BIOS when I try to access the CPU Clock Ratio menu option.  Ever since I upgraded Bios to 2.70 on my MS-6373 K7N420 Pro I have been running at 1100 MHz instead of 1400 ( I have an Athalon 1700 ).  My system also locks when

  • How to replace old numbers with new mavericks version of numbers

    Thanks to another thread, I have found the new versions of numbers, pages etc. in applications, but how do I get them to replace the old versions in the desktop?