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 on the table and it’s in Sitecore Webforms? 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

improvement · module

How to get public URL of a media item inside Sitecore

This one is to introduce an approach for getting public URL of a Sitecore media item inside Sitecore. As you all know in large setups the CM and CD are separated so it’s not always easy to know or guess what the public domain is especially for multisite setups. With user friendly public url, the user… Continue reading How to get public URL of a media item inside Sitecore

development · module

Pre-population Item Version module for Sitecore development

Someone wants you to develop a simple Sitecore module which supports to pre-populate Sitecore item versions so that he doesn’t have to enter bulk of data fields manually when a very first language version of a specific site is created (that guy is so lazy and so am I :D) Assumptions: the sites have >= 2 languages the module… Continue reading Pre-population Item Version module for Sitecore development

cms · field · module

Sitecore Custom Field – Image Coordinate Picker

Someone wants you to develop a Sitecore custom field which allows for the users to pick the image coordinate inside Sitecore. The main purpose is to render the hot spots correctly on Hero Image / Banner Image as are the ones are defined inside Sitecore. Assumptions: based on GOOGLE MAP LOCATION PICKER FIELD the hot spot items… Continue reading Sitecore Custom Field – Image Coordinate Picker