If you are using Visual Studio 2019 and have the Habitat project and trying to run the Gulp script, You might find that you are getting errors. It might look like this { Error: spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\15.0\Bin\amd64\MSBuild.exe ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:232:19) at onErrorNT (internal/child_process.js:407:16) at process._tickCallback (internal/process/next_tick.js:63:19) This is an issue with…
Learn from failure. Fail quick and fail fast.
I know when I was learning to walk, I fell many times. So many times that it was ok to fall down and it was neither good or bad. It was just a process to “learn” how to walk. That’s the way it should be. I never trust a person who will say they were…
How to add Splash Screen on Xamarin.forms for iOS
Took a while. Project -> Resources -> Launch.StoryBoard add image here Project -> info.plist->iTunes Artwork
Simple way to Flip a string
I just thought sometimes simple extensions helps a lot. Like this Flip. public static string Flip(this string target, bool trimEnds) { if (trimEnds) target= target.TrimIfNotNull(); var len = target.Length; var newString = new string[len]; foreach (var c in target) { var temp = len; newString[temp – 1] = c.ToString(); len–; } return string.Join(string.Empty, newString); }…
Customizing Sitecore Upload Pipeline for both folder and database based Media
I wanted to upload documents to Sitecore Media library and at the time of upload, I would like to replace the metadata on the pdf file. Many of you probably have looked at this document for reference from Sitecore SDN. But that document has few problems. I will point those out as I write this…
Sitecore “Tracker.Current is not initialized ” issue
PROBLEM: Solution: Culprit is the MongoDB is not installed on your PC. Go through your config and disable connections to it. If you have MongoDB installed, make sure it is running and your connectionstring is correct. Steps: You have 2 Options to fix it. You can Install MongoDB and point your instance to it. …
How to elegantly handle a local datetime and UTC datetime
I have been working with a client that has a Hybrid environment. They have Azure tables, but their API is on prem and their internal Sql Server. To keep the data sync there is a WebJob that is running every 5 minutes and syncing on prem data with Azure tables. Problem they faced is the…
Working Visual Studio 2017, Sitecore 8.x and Sitecore Rocks
I am setting up a Sitecore Environment for a Project with Sitecore 8.2 and Sitecore rocks to work with Sitecore connection from visual studio. Since I have accidentally deleted my vmx file when working late on one of my VM. I though it would be fun to see what issues I face if I set…
Sitecore version reference image
I kept on forgetting what version of Sitecore offered what features. Once you work with something for awhile and keep on moving up the versions a lot of the time you lose track of what changes in what time. This image I got from Kiran’s site is useful. Hopefully you find it useful too.
Issues with Visual Studio 2017 and Git repo setup
Between me and my co-worker we were setting up a git repo. Nothing fancy (yet) just a git repo to check in code, checkout , branch etc. My coworker kept on getting this “resource cannot be null: source” error message. When I am connecting to the same repo from my dev environment, I have no…