How To Determine Which Flex Attribute Values Are Inherited Using Asset API (Doc ID 2056997.1)

Last updated on JULY 07, 2017

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Goal

Is there a way to distinguish between direct and inherited values on an asset?

For example, if you have the following parent asset structure with multi-value attribute category:

 *indicates an inherited value.

When you query for the category of the single parent, e.g. Fantasy, you receive an array in no discernible order ["fiction", "fantasy", "books"].
How can you identify which one comes from the asset itself, and which ones from its parents?
 

Solution

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