Well, I've been in the archives ;-) Now I cannot say for sure, the solutions I list here will still be applicable in Sitecore 8. What I can say though, is that Sitecore will add LinkDB references to your fields and image items given that certain conditions are met:
- The Field Suite fields are defined in
/App_Config/FieldTypes.config
. Check this first. It is not enough to have them defined only in the core
database.
- The implementation of the fields must inherit from a Sitecore standard field - in your case a DelimitedField.
Looking at the source you listed, the latter does not appear to be the case and that might be why it doesn't get registered for you (if, indeed, you are certain the fields are configured in FieldTypes.config).
Mark Stiles blogged about this in 2013. Adding Fields To The Link Database. Mark specifically mentions using FieldSuite in this blog post, and mentions how he worked around it by inheriting the fields differently. He does not provide a full example, but he does list the 3 conditions required for any field:
- It should be a subclass of the Sitecore.Data.Fields.CustomField class.
- It should override the CustomField ValidateLinks method.
- It should have a constructor that takes a Sitecore.Data.Fields.Field object as an argument.
To me it looks like you need to tweak your base class FieldSuiteListItem
class and make it inherit DelimitedField
- and then fix whatever the compiler requires you to because of this. That would be where I would start, anyway.
edited to clarify
Fieldtypes.config
lives in the App_Config
folder. Alongside Sitecore.config
in recent versions. It is included from Sitecore.config
here:
<fieldTypes>
<sc.include file="/App_Config/FieldTypes.config" />
</fieldTypes>
And as Zachary points out below, these fieldTypes can indeed be patched using normal Sitecore config patching techniques.