IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
FormEntriesSeed property in Telerik.Sitefinity.Forms.Model.FormDescription is obsolete. Use FormsManager.Provider.GetNextReferralCode(entry type name) as a value for ReferralCode of new entries.
FormEntriesSeed
Telerik.Sitefinity.Forms.Model.FormDescription
FormsManager.Provider.GetNextReferralCode(entry type name)
ReferralCode
IFieldConfigurator interface method Configure now receives backend control as reference parameter and has the following signature:
IFieldConfigurator
Configure
void Configure(ref FieldControl backendControl, IFormFieldController<IFormFieldModel> formFieldController);
Based on this, Configure method in all classes that implement this interface must be modified to follow the signature.
LibrariesManager and LibrariesDataProvider contain new instance methods for:
LibrariesManager
LibrariesDataProvider
RecompileMediaFileUrls
GetFileFromUrl
MediaFileLinks
MediaFileUrls
CreateMediaFileUrl
GetMediaFileUrls
CreateMediaFileLink
GetMediaFileLinks
IContentService and ContentServiceBase contain new methods for file link manipulations – CopyFileLink and GetMediaFileLinks.
IContentService
ContentServiceBase
CopyFileLink
Use GetString("FieldName") to construct anonymous types For example:
GetString("FieldName")
.Select(d => new
{
FieldName = d.GetString("FieldName")
});
must be updated to explicitly case ToString() e.g.
FieldName = d.GetString("FieldName").ToString()
ContentItemContext has new property SfAdditionalInfo that holds the descendants' specific information that is consumed by the clients. For example, it is used for MediaContentService to pass specific information without breaking the generic contract. The information for MediaFile – TotalSize, DefaultFileName.
ContentItemContext
SfAdditionalInfo
MediaContentService
MediaFile
TotalSize
DefaultFileName
Method ResolveThumbnailFilePath has optional culture parameter:
ResolveThumbnailFilePath
string ResolveThumbnailFilePath(MediaContent media, string tmbName, string fromPath = null, string culture = null);
When you add or delete a language on your site, the changes are persisted on the file system, regardless the storage mode that you have configured. The changes are saved in the ResourceConfig file. This is because languages are part of the building of the metadata source for connecting to the database. In addition, changing the languages changes the database structure and all structural changes are transferred through the deployment package
ResourceConfig
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important