Skip to main content

Posts

Sitecore 9 Forms :  Alphanumeric Captcha

Sitecore 9 Forms :  Alphanumeric Captcha As you know Recaptcha is not available on Sitecore 9.0.1 and Sitecore 9.0.2 forms, so I thought to create custom Google Recaptcha but my issue was Google Recaptcha was not working properly on Internet Explorer as it was asking 10 to 15 times to verify which is very frustrating, at the same time it was working for another browser so I thought to create custom Alphanumeric captcha as per client requirement. In previous blog, we have checked how to create Google reCaptcha field. Now we are going to create Alphanumeric Captcha using below steps: Create new viewmodel class AlphaNumericViewModel.cs [Serializable()]     public class AlphaNumericViewModel : StringInputViewModel     {         protected override void InitItemProperties(Item item)         {           ...

Sitecore custom field type to convert address to Latitude and Longitude using Google map API

Sitecore custom field type to convert address to Latitude and Longitude using Google map API Sitecore allows the user to create a custom field type as per requirement. This blog post will explain to you how to create custom field type to convert address to Latitude and Longitude, this is a super easy way to get Latitude and Longitude for Content Editor. Create new field Switch to Core Database and Navigate to this location “/sitecore/system/Field types” Create new folder “User Defined” using  this “/sitecore/templates/Common/Folder“ template Create new item “LatLong” using this template“/sitecore/templates/System/Templates/Template field type” Inside “LatLong” item add control name “customfields:LatLongField” Create new folder “Menu “ using  this “/sitecore/templates/Common/Folder“ template Inside “Set LatLLong”, set below values: Display name: Set Latitude Longitude Message: LatLongField:Set Inside “Menu” fold...

Sitecore Analytics Database Manager (ADM) Module Customization

Sitecore Analytics Database Manager (ADM) Module Customization Recently I got the situation where I want to remove multiple contacts from xDB. I do not want to write my custom code. Then I found Analytics Database Manager  ( ADM) 4.0.1 module in Marketplace, but it was not fulfilling my requirement because this module has only below options: Remove Historical Data :  Removing all contacts and all related data without interactions after the specific date Rebuild Calculated Facet : Historcial rebuild of calculated facets Remove Single Contact Data : Removing single contact by ID or identifier To fulfill my requirement, instead of creating a new tab for multiple contact removal, I did some minor change in Remove Single Contact Data.  Open “AdmTaskPage.js” from this location “sitecore\shell\client\Your Apps\ADM\AdmTaskPage“ Replace “removeContact” function from below code, to remove multiple contacts from xDB removeContactByID: function (...