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

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

How to mix renderings with sublayouts on a Sitecore MVC layout

One day, I asked my beloved Sitecore team: “Guys, what would we do when we have a Sitecore 8 project and it’s in Sitecore Webforms on the table? The client wants to revamp some parts on the current websites.” The feedback: it’s a good chance for us to slightly switch to Sitecore MVC implementation. We’re… Continue reading How to mix renderings with sublayouts on a Sitecore MVC layout

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