Skip to main content

Posts

Showing posts with the label sitecore9

Sitecore 9 Forms: Google reCaptcha field

Sitecore 9 Forms: Google reCaptcha field  Re-Captcha is the most important part of any form’s submission. Google reCaptcha run internet bot detector and determined whether a user is a bot or not.  Sitecore Forms does not provide Google reCaptcha field, which was available in WFFM before, so I have created my custom Google reCaptcha.   Below you can find step by step process to create Google reCaptcha field. Create patch config for reCaptcha Sitekey and SecretKey <?xml version="1.0"?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/"> <sitecore> <settings> <setting name="ReCaptchaSiteKey" value="site-key" /> <setting name="ReCaptchaSecretKey" value="secret-key" /> </settings> </sitecore> </configuration> Create new viewmodel class RecaptchaViewMode

Create custom data attribute for Sitecore 9 Form Field

Create custom data attribute for Sitecore 9 Form Field Sitecore Forms provides you default form field like Text, Single-line text, Multi-line text, Email, Telephone, Checkbox except this it is very easy to create our custom Sitecore form field and custom Sitecore form field attribute. In this blog, we are going to discuss how to create custom Sitecore form field attribute in existing Single-line text. Move to the location /sitecore/templates/System/Forms/Fields/Field  and add CustomAttribute field with Single-Line Text Switch to Core db and go to this location /sitecore/client/Applications/FormsBuilder/Components/Layouts/PropertyGridForm/PageSettings/Common/Styling Create duplication item of CssClass and rename it with CustomAttribute Update FormLabel to Custom Attribute Add BindingConfiguration to customAttribute Now go to this location "/sitecore/client/Applications/FormsBuilder/Components/Layouts/PropertyGridForm/PageSettings/Settings/SingleLine

EXM Error: TypeError: ribbonFrame is undefined in Sitecore 9.0.2

EXM Error: TypeError: ribbonFrame is undefined in Sitecore 9.0.2 In Sitecore 9.0.2, have you seen this error in console “EXM Error: TypeError: ribbonFrame is undefined” while you are creating custom EXM message template and applying components?  Solution: Below patch file will be the solution: If you does not have Experience Accelerator (SXA) module installed, please use the link below: https://sitecore.box.com/s/6lrwqkwkjyq6cppbk5qrg3vfamfrolzg But if you do have SXA installed, use the link below instead https://sitecore.box.com/s/uqkmvuernr6kv56lyopt8t8zevui47lo

How to deploy Sitecore EXM Campaign from one environment to another environment

How to deploy Sitecore EXM Campaign from one environment to another environment After so much of effort I have created lot of EXM campaign on UAT and same EXM campaign I need to move on Production site. After moving all EXM campaign to Production they don’t appear in EXM interface. Then I contacted to Sitecore Support and Finally, I got the below resolution. Just to this URL  {YOUR_URL}/sitecore/admin/messagestatistics.aspx   and click on Upgrade. Now you can find newly imported campaign on EXM interface.

Sitecore 9 Installation Error: ERROR_SCRIPTDOM_NEEDED_FOR_SQL (The SQL provider cannot run because of missing dependency. Please make sure that Microsoft SQL Server Transact-SQL ScriptDom is installed)

Sitecore 9 Installation Error: ERROR_SCRIPTDOM_NEEDED_FOR_SQL (The SQL provider cannot run because of missing dependency. Please make sure that Microsoft SQL Server Transact-SQL ScriptDom is installed).  Few days ago, I thought to install Sitecore 9 while I was installing Sitecore 9 I faced this issue:   after some research I found this solution. Go to Run and type “regedit” Go to this location “Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\3” Right click on right hand side, select New->String Value. Type name “DacFxDependenciesPath” Then click on Name then Modify and update Value Data “C:\Program Files (x86)\Microsoft SQL Server\130\SDK\Assemblies” Again, right click on right hand side, select New->String Value. Type name “DacFxPath” Then click on Name then Modify and update Value Data “C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\130” Then ru