Thursday, December 22, 2016

Sitecore Key Notes That You Probably Didn’t Know

  • Sitecore XP 8.2 Update-1 (rev. 161115) now supports deployments to Microsoft Azure using the Web Apps feature in Azure App Service
  •  
  • Sitecore Azure Toolkit is not supported prior to Sitecore XP 8.2 Update-1.
  •  
  • Sitecore Campaign Creator 1.0 require Sitecore XP 8.0 Update 2 or higher.
     
  • Starting from Sitecore XP 7.5, Tag Management App is distributed as part of the CMS.
  •  
  • Brightcove and Ooyala connectors for Media Framework 2.1 are released as open source. Sitecore does not provide support for these connectors in Sitecore XP 8.2 and later.
  •  
  • Sitecore Rocks supports all versions of Sitecore through the Good Old Web Service. Sitecore Rocks supports all versions of Sitecore since Sitecore CMS 6.2 through the Hard Rock Web Service.
  •  

Wednesday, December 21, 2016

Sitecore 8.2 Publishing Service


Sitecore 8.2 publishing service is an optional addition in the release.

Sitecore has introduced a new option and faster alternative to Sitecore Publishing, called Sitecore Publishing Service.

Publishing has been improved and is significantly faster using a publishing service based on Microsoft .NET core technologies.


Sitecore Publishing Service 1.1 Initial Release is compatible with Sitecore 8.2.

Note:

1) The Sitecore Publishing Service is available for us to use without any Extra License Cost!
2) Both cannot run simultaneously but returning to the old system is possible.

Previously, when a user chose to publish something, the publishing dialog remained open for the duration of the publish process.

This was awkward if the user needed to reboot or if their session ended because they could not see the status of the publishing job.

Sitecore publishing service places all publishing jobs in a queue. When you request a publishing job of any kind, it is queued and then processed as soon as possible. You can see all the active, queued, and completed jobs in the Publishing Dashboard application.

How to install and work with the Sitecore Publishing module?

Let's install and configure the Sitecore Publishing Service.

Sitecore Publishing Module Prerequisites:

1)      Sitecore XP 8.2 (8.2 rev.160729)
2)      .Net  Core (To enable the service to run under IIS, you must install the Windows (Server Hosting) package.

Sitecore Publishing Module Requirements:


Installing the Sitecore Publishing Service:

Sitecore Publishing Service can be install in two ways:
1)      Manually – the way we host any website on IIS.
2)      Scripted Installation

Here, we are doing Manual installation.
Step 1:

Unzip “Sitecore Publishing Service Host 1.1.0” and copy those files to c:\inetpub\wwwroot\sitecorepublishing

Step2: 

Go to IIS and create a new site name “sitecore.publishing” pointing to this directory c:\inetpub\wwwroot\sitecorepublishing and change the Sitecore application pool .Net CLR version to be “No Managed Code” as you can see from the following screen shot:

 



Step 3:

Go to c:\inetpub\wwwroot\ sitecorepublishing \config\global and Create a new file called sc.connectionstrings.xml.

Step 4: 

In that file add the following:
<Settings>
  <Sitecore>
    <Publishing>
      <ConnectionStrings>
        <Master>user id=sa;password=123;Data Source=(local)\SQLEXPRESS;Database=Sitecore82rev160729Sitecore_Master;MultipleActiveResultSets=True;</Master>
        <Web>user id=sa;password=123;Data Source=(local)\SQLEXPRESS;Database=Sitecore82rev160729Sitecore_Web;MultipleActiveResultSets=True;</Web>
        <Core>user id=sa;password=123;Data Source=(local)\SQLEXPRESS;Database=Sitecore82rev160729Sitecore_Core;MultipleActiveResultSets=True;</Core>
      </ConnectionStrings>
    </Publishing>
  </Sitecore>
</Settings>
Update the username, password, datasource, and database.

Step 5:

Open Command Prompt as an Administrator mode, and go to location C:\inetpub\wwwroot\sitecorepublishing run the command “schematool.exe upgrade
as shown below:








You see that the installed versions for each database changed from 0 to 1 then it ran successfully.
Open SQL Server management studio all the publishing tables has been created.


Step 6:
  
Restart your site and access the site by entering this URL in the browser http://{your_site_name}/api/publishing/operations/status
You should receive {“status”:0} if the application installed correctly.

            Step 7: Login to Sitecore and install the package Sitecore Publishing Module 1.8.0.zip
                   


Step 8: 

After installing the Sitecore module, you need to configure PublishingServiceUrlRoot in App_Config/Include/Sitecore.Publishing.Service.Config configuration file to publishing service which you have installed.

 

Publishing Dashboard

Once Sitecore Publishing Module is configured, it will provide the publishing dashboard which is available on Launch pad.


Clicking on above link, will provide you publishing dashboard.


This module provides new interfaces for publishing items and site.


Happy Coding!