cancel
Showing results for 
Search instead for 
Did you mean: 

Display Order of XML Form

Former Member
0 Kudos

I am creating an XML form so that users can create a list of events, with details about the events. Each event has the following details:

EventTitle

EventDate

EventStartTime

EventDescription

In the list view, I want to display the XML forms in order of the event date (ie order by property EventDate).

Can anyone guide me on how to achieve this?

Thanks

Regards

Richard

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Richard,

In the Parameters of the Collection Renderer Settings, you can find the Property for Sorting(rndSortProperty)which specifies the <b>initial sort property</b>.

Also these links must be helpful,

/thread/49630 [original link is broken]

/thread/47960 [original link is broken]

http://help.sap.com/saphelp_nw04/helpdata/en/1a/9a4a3b80f2ec40aa7456bc87a94259/frameset.htm

Regards,

Shankar

Former Member
0 Kudos

Hi Shankar, thanks very much for your assistance!

Those links have solved my problem.

To summarise for anyone else who is attempting to do the same:

1. Create a custom property

2. Include the customer property in your XML form

3. Create/Edit a resource renderer, and set the Property for Sorting to the property that you created in (1). Note that this has to be preceded by the namespace in the format <namespace>:<propertyID>

4. Include this resource renderer in a layout set

5. Set your iview to use the layout set.

Hopefully I haven't missed out any important steps here!

Thanks again for your help!

Regards

Richard

Former Member
0 Kudos

Hi,

I have just implemented this solution and it was not working for me... after time spent investigating the cause I have found it:

This solution doesn't work if you have manual ordering set for the particular folder where you are storing the XML items that you save from your XMLform!!!

Disable manual ordering on the KM folder that you plan to use.

That's all you need.

Um Bem Haja!!

/Ricardo Quintas

Answers (0)