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

XML Forms Show displays raw XML

Morning all,

I have created a set of forms based on the HowTo document and when I click on an item in the ListShow form displayed in the iView I get the raw XML displayed instead of a rendered Show form. A collegue has also tried with a new form and got exactly the same result.

Also, when we change a form, labels update almost immediately but any changes to fields don't show up untill the following day. Not sure if this is related or a separate issue but I guess the server has a few problems. We're using EP5 SP5.

Many thanks,

-Richard

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jan 12, 2004 at 01:34 PM

    Hello Richard,

    In EP5 SP5, there are two ways how the Show form can be displayed. This depends on the Alias you use in the HREF property of the link (i.e. label control) that opens the Show form (see section 3.3.3 in the HowTo-Guide).

    - href = preview (this is recommended by SAP for EP5 SP5) : The Show form is displayed using a preview servlet. The prerequisite for this is that an OTH file for displaying XML documents is configured. You can probably use the example OTH file that is shipped in the standard delivery, without changing anything.

    - href = this : The Show form is displayed using a repository filter. Please note that in SP5, a new filter needs to be added in the configuration for each new project. SP6 has an enhanced XML Forms repository filter where you need only one filter for all projects.

    You can find detailed information about this in the SP5 documentation under the following link:

    http://help.sap.com/saphelp_ep50sp5/helpdata/en/16/5ab48304e72e4b8df3863c131e220d/frameset.htm

    You may also check SAP Note 530946.

    Regards

    Olivier

    Add comment
    10|10000 characters needed characters exceeded

    • Hello Richard,

      in EP6, it is no longer recommended to use the ListEdit- and ListShow forms. We recommend that you rather use the RenderListItem form, that you can display using the Flexible UI. The performance is better with the Flexible UI, especially with large numbers of XML documents.

      The main difference is that you only need one form for list items. You do not need any commands like Create, Edit or Delete on this form. The commands can be configured using the Flexible UI.

      This is also available (and recommended) for EP5 SP5. You can find documentation on how to set up your iViews that use the RenderListItem form on the Help Portal under http://help.sap.com/ep -> End User Guide -> Knowledge Management -> Organizing and Managing Content -> XML Forms Builder -> Displaying XML Documents on the Flexible User Interface.

      Regards

      Olivier