Monday, 7 January 2013

How to add a Publishing target in Sitecore

Publishing target is the destination database to which the content will be published.

There are 3 steps to setup a publishing target.

Step 1: Add the connection string of the Targeted Database in ConnectionStrings.config

  • <add name="production" connectionString="user id=sa;password=sa;Data Source=.;Database=Sitecore_Web"/>
Step 2: Add Database node for the newly added targeted database in web.config.

  • Copy and paste an existing <Database> node from Sitecore/Databases and change the Database ID with the Connection string name. ex: production
Step 3: Add Publishing Target Item in the Master DB.

  • Login to Sitecore Content Tree and navigate to System à Publishing Target and add an item. Add the Database Id in the Target Database Field

2 comments:

  1. its giving me error as Cannot open database , login failed after doing this

    ReplyDelete
  2. You need to check your connection string and modify with proper db user credentials.

    ReplyDelete

Articles

Sitecore 9.3 released!

Sitecore 9.3 has the Solr 8.1.1 support (Sitecore compatibility table is yet to be updated). SIF 2.2.0 Got a new editor - The Horizon edi...