enhancement · module

Playing around with Sitecore custom validators per template

Once we have followed Helix architecture principles, there have been some base templates are used by Page Type templates. For instance, we have a _BaseContent template (fields: Headline, ShortDescription, Body) and it’s a base template of various templates. There is a Max Length Validator for Headline field. However, the max length value is the same for… Continue reading Playing around with Sitecore custom validators per template

module

Playing around with Sitecore user-friendly redirect template

Sometimes, a Sitecore web page will be managed by another vendor. In order to pass PageRank, the owner may ask you to perform 301 / 302 redirect for that page. In terms of Sitecore development, there are many Sitecore modules on Sitecore Marketplace and Github for that purpose. Frankly, I have not played around with… Continue reading Playing around with Sitecore user-friendly redirect template

module

How to test API endpoints from behind a proxy server via Sitecore user interface

We have a Sitecore scheduler task which CRUDs Sitecore items daily. The data source is from the response of an API endpoint which is managed by another vendor. Recently, no data has been returned. As always, the Sitecore log is valuable to check for root causes and from the logs, we can see that the… Continue reading How to test API endpoints from behind a proxy server via Sitecore user interface

module

How to integrate HubSpot Form to Sitecore

Someone wants you to integrate an existing submit form of an external system, for instance – HubSpot form – to her Sitecore web application and also make it editable so that she will be able to replace it to another one later without the code change. Assumptions using a trial account to create HubSpot forms https://www.hubspot.com/products/get-started https://knowledge.hubspot.com/articles/kcs_article/forms/create-forms… Continue reading How to integrate HubSpot Form to Sitecore

development · framework

Sitecore 9 and my simple development framework version 2.2

Sitecore Experience Platform 9 Update 2 (aka Sitecore XP 9.0.2) was out two months ago. Personally, I wanted to wait for the new release of awesome ones such as Glass.Mapper.Sc version 5, Unicorn version 4.0.4 so that I had a chance to upgrade all of them as well. Finally, my simple Sitecore development framework version 2.2… Continue reading Sitecore 9 and my simple development framework version 2.2

framework

Sitecore 9 and my simple development framework version 2.1

HAPPY LUNAR NEW YEAR! My simple development framework version 1.8 (for Sitecore 8) was out a few days ago. I’ve just merged things below of version 1.8 to version 2.1 (for Sitecore 9): Adapting new Unicorn 4’s feature: modular architecture friendly configuration Integrating Site-Specific Error Handle module and putting the content into cache as well Adding Multisolution project (Foundation layer) in… Continue reading Sitecore 9 and my simple development framework version 2.1

framework

My simple Sitecore development framework – Version 1.8

HAPPY LUNAR NEW YEAR! I’m excited to have a chance to play with my simple framework again. In fact, I’m a huge fan of Unicorn – a very helpful utility for me – to set up a local developer machine with a running environment (no shared Sitecore databases). In addition, it’s developer-friendly (I’m a friendly developer :D). This… Continue reading My simple Sitecore development framework – Version 1.8

improvement · module

How to handle errors of a specific site on a shared Sitecore instance

Well, the gatekeeper does not allow us to edit web.config file so we have to find out the way to handle the custom errors of our own Sitecore MVC sites on a shared Sitecore instance. All we can do is to play around with patching config files. Assumptions (for a specific site) if a non-existent… Continue reading How to handle errors of a specific site on a shared Sitecore instance

enhancement · module

Report viewer restriction on Sitecore Experience Analytics Dashboard

It seems that we cannot prevent someone to view the analytic report of a specific website on Sitecore Experience Analytics Dashboard in case he has access right for it (normally, his Sitecore role is sitecore\Analytics Reporting). Per my investigation, we can try to solve it by adding an additional logic to this file \sitecore\shell\client\Applications\ExperienceAnalytics\Common\Layouts\Renderings\SubsiteFilter.cshtml which handles Subsite combobox… Continue reading Report viewer restriction on Sitecore Experience Analytics Dashboard

tools · utilities

How to restart Sitecore server via Sitecore user interface

A few years ago, I had a chance to work with Sitecore CMS version 6.6 and had to restart Sitecore server several times without IIS access to kill the publish process (it run forever sometimes). I suppose that I may do it again with Sitecore version 7.X and Sitecore version 8.X for some reasons as well.… Continue reading How to restart Sitecore server via Sitecore user interface