XML Forms - FAQ

Hi everyone!
I've created a FAQ using the XML Forms Builder. The edit forms contains the input fields for question and answer etc, as well as a combo box containing topics.
My RenderListItem form is to contain the topic and the questions belonging to this topic (assigned in the edit form). I would like it to look something like this:
Topic 1
Q1
Q4
Topic 2
Q2
Q3
My first issue is to get the topic to show only once, while all the questions belonging to this topic are shown underneath.
I've tried to use the control-selector in the RenderListItem form. The control-selector is referring to the topic element in the DataSchema, and I have a label inside the control-selector which has a condition based on the topic, and is referring to the question input field.
When I add an label (I've tried a static label with the topic name, and based on the input field), I can't get it to show only once, but it repeats for every question.
I've also tried with tables but can't seem to get that to work either.
Now it looks like this:
Topic 1
Q1
Topic 2
Q2
Topic 2
Q3
Topic 1
Q4
My second issue is to sort the questions based on the topics. Is this possible to do in the collection renderer? How would I reference the form element in the property for sorting?
I'm using EP 6.0.
I hope this makes sense and that someone can give me some answers!
Thanks in advanced,
Ellen

Hi,
To organize your folders try using different layouts sets in iView level. Try in that way.
plz rewared points if helps
cheers
dev

Similar Messages

  • Problem in XML Form Builder

    Hi all,
    Can any one provide me any document related to FAQ in XML Form Builder?
    i have created one project in xml form builder but not getting how to create iviews at admin side and user side.
    Thanks in advance!
    sonal.

    Sonal,
    You can check
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/fe743c74fa6449e10000000a11402f/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
    James

  • Html Editor in XML Form builder

    Hi,
       I have created a FAQ in XML Form Builder and I am using html Editor in the form. I need to give link to some selected text by using "web link for selection" option form the html Editor and I tried but in the iview the text does not appear as link.
    can any one help me what is a problem? or it is bug in Html editor.
    regards
    Yasir Noman

    hi Yasir
    The project you created appear in the KM folder  ( /etc/xmlforms)or the folder based on your settings. You can open the form you created in the km and can check whether the link command is there in the file.You can edit it directly from here to correct the error.
    Regards
    geogi

  • Error when creating new XML-Form

    Hi everybody!
    We are using XML-Forms to create/edit/display FAQs out of the KM-Content. We have created our own XMLForms for that and it worked fine. After our last upgrade (NW 7.0 SP-Stack 16) we have the following problem:
    clicking the "new FAQ" link in the portalruntime doesn't start the XML-Form anymore but displays an java error:
    java.lang.RuntimeException: Context is unavailable!
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMConnection.(DMSRMConnection.java:83)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getGenericValueList(DMSRMR3FunctionCalls.java:6598)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getLaboratoryList(DMSRMR3FunctionCalls.java:6426)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getLaboratoryDescription(DMSRMR3FunctionCalls.java:6451)
         at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMLaboratoryValueProvider.getValueLabel(DMSRMLaboratoryValueProvider.java:47)
         at com.sapportals.wcm.service.propertyconfig.config.MetaValue.getValueLabel(MetaValue.java:53)
         at com.sapportals.wcm.service.propertyconfig.config.MetaValue.getValueLabel(MetaValue.java:79)
         at com.sapportals.wcm.service.xmlforms.validation.PropertyLocalizer.getLocalizedPropertyValue(PropertyLocalizer.java:294)
         at com.sapportals.wcm.service.xmlforms.validation.PropertyLocalizer.localize(PropertyLocalizer.java:208)
         at com.sapportals.wcm.service.xmlforms.transformation.TransformationHelper.localizeProperties(TransformationHelper.java:64)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:438)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderTemplate(Transformation.java:318)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderItemOrTemplate(Transformation.java:332)
         at com.sapportals.wcm.app.xmlforms.EditServlet.doGetAction(EditServlet.java:348)
         at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:241)
    I don't have that behaviour when i try to edit an existign FAQ. But I have the same problem with any other XML-form i'm using to create KM-docs.
    to me it seems that the creation-context is somehow not valid. But what does that mean? and what can I do about it?
    Regrads, Alex

    Hi Alexander
    I think this thread might help you as it helped me, and it is the exact same error that you get
    https://www.sdn.sap.com/irj/sdn/thread?messageID=2943423#2943423
    Best regards,
    Martin Søgaard

  • XML Forms save action modification

    Hi All,
    I have an xml forms application which i have integrated in an Iview. On click of a link this iview should be opened in the same browser replacing the existing content. However wen I click Save or Cancel the browser also closes when I actuually need to redirect it to show another iview in the content area.
    How can I achieve this in xml forms? I think Save and Cancel have a standard code that allows the browser to close somewhere and I am unable to change it.
    Can anyone help?
    Thanks in advance,
    Malita

    No, the idea about this counter is for example i have a list of FAQ's:
    1. First Faq
    2. Second Faq
    3. Third Faq
    I want to put automatically the number of the FAQ before the question.
    For example if i remove "Second Faq" the list should be like this:
    1. First Faq
    2. Third Faq.
    Now i'm using javascript to do it.

  • Problem with NewsLayout/XML Forms

    Hello,
    I have a created News(custom) item, through XML forms. When I preview the Edit,Show and Renderer form, they all work fine.
    The problem, I am facing is:
    When I create a news item under documents folder: New->Forms->News, it is saved. when i click on this xml file, I can see the news.
    But in the iView, when i set the Layout as "NewsBroswer" , these news are displayed as links but not as News item( as we see in Renderer list in XML froms ). All the other forms (FAQ, SAP Demo News are seen as news item )
    Can someone tell me why, this problem exists ?
    Regards,
    Poornima

    Hi Raghu,
    I have already done this. I am using the same layout set( with all the things u have mentioned ) to my other news, it works.
    The news where I am creating now is directly under root in another folder which is at the same level as documents folder. Should I do some XML resource rendering settings for this. The XML form is available for this folder.
    I have no idea pls help ! Its consuming a lot of my time to correct this.
    Regards,
    Poo

  • XML form in not getting displayed in the option while assigning

    Hello Experts,
    I have created a XML form and now assigning it to a folder. While assigning Folder>new>forms> .. here I can see other forms but not the new one which I have recently created. Please let me know I can assign the newly created form to the folder.
    Regards,
    Abhi

    Hi,
    Please check for the Form Based Publishing for your KM folder
    System Administration-->System Configuration >Knowledge Management->Form Based Pulishing>Forms Availability>Folder Settings check for the Forms to include and Exclude for your folder path. In this you can include or Exclude forms which you form by adding the XML form ID.
    Regards,
    Nivas209.
    Edited by: Nivas209 on Jan 12, 2012 8:12 AM

  • How to generate a report from data entered by users in XML forms

    hi,
      i have a requirement to generate report from xml forms which are created using XML forms Builder and stored in Km folders. management want to see in a single report all the activities of all the users in the xml form in such a way that one row in the report presents data blongs to each user.  i have no idea regarding this.
    can any one help me in detail.
    Thanking you in adavance
    sajeer

    Hi Sajeer,
    You have given quite few information what data should be collected / showed in detail. Anyhow, it sounds as if you want to provide data which isn't provided within the standard portal so far (see http://help.sap.com/saphelp_nw2004s/helpdata/en/07/dad131443b314988eeece94506f861/frameset.htm for a list of existing reports).
    For your needs you probably have to develop a repository service which reacts on content / property changes and then you would have to log these changes somewhere, for example in a DB. On the other side, you then could implement a report iView which accesses this data and displays it as whished.
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • Unable to edit the content of an XML form

    Hello Experts,
    I am facing a weird issue after updating my XML form.
    Earlier scenario :
    We were displaying only the Title of the news along with the content.
    New scenario :
    We had to display image also along with the title and content of the news.
    Changes i did :
    I have updated my XML form with adding an Image UI in the XML form.
    Issue :
    After adding the image UI and generating the project in the content part it is giving a message as in the image below.
    Due to this message as "Loading content please wait" i am not able to save the content of the news due to which i am getting dump on the screen.
    Please help.
    Its an urgent issue.
    Thanks in advance.
    Regards,
    Gazala

    Hi gazala,
    Hope you are doing good.
    Is the portal 7.3? can you let us know the version? Trigger 5-6 thread dumps with 30 secs interval each for your server when you reproduce the issue.
    More info:
    http://wiki.sdn.sap.com/wiki/x/VYZ3Cw
    SAP Note No. 1020246-Thread Dump Viewer for SAP Java Engine
    SAP Note No. 710154-How to create a thread dump for the J2EE Engine
    This will help check this further
    Hope this helps.
    Kind Regards,
    Hemanth
    SAP AGS

  • Flash files as images in XML Forms

    Hi Crew,
    Anyone had to use flash files in XML forms Based Publishing?
    Have created a simple XML Project asking the user to select two images, and these are then displayed in an iView.
    gifs & jpegs display no problemo.   swf (flash files) do not.
    Any ideas?
    Paul

    Hi Paul,
    I need to display a .swf file in a XML form. I read the solution that you have posted about modifying the XSL file, but i have no clue how to go ahead with this.
    Could you kindly provide any document, link or the solution as to how to modify the XSL file ?
    Any kind of help would be truly appreciated.

  • XML Forms Builder - problem with checkbox

    Hi,
    I have created many checkboxes in XML Forms Builder and if I want to create a new document based on this "Form" I have still checked one of checkboxes. I would like to have all empty  checkboxes becasue user should check the appropriate checkboxes.
    Do you know how to resolve this problem?
    Thaks for help!
    Regards,
    Andrzej Tabara

    Hi,
    is it always the same checkbox that is already filled in? Is this ckeckbox based on a metadata-definition?
    If yes: You could maybe have a look at the metadata-definition. Is there maybe a default-value defined?
    Kind reagrds
    Karin

  • How can i convert the HTML information in XML form to a PDF?

    Hi does any body know how can i convert the content of an HTML field in a XML Form in a regular text to include in a PDF in a Java program?

    Hi ,
    On the tool bar you have an option "Browser" which is next to "HTML Editor" .
    You know that for using these elements wo have to map them with Data Schema.
    Step by step
    1. In data Model Under Data Schema Add a child and name it Read_More.
    2. In the left hand corner ,click on tab Type and from the drop down select "rid"
    3.Click on the "Browser" from the toolbar (as told earlier) and drag and drop it on the form.
    4. Drag the Data schema which u have made(Read_more) and drop it on the browser on form. On right hand side u will se the mapping done.
    5.Click on the "Browser" which is there in the form and on the right hand side of the form u will see the property window.
    6.In property window change the value of action property to "Item Entry point"
    7. Repeat step 3 and 4 in Render and show form but using "label" nad not browser.
    Do not forget to add Save button in Edit Form.
    This will solve your problem.
    PS:Rewards Point Please.
    Regards,
    Naveen Gupta

  • How to display system property in XML forms

    Hi
    We are using XML forms template for publishing news in KM. In the show form we got author field (a label in the form) which is mapped to system property createdby (PropertyReference = /Properties/default:createdby).But while displaying the form author is not getting populated. When I try to edit the form in XML forms builder in data model tab under properties node no property is visible. Nothing is shown up in properties even after reload option is selected from context menu of properties node.
    I cheked by manually editing PropertyReference to some other property (e.g. modifiedby) but nothing is showing up.
    Can you please suggest how the createdby system property can be shown in the xml form?
    Thanks & Regards
    Sudip

    Hi Sudeep,
    Please try to open the formbuilder in another machine and try to see the properties xml form design view.
    You can even directly can create a lable in show form and add the property name along with the nama space name.
    For default properties namspace is default.Create a lable UI element in show form and select the datasource property and add the property value in that.
    With we can show file related system generated properties in show form.
    Regards,
    Rudradev Devulapelli

  • How can you update the content of a textfield in a dynamic xml form from MSAccess and VBA

    I am trying to use the code below to update a field in a dynamic xml form created by Livecycle.
    I can read the field content but cannot change it.
    What am I missing?
    Thanks
    R
    Sub test()
    Dim oPDF As AcroPDDoc
    Dim FileDestName As String
    Dim jso As Object
    Dim ofld As Object
        FileSrcName = "C:\Documents and Settings\My Documents\ADOBE Forms\NoVB.pdf"
        Set oPDF = CreateObject("AcroExch.PDDoc")
        Set jso = oPDF.GetJSObject
        Set ofld = jso.getfield("form1.TopForm.Header.Subform1.Contact")
        Debug.Print ofld.Value
         ofld.Value = "HHH"
        Debug.Print ofld.Value
    oPDF.Save PSsavefull, FileSrcName
    oPDF.Close
    Set jso = Nothing
    Set oPDF = Nothing
    End Sub

    You need to research the difference between an AcroForm and an XFA form.  You're trying to access a "Field" object, which is an AcroForm object.  An XFA form does not have fields, it has nodes.  The JavaScript you are using is specific to AcroForms and you are working with an XFA form.

  • Delete button in xml form

    In the RenderListItem form, I did included two buttons :
      - edit button to edit the news => work perfectly
      - delete button to delete the news => the problem
    When I click on the delete button, I receive the following message :
    XML - Forms 
    Item /BvD-it SEPNews/Others/0056c04e-7c12-2a10-8185-c74e6f577c75.xml does not exist
    but the file do exist.
    When I click on the OK button (at the end of the message), the news is effectively deleted.
    So this is functionnaly working, but it comes with a non relevant error message.
    Thank you for your help
    Vincent

    Hi ,
    there are various ways of doing it..
    You can try as the previous post says or also you can try When new block instance trigger and disable the item
    using set_item_property , it all depends on when and how you want to diable that item.

Maybe you are looking for