Skip to Content
author's profile photo Former Member
Former Member

Cannot get XML forms to show in KM navigation iView


I'm trying to put an xml form I have done into the portal. Unlike most examples I could find in the documentation I only want to have one iview which is a text editor, and another which displays the text. I followed all the instructions, and used the layout set NewsBrowser to display the iview with the text as display only (I have tried this using the Show form and RenderListForm). However, I am unclear what to put in the "Path to Initially Displayed Folder" and "Path to Initially Displayed Folder". The XML form appears to be in the /documents folder under "xmlforms", "xfbuilder", "preview" but if I use this it cannot display the form. I tried to copy the xml files to my own folder /documents/Welcome but it still came up blank. I have also tried to use the xml form from the /etc folder but with no luck. I have the same result when trying to bring up the Edit form too.

Can anyone advise what I'm doing wrong?



Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2008 at 06:10 AM

    Hi Stewart,

    For displaying the xml forms as news you just follow thye steps.

    Create the xml forms in xml form builder and generate it .

    Create a folder in km (for example documents/testfolder).

    Navigate to the folder and on the top there is a menu bar goto folder->new->forms

    Inside the forms you can see the list of xml forms there you select your form.

    Edit form will appear and enter the values in edit form and save it.

    Xml news is created in that folder(testfolder).

    Give the folder path in iview as path to initiallly displayed folder and layouyt set as


    Now you can view the news.

    Just check it.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Stewart,

      I'm not sure about what exactly do you need, but as far I know you want:

      - an iView to create/edit a xml document

      - an iView to display the document

      But before going to PCD and create the iViews let's start with some work on KM

      help me with the checklist:

      - You have created and generated the XML Form project, which can be found into /etc folder

      - Your workplace (where you're running the tests) is /documents/Welcome and you have set the

      availbility of your xml form for this folder (as Aliaksandr Zhukau reply)

      Now how it's going to work:

      The documents created will be into a folder inside /documents, if you use another folder you may get

      runtime errors. You have access to KM and can work freely and create the documents, but end users

      without admin rights can't access KM, so that's when we must create a KM Navigation iView so the

      user can have a view of part of KM and work there.

      as for

      I am unclear what to put in the "Path to Initially Displayed Folder"

      that's where you

      set /documents/Welcome

      Also, I need to be able to give the user the edit form as an iview

      You could instead use a

      KM Document iView with a layout set that opens directly the edit form, but that's not good because it's

      static, you'd need one iView for each document. I'd advise having a KM Navigation iView where the user

      has a view of all documents and edit them by clicking on the context menu and selecting Edit option.

      When I use a News Explorer I get New SAP Demo News, New Sponsored link etc across the top 
      of the iview - do I need to exlude these? They do not exist in the folder I am referencing but they still 

      You fix that on Forms Availbility (as Aliaksandr Zhukau explained) or you can change the

      layout set to not show any control options (but then users wouldn't be able to create anything anymore)

      I have just gone back into the XML form builder to check it all yet again and it seems to have lost 
      various settings and I can no longer display the Dataschema and it will not let me select a form for 
      show. It looks like it has corrupted somehow.

      It can be the version of your java runtime

      environment, try restarting it (or the pc). If you still have the problems with datamodel not appearing, try

      creating any object, go on its properties, dataschema and type anything, then the datamodel loads on

      the left panel. If still nothing works and the xml forms builder seems corrupted check if others projects

      works, if they do it can be the width/height of the forms of the project you were working and change it

      from fixed to relative dimensions.

      hope this helps, if not fill me in with more details,


      Edited by: Rafael Martins on Dec 18, 2008 10:45 AM

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2008 at 09:26 AM

    Hi, Stewart.

    Please check step by step tutorial [How_to_create_XML forms.pdf|] until you fully understand a process of creation XML Forms. It's a good how to guide, but it misses one important step - Forms Availability setup.

    In CM Configuration navigate to Form-Based Publishing -> Forms Availability -> Folder Settings. Create a new entry with the path where your items are stored (for example - /documents/Welcome) and the name of the XML Forms Project as Forms to Include.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 15, 2008 at 05:42 PM


    if you just want to show text, why don't you use an HTML document in KM displayed in a "KM document" iview ?

    Sorry for not answering the question, but that could be a way of doing what you want.


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 02:04 PM

    Thanks for the replies. I had done as you all specified but still it did not work, and so I started again, and as far as I know did everything the same except this time it seemed to work. No idea why but suspect there was something wrong with the original xml form.

    My only comment would be for the editing person, who is required to access the editor by an iView and will not have direct access to KM, the context menu appears as a tiny little icon on the far right of the screen - easily missed. Is there any way to make this more prominent?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.