Assets Are Returned In Different Order When maxcount Is Set in assetset:getassetlist Tag

(Doc ID 2262378.1)

Last updated on JULY 07, 2017

Applies to:

Oracle WebCenter Sites - Version to [Release FatWire]
Information in this document applies to any platform.


Use Case

Custom code is implemented to obtain an asset with the latest updateddate (or some custom date attribute, e.g. TestDate) from a list of assets of the same type.

Sample Setup

1. In FirstSiteII, created new Content_A attribute: TestDate, new Content_CD def, TestDateDef, and 5 new Content_C assets with different dates.

2. Created a Template (e.g. RenderAssetDate) to render the asset's date value.

3. Created another uncached Template to use the assetset:getassetlist to retrieve the list of assets and display the latest asset using customer code.

Sample Code




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms