What is Flex Asset Model ?
The flex asset model is more complex than the basic asset model. Unlike basic assets, where the information for one instance of an asset is stored in one row of a database table, the information for one instance of a flex asset is stored in multiple database tables.
Whereas basic asset types are standalone asset types, flex asset types are composed of families of asset types. The members of a flex family are:
flex attribute type (required)
flex asset type (required)
flex definition (required)
flex parent (required)
flex parent definition (required)
flex filter type (optional)
The members of a flex family form an asset inheritance tree, where child assets inherit various attributes from their parents.
- For instance, Assume we are building a website with 'Header', 'Footer', 'Banner' , 'Left Navigation Menu', and 'Body' components in a website.
- Let us create a Flex Definition for 'Header' which contains two attributes, One is 'Company Name' which is type of 'String' and another one is 'Call us(Phone Number' is of type String.
- Login to Webcenter Sites as a Admin role
- Click on 'Admin' tab , Click on 'Add New Flex Family' link as shown below
- Give the meaningful names to each flex family member as shown below.
- Give meaningful values for Description and Plural form values as shown below
- You should see successful confirmation message as shown below.
- Connect to webcenter sites database, and verify six brand new database tables should be created for each above created flex family.
- Enable the newly created flex family asset types. Follow below link how to enable asset types
http://fortunewebcentersites.blogspot.com/2014/10/how-to-enable-asset-types-in-webcenter.html
For More Information : http://docs.oracle.com/cd/E29542_01/doc.1111/e29605/user_flexassets.htm#i63198