Saturday, May 4, 2019

Sitecore XC 9.2 - Add a new plugin steps.

There are two VSIX templates available for creating Sitecore Commerce Plugin

1.  Sitecore Commerce Engine Template developed By Andrew Sutherland

This will require to create a simple scaffolding plugin project
Allows creation of individual item-specific code file for commands, controllers, pipelines, pipeline blocks, etc.
We can download it from the marketplace -Here

2. Commerce.Plugin.vsix – Sitecore Commerce SDK

It will need a few cleanups and a lot of predefine simple code setup.


It's compatible with vs 2017.  if you have vs2019 - You may find below error in the log -

11/20/2019 1:46:39 AM - Found installed product - Global Location
11/20/2019 1:46:39 AM - Found installed product - Visual Studio Community 2019
11/20/2019 1:46:39 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at VSIXInstaller.ExtensionService.GetInstallableDataImpl(IInstallableExtension extension, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   at VSIXInstaller.ExtensionService.GetInstallableData(String vsixPath, String extensionPackParentName, Boolean isRepairSupported, IStateData stateData, IEnumerable`1& skuData)
   at VSIXInstaller.ExtensionPackService.IsExtensionPack(IStateData stateData, Boolean isRepairSupported)
   at VSIXInstaller.ExtensionPackService.ExpandExtensionPackToInstall(IStateData stateData, Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)

Start the installation -



Setup a new project -


Sample project structure -


No comments:

Post a Comment