Skip to main content

Posts

Showing posts with the label address

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...