Posts

Showing posts from January, 2025

How to Enable Voice Search in Sitecore Content Editor

Image
How to Enable Voice Search in Sitecore Content Editor Voice search is transforming the way users interact with digital content, and integrating it into the Sitecore Content Editor can greatly enhance content management efficiency.  In this blog, we’ll walk you through implementing a voice search feature in Sitecore, enabling content editor to find items faster using speech recognition. Customizing the Sitecore Search Bar in the Content Editor Step 1:  Locate and edit the Default.aspx file, where the search bar of the Content Editor can be found. The file is located at the following path. C:\inetpub\wwwroot\sc.dev.local\sitecore\shell\Applications\Content Manager\Default.aspx You will need to add some custom code to display the voice recognition icon on the search bar. <div class="speech" style="position:relative"> <input id="TreeSearch" class="scSearchInput scIgnoreModified" value="<%= Translate.Text(Texts.SEARCH) %>" ...

How to customize a general link button to create a dynamic link with an internal link and a data source in Sitecore

Image
I needed to generate a dynamic link with an internal link and data source item.  For example, I wanted to create a link like the one below. https://local.com / faq #heading- 4f8d1f56-54af-4f2b-9f9b-0dcc6bcdec0b /faq- Sitecore page item 4f8d1f56-54af-4f2b-9f9b-0dcc6bcdec0b -  data source item Let's dive deeper into the process. Switch to the core database in the CMS. Navigate to the folder path:  /sitecore/system/Field types/Link Types/General Link/Menu Create a new item for the custom link button and provide a display name for the message. **Message:** This is similar to the command action name.   Use: `contentlink:accordionlink(id=$Target)`  Expand the Link Field to include the custom button action. Use `" control:AccordionLink "` to find the AccordionLink control and open the dialog box. Create an XML file for a custom link to open a dialog box with an internal link and data source item. Extend a LinkForm field to develop a new custom submit action for a ...