Skip to main content

Posts

Showing posts from June, 2020

Sitecore JSS with Helix | Automatically Update Imports is not working when we are moving files from one directory to other directory

How to setup Sitecore JSS with Helix? 1. Please follow  this to setup first JSS app and you would be able to setup successfully. 2. Now, everyone is following Helix Design Principle to setup new project. 3. Follow this to set up Helix Design Principle into your JSS app. 4. But when you will start moving files from one directory to another directory, you will not get popup to updates import as shown in video. 5. This is an issue in template as per here Solution 1. Add jsconfig.json file at root level of your application. 2. Add below settings {      "compilerOptions" : {          "module" :  "commonjs" ,          "target" :  "es2016" ,          "jsx" :  "preserve"     },      "exclude" : [          "node_modules" ,    ...

Sitecore Rocks Integration with PaaS Instance

What is Sitecore Rocks? Sitecore rocks is an extension what provides the flexibility to add Sitecore interface in Visual Studio. With this we don't have to switch between browser and Visual Studio. Sitecore Rocks is much useful when we start working on SPEAK component, for more details about extension visit here . How to Integrate with Sitecore 9 PaaS Instance 1. Sitecore Rocks works on only local instance OOTB. 2. Need to install locally. 3. Creates two folder bin and Sitecore after successful installation. 4. Need to move these files under the same folder structure. 5. Now, enter Public url of your site and local Sitecore admin credentials. 6. Location should be blank. 7. Click on Test and Ok. 8. You Should be able to connect Sitecore Rocks. Note: Sitecore Rocks should be in DEV environment only.

How to add Sitecore NuGet Reference to project

What is NuGet? NuGet is the package manager for .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers. We can easily update any dll at any time and also removes the dependency of keeping these files locally. Sitecore NuGet Sitecore has also released their NuGet library what we can use for reference as per here . How we can add Sitecore Assemblies to .NET Project? 1. By default NuGet package manager connects with NuGet.org. 2. We can't add Sitecore Assemblies from NuGet.org. So, we would need to add another source in package source. 3. Click settings icon, this wizard will allow you to add other NuGet library reference. 4. Click on + icon. 5. Enter Sitecore in Name and " https://sitecore.myget.org/F/sc-packages/api/v3/index.json " in Source 6. You can update any time if Sitecore updates NuGet feed url. 7. You will be able to get all Sitecore Assemblies ...