Posts

Showing posts from April, 2019

Set Up and Configure of Sitecore 9+ application on Azure PAAS using Experience Cloud

Image
To Setup and configuration of sitecore 9.0 + on Azure PAAS you need to follow below steps. Please follow all the steps with your Azure account and play on cloud. Step 1: First create an account on Azure and login with your credentials. Step2: Click on create a new resource link and Sitecore Experience Cloud option available in browser. Step 3: After selecting Experience cloud option you should fill or select some required information as available in below screen shot. Select the created Resource Group. Step 4: Configure required settings to host your application on Azure environment. Here you need to select Sitecore version and topology as per your requirement. After selecting above three options please select to next button. Step 5: Enter your credentials to setup database and other things like secured certificate for security concern. Here you need to select lice...

JSS Integration with Angular and Sitecore First Approach in Connected Mode Architecture

Image
To start work on Sitecore first approach you need to focus on json rendering rather than controller and view rendering. I explained code first approach in my recent article  so first setup code first approach then go for sitecore first approach. Removing Code-First Artifacts These instructions apply to all supported JS libraries. Extensively customized apps using different techniques than the standard sample apps may require additional steps depending on their customizations. Delete /data to remove disconnected route data, if it exists Delete /sitecore/definitions to remove the manifest definitions Delete /sitecore/pipelines (if it exists) to remove manifest pipeline patches Delete /scripts/disconnected-mode-proxy.js to remove an unused script In the package.json: Remove the start script, and (optional) rename start:connected to start to remove the option to start disconnected Remove the bootstrap:disconnected script You can add new co...

GraphQL API in Sitecore v9.1

Image
To access content and items from Sitecore we have another option called Grapth API in sitecore 9.1. To configure Graph QL first add end points in patch file placed at App_Config\.. <endpoints> <master url="/sitecore/api/graph/items/master" type="Sitecore.Services.GraphQL.Hosting.GraphQLEndpoint, Sitecore.Services.GraphQL.NetFxHost" resolve="true">                         <url>$(url)</url>             </master> </endpoints> Now type below url in browserto access Graph API http://my.sitecore.domain/sitecore/api/graph/items/master In my case it was http://jss.9dot1.sc/sitecore/api/graph/items/master as in below screen shot. Here default GraphQL window is open in browser with available schema and query insformation at top right corner in docs link. ...

JSS App Deployment with Sitecore v9.1 - Code First Approach

Image
I completed JSS app setup in my last article now I am focusing to  setup connection between JSS app and sitecore it is required to run JSS command in cmd to setup in JSS app location for me it’s F:\RSI\SharjeelsWork\RD\JSS-9.1\jss-ninedotone-test JSS setup Provide all the information like website location, host name, API key etc. prompted in above command window. In my case below are the information which I had given in command prompt. Sitecore folder    C:\inetpub\wwwroot\9Dot1.sc Sitecore hostname http://jssapp.9dot1.sc/ Sitecore Imort Service Url  http://jssapp.9dot1.sc/sitecore/api/jss/import Deployment Secret I got two options one is 32 or more characters long and second is Randomly generated. I press enter key to choose randomly generated option. Deploy secret Sitecore config written to  F:\RSI\SharjeelsWork\RD\JSS-9.1\jss-ninedotone-test\sitecore\config\jss-ninedotone-test.deploysecret.config Ensure this configuration is dep...