My Oracle Support Banner

Assets Are Returned In Different Order When maxcount Is Set in assetset:getassetlist Tag (Doc ID 2262378.1)

Last updated on DECEMBER 05, 2019

Applies to:

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

Symptoms

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

 

Observation

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.