Recently we encountered a warning message “Couldn’t lock the item LHSImage RHSCopy 2” when we changed an image of a custom email and click the save button. We have several custom Sitecore EXM email templates and most of them consist of few custom Sitecore components. “LHSImage RHSCopy 2” is one Continue Reading
PowerShell scripts to get Sitecore User information
Sometimes we might need to get Sitecore user information in detail. The information might not find in the same place. Different scrips might be handy to extract different information. Get user id, user domain, and if the user is an adminScript: Output: Get user rolesScript: Output: Get all propertiesScript: Output: Continue Reading
Dialogflow Custom Payload for Facebook Messenger
We are developing a chatbot for one of our clients. The chatbot is for Facebook Messenger and in the backend, we are using Google Cloud Dialogflow. Dialogflow is a natural language understanding platform. Our requirement was to provide an engaging user experience. We used a few custom messenger templates to display Continue Reading
Send alert when Sitecore running jobs get stuck
Recently we faced one issue in production that Sitecore job hangs or gets stuck. This issue is blocking other jobs and all our search index re-build jobs were in the queue. End users were not getting optimal search experience and our latest published content was not showing on the live Continue Reading
Programatically resume paused email – Sitecore EXM
When an email campaign is dispatched, it moves through a number of states (Draft, Queuing, Sending, and Sent). If an error occurs during dispatch and the IIS server is interrupted, the email campaign is not moved to the Sent state. Instead, it is moved to the Paused state and the Continue Reading
Sitecore 9 Experience profile common error
Recently I have set up Sitecore 9.1 (scaled) for our UAT environment. While I was browsing the experience profile from the launchpad I was getting an error and no-data were displaying in the dashboard. And in the CM log I found the following: I searched in the internet and found Continue Reading
Remove Sitecore users in bulk
Sometimes we might need to clear old users / specific domain users. We can do this job from the Sitecore User Manager and remove them one by one. But if the number of users is more then it will be a tedious job. We can do it in bulk using Continue Reading
Filter user by domain in Sitecore User Manager
Recently we encountered an issue in Sitecore user manager. We have more than 500k users, while trying to find any specific user, it was troublesome to get the right user. We were thinking if we could filter users by domain then it will be easier to find the right user. Continue Reading
Dependency Inversion Principle and the Dependency Injection Pattern
Introduction Every day we write lots of code that are tightly coupled and when complexity grows code will eventually deteriorate into Spaghetti Code. Which violates the Dependency inversion principle. In software design, tight coupling is often considered to be a liability in design. When one class knows explicitly about the Continue Reading
Unsubscribe email in Sitecore EXM
There could be a scenario when you might need to unsubscribe contact programmatically. For example, you have a legacy third-party email management system and whenever a user unsubscribes an email in that system, you want to add them to your Sitecore EXM unsubscribe list. There are a few challenges, firstly, Continue Reading