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.
PageData has new property VariationTypeKey. This property’s value is used to differentiate personalization page variations from A/B test page variations. For personalization page variations, its value is “pers”, and for A/B testing page variations it is set to “abtest”. An upgrade script runs upon first start of Sitefinity 10.2 that sets “pers” value for all personalization page variations that has been created before the upgrade.
VariationTypeKey
SitefinityContextBase.GetSites method was added a new optional parameter – ifAccessible. It allows to get only the sites that the user has permission to access from UserActivityManager cache. This is backward compatible as it does not change the behavior of previous uses without passing the parameter – in that case it still returns all the sites.
SitefinityContextBase.GetSites
ifAccessible
UserActivityManager
The below properties, fields, classes and enums have been removed in regards to the removal of the Silverlight Video player in Sitefinity
Telerik.Sitefinity.Modules.Libraries.Configuration.LibrariesConfig.MediaPlayerMode
Telerik.Sitefinity.Modules.Libraries.Configuration.LibrariesConfig.UploadMode
Telerik.Sitefinity.Modules.Libraries.Web.UI.EmbedControl.DefaultSilverlightEmbedStringTemplate
Telerik.Sitefinity.Modules.Libraries.Web.UI.ThumbnailMediaPlayerDialog.MediaPlayerMode
Telerik.Sitefinity.Modules.Libraries.Web.UI.Videos.MediaPlayerControl.MediaPlayerMode
Telerik.Sitefinity.Modules.Libraries.Web.UI.Videos.MediaPlayerControl.SilverlightPlayerSkin
Telerik.Sitefinity.Modules.Libraries.Web.UI.Videos.MediaPlayerControl.TemplatePath
Telerik.Sitefinity.Modules.Libraries.Web.UI.Videos.ThumbnailMediaPlayerControl.MediaPlayerMode
Telerik.Sitefinity.Web.Configuration.ConfigDescriptions.MediaPlayerMode
Telerik.Sitefinity.Web.Configuration.ConfigDescriptions.UploadMode
Telerik.Sitefinity.Web.UI.Fields.FileField.UploadMode
Telerik.Sitefinity.Web.UI.Fields.ThumbnailField.MediaPlayerMode
Telerik.Sitefinity.Modules.Pages.ScriptRef.Silverlight
Telerik.Sitefinity.Modules.Libraries.Configuration.LibrariesFileUploadMode
Telerik.Sitefinity.Modules.Libraries.Configuration.LibrariesMediaPlayerMode
Telerik.Sitefinity.Modules.Libraries.Web.LibrariesRadUploadHandler
Telerik.Sitefinity.Modules.Libraries.Web.UI.Videos.ThumbnailControl
Telerik.Sitefinity.Analytics.Infrastructure.Services.AnalyticsAccountService.GET
Telerik.Sitefinity.Analytics.Infrastructure.Services.AnalyticsAccountService.Get
Telerik.Sitefinity.Analytics.Infrastructure.Services.AnalyticsAccountService.POST
Telerik.Sitefinity.Analytics.Infrastructure.Services.AnalyticsAccountService.Post
Introduced performance optimizations when working with Discount and CartDiscount objects. Discounts are no longer fetched on each operation inside the method logic but can be passed as an optional method parameter instead and this parameter will be used in the method execution chain.
NOTE: This change enables you to pass a list of discounts when working with the respective methods. Keep in mind you need to manually filter the list for active discounts (OrdersManager.GetDiscounts().Where(x => x.IsActive).ToList(); ) as the default implementation will not apply the filtering. If you pass any non-active discounts, Sitefinity will treat them the same way and will apply them as well. If you do not pass any discounts Sitefinity will get them using the old logic.
OrdersManager.GetDiscounts().Where(x => x.IsActive).ToList();
Telerik.Sitefinity.Modules.Ecommerce.Orders.Interfaces.IDiscountCalculator
New method signatures:
Telerik.Sitefinity.Modules.Ecommerce.Orders.Interfaces.IDiscountCalculator.ApplicableCartDiscounts
CartDiscounts
CartOrder
Telerik.Sitefinity.Modules.Ecommerce.Orders.Interfaces.IDiscountCalculator.CalculateAndApplyOrderDiscounts
CalculateAndApplyOrderDiscounts
List<CartDiscount>
Telerik.Sitefinity.Modules.Ecommerce.Orders.Interfaces.IDiscountCalculator.SumRoundedOrderDiscounts
SumRoundedOrderDiscounts
Changed method signatures:
List<Discount>
All methods listed below now accept a List<Discount> as an optional parameter. If none is specified, Sitefinity will use all active discounts.
Telerik.Sitefinity.Modules.Ecommerce.Orders.Business.DiscountCalculator.ApplicableCartDiscounts
Telerik.Sitefinity.Modules.Ecommerce.Orders.Business.DiscountCalculator.CalculateAndApplyOrderDiscounts
Telerik.Sitefinity.Modules.Ecommerce.Orders.Business.DiscountCalculator.SumRoundedOrderDiscounts
Telerik.Sitefinity.Modules.Ecommerce.Orders.Business.Calculators.DiscountCalculatorBase.ApplicableCartDiscounts
Telerik.Sitefinity.Modules.Ecommerce.Orders.Business.Calculators.DiscountCalculatorBase.CalculateAndApplyOrderDiscounts
Telerik.Sitefinity.Modules.Ecommerce.Orders.Business.Calculators.DiscountCalculatorBase.SumRoundedOrderDiscounts
New empty value for non-nullable GUID array field – empty array
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