Sitecore MVP. Senior Software Engineer, Hands-on Architect & Tech Lead. Blog about working with Sitecore & Sitecore Commerce.
When you look at the Commerce Engine minions environment json config, you might notice an interesting policy called the MinionBossPolicy which looks like this: You might have wondered to yourself- what the #!@$# is a Minions Boss Policy? Boss Minion As the name suggests, a boss minion is a minion that
When rebuilding the Sitecore Commerce ServiceProxy, you may get an error similar to the following: Compiling transformation: The type or namespace name 'Values' does not exist in the namespace 'Microsoft.OData.Edm' (are you missing an assembly reference?) At first I thought I hadn't installed the OData v4 Client Code
Recently, I had a requirement to disable stock check for all products (Sitecore XC 9.0 Update 2). After going through OOTB policies, I found the GlobalInventoryPolicy with a CheckStockLevel property that I set to false: After bootstrapping, I found that it didn't make any difference and inventory checks were
During the intallation of Sitecore XC9, you may encounter timeout errors on tasks such as pulishing to web, installing large modules or packages, reuilding indexes or other long running processes. In my case, I got the following timeout error when generating catalog templates with the GenerateCatalogTemplates task: Fix In order
Recently, I realized that a lot of new log files were being generated in my Commerce Minions instance. Upon further inspection, I noticed that they were being generated at 20 min intervals. I immediately realized that the IIS application pool must be resetting. I went over the application pool settings
I recently had to migrate a Catalog from Sitecore Commerce 8.2.1 to Sitecore Experience Commerce 9.0.2. After generating the Commerce 9 compatible Catalog JSON files through the provided migration tool in Commerce 9 Update 2, I proceeded to import the Catalog using the ImportCatalogs() endpoint under
The default URL for Business Tools in Sitecore XC9 is https://localhost:4200. You probably want to update this. Here’s how: Update BizFx Update the BizFxUri parameter in SitecoreBizFx\assets\config.json in your BizFX instance: Update Commerce Engine to allow the new BizFx URL Update the AllowedOrigins parameter
The default hostname for the Identity Server in Sitecore XC9 is https://localhost:5050. Here’s how you can change this to your custom URL: Update BizFx (Business Tools) Update the IdentityServerUri parameter in SitecoreBizFx\assets\config.json in your BizFX instance: Update Commerce Engine with new URL Update the
After following the default installation steps for Sitecore Experience Commerce 9, you will end up with a storefront called 'CommerceEngineDefaultStorefront'. In order to customise the name of your storefront, you need to make changes in a couple of different places. Let’s get to it- here’s what you need
Before I show you how, you must be wondering- why? When developing for Sitecore Experience Commerce 9 and using Postman, you need to disable Cross-Site Request Forgery (CSRF) validation which in turned ON by default. In order to do this, you need to set AntiForgeryEnabled to false in wwwroot\config.
When Bootsrapping the Commerce Engine during installation of XC 9.0.2, I go the following error: Upon investigating the Commerce Engine log file, I found the exact error: ERROR CommerceController.OnActionExecuting.Forbidden: User not allowed for action /commerceops/Bootstrap() In order to understand this error, you need to understand