Shareable types are configured using the SiteGroupManager shareableTypes property. This property points to ShareableTypes nucleus components. Any siteGroup repository item references ShareableTypes components through their ID property.

For example:

#NewShareableType.properties
$class=atg.multisite.ShareableType
id=NewShare
genre=atg.ExampleItem
diaplayName=New Share ShareableType
description=The New Share ShareableType
resourceBundleLocation=atg.newshare.NewShareResources
displayNameResourceName=displayName
descriptionResourceName=description

The atg.mulitisite.ShareableType class contains the following properties, as displayed above:

Setting Up ShareableTypes Arrays

The enumerated string options for the shareableTypes property are provided by a StringEnumProvider, which retrieves the valid shareable types from the SiteGroupManager.

You can set up the enumerated string by creating a new StringEnumProvider property file.

For example:

$class=atg.adapter.gsa.StingEnumProvider
Values+=/atg/multisite/SiteGroupManager.shareableTypes

Once the StringEnumProvider is configured, the ShareableType selector will use the EnumCollectionEditor.