RestrictedToFeature
RestrictedToFeature allows a developer to indicate that certain retrieval fields will be included only if the current enterprise is subscribed to one of the given features.
<
CustomRetrievalField
>
<
FieldRef
levelType
=
"ZBKS.Book"
category
=
"PDF"
>
<
FieldName
>Title</
FieldName
>
</
FieldRef
>
<
Type
>MODEL_LINK</
Type
>
<
RestrictedToFeature
>ZBKS.BuyerFields</
RestrictedToFeature
>
<
RestrictedToFeature
>ZBKS.SellerFields</
RestrictedToFeature
>
<
ModelLinkMapping
surrogateIdSqlName
=
"SYS_BOOK_ID"
displayFieldSqlName
=
"TITLE"
/>
<
SortMapping
sqlName
=
"FULL_TITLE"
type
=
"STRING"
/>
</
CustomRetrievalField
>