My Write-Ups Blog

Gaining Knowledge by Sharing Findings

Possible acting as an IT department

Sitefinity Classic Editor DateTime format

Issues1/ Content Edit Page – Show mm/dd/yyyy 2/ Content Listing Page – Show unknown (AM / PM) time What I did to resolve it? 1/ Add a new ViewMap Control Advanced Settings → Controls → ViewMap → <Create new>HostType: Telerik.Sitefinity.Web.UI.Fields.DateField, Telerik.SitefinityLayout: ~/Utils/Extensions/DateFieldExtended.ascx Sample: DateFieldExtended.ascx ( 2/ Update Content Type Listing DateTime Format Advanced Setting →Continue reading “Sitefinity Classic Editor DateTime format”

Sitefinity Content Security Policy Setting

There is an option to update CSP rule in backend dashboard setting from Sitefinity v11 onwards, under/Sitefinity/Administration/Settings/Basic/WebSecurityBasicSettings Please avoid remove the default CSP rule as it has high chance you will break Sitefinity frontend / backend unwillingly. Example front-end broken: Example back-end broken: How to fix it? Related article:

Sitefinity – Investigate Schedule Task

Intro Scheduled tasks in Sitefinity CMS are objects that can execute a predefined set of operation at a particular point in time. You can use scheduled task… (read from reference..) Expected Workflow Schedule a task during application start Trigger ExecuteTask() Run ScheduleTask() Repeat 2-3 Schedule Task Code There are two important method, ExecuteTask() -> ItContinue reading “Sitefinity – Investigate Schedule Task”

Sitefinity – Best Practices When Implementing Custom MVC Widgets

In this sample, I have implemented IContentLocatableView IHasCacheDependency (SubscribeCacheDependency) HandleUnknownAction ContentBaseController and ContentModelBase  It has the main functionality for constructing all the out-of-the-box SEO properties, supporting listing and detail pages. When this class is implemented, you will be able to call the InitializeMetadataDetailsViewBag method, pass in it the item that is currently being displayed and based on theContinue reading “Sitefinity – Best Practices When Implementing Custom MVC Widgets”


EST. 1993 @