on 2004 Jan 12 1:34 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Olivier,
I changed the link fields to use href = preview and removed the XSLT filter and it's now working, without having to play with the OTH file either.
The weird part is that from the ListEdit, the edit form opens within the iView, but from the ListShow the Show form opens in a new window. I never did get the XSLT filter to work though, despite trying every combination of / and *.
I look forward to playing with the EP6 version 😉
-Richard
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
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.