Develop Robust Content Layouts
Content layouts need to be robust to the three types of response data that you get from content REST calls:
-
Content item: with the
expand=all
parameter will have references expanded and large text fields. -
Content item: without
expand=all
will not have references expanded but will have large text fields. -
Content queries will not have references expanded or large text fields.
To improve performance, the content REST call that retrieves asset data no longer includes the expand=all
parameter, as of the 19.2.3 release of Oracle Content Management. The expand
parameter tells Oracle Content Management to drill down and retrieve all the referenced items as well as the current item in the response. Custom content layouts that rely on data retrieved through the expand
parameter need to be updated to handle cases where the data retrieved does not contain the referenced field values.