Flexible date validation for Sitecore Forms based on a current date

Currently, the Date form element  that comes with Sitecore Forms out of the box allows to set start and end date properties, which corresponds to the earliest and the latest acceptable date available in a date picker. A user will not be able to select a day that does not fall within the range. Though, … Continue reading Flexible date validation for Sitecore Forms based on a current date

Troubleshooting index update job issues in Sitecore

Having seen many question on the Sitecore Stack Exchange related to index update job issues, I've decided to write a blog post on how to identify a root cause of those issues and fix them. For example, it can happen that an index is updated too often or not often enough. Verify what index update … Continue reading Troubleshooting index update job issues in Sitecore

Enabling contact-related personalization when retrieving Sitecore content for native mobile apps

When it comes to retrieving Sitecore content for native mobile apps, the first thing that comes to mind is to use Sitecore Layout Service REST endpoint and Dictionary Service. And considering that the Layout Service rendering process goes through the Rendering Engine, personalization rules will be respected. However,  there is a caveat, in the context … Continue reading Enabling contact-related personalization when retrieving Sitecore content for native mobile apps

An alternative approach for sending interaction data from native mobile apps to Sitecore

An approach to use the Sitecore Universal tracker for sending interaction data from native mobile apps to Sitecore, described in the previous blog post,  might not be feasible in some cases, for example, when the versions of Sitecore does not support it. In this case, another approach can be taken by using xConnect together with … Continue reading An alternative approach for sending interaction data from native mobile apps to Sitecore

Approaches for writing interaction data from native mobile apps to Sitecore with examples for Android (Kotlin)

Leveraging  tracking not only on the web channel but also on mobile apps will provide greater and more detailed reports for marketers to identify patterns and trends to achieve better conversion. In this blog post I will share what are available approaches for writing interaction data from native mobile apps to Sitecore, with examples for … Continue reading Approaches for writing interaction data from native mobile apps to Sitecore with examples for Android (Kotlin)

Structures vs static classes for Sitecore template references

Over the last few years, Helix design principles have become the community standard and dramatically improved overall quality and maintainability of Sitecore solutions. I believe even small enhancements are beneficial, therefore in this blog post I will share some details that should help you decide how to store Sitecore template references in your project. You … Continue reading Structures vs static classes for Sitecore template references

How FluentValidation can simplify maintenance and improve code reusability

In this blog post I will share what advantages the use of FluentValidation can bring  compared to DataAnnotation validation. Also I will provide a few examples of custom validators for validating file extension and mime-type, which are not built-in into the library. FluentValidation is a .Net library that uses a fluent interface and lambda expressions … Continue reading How FluentValidation can simplify maintenance and improve code reusability