You can use the <load-items>
tag in a repository definition file to load specified repository items on application startup. For example, you could load three items of the users
type with this tag:
<load-items item-descriptor="users">john,paul,ringo</load-items>
The PCDATA for this element is a comma-delimited list of repository IDs that should be pre-cache during start-up of the repository. The properties
attribute, which is optional, specifies a list of property names to cache. For example, the following caches the displayName
and description
properties of four product items:
<load-items item-descriptor="product">
properties="displayName,description">
prod10001,prod100001,prod100002,prod100003
</load-items>