Questions tagged [publishing]

Questions related to the publishing features - old school publish or publishing service. Questions about the publishing service specific should be tagged with the publishing-service tag.

Filter by
Sorted by
Tagged with
2 votes
0 answers
28 views

Prioritising Publishes with the Publishing service

We are using Sitecore 10.3 with the Publishing Service and have an automated publishing Job that runs every hour to publish some imported content from a 3rd party system. This often means that general ...
Adam Seabridge's user avatar
1 vote
3 answers
37 views

How to publish an item to multiple targets at a time, by using powershell script

I am working with Sitecore 10 and using powershell 6.2 version when trying to publish an item to multiple targets at a time, getting an error while using this SPE code: Publish-Item -Item $item -...
Farheen Fathima's user avatar
0 votes
0 answers
26 views

Optimize Sitecore Publishing to Edge target

We are facing performance issues while publishing to Edge. It takes more time to publish to Edge when compared to publishing to a web database. We understand that publishing to a database target is ...
Dheeraj p's user avatar
  • 657
2 votes
2 answers
110 views

CD Tied to Publishing Target Not Updating

I am using the Publishing Service in a Sitecore 10.2 Production environment. We use deployment slots in Azure App Services. Each deployment slot has a dedicated Web database, Slot 1 has Web and Slot 2 ...
Kode's user avatar
  • 243
0 votes
2 answers
139 views

Sitecore - Remove related publish option [duplicate]

Is there any way to remove the related publish option or always uncheck this option when I publish?
Jack Noob's user avatar
0 votes
1 answer
77 views

Sitecore 10.2 Smart Publish Not Publishing Versions to CD Server

I am currently running into a strange problem with our 10.2 environment that we are upgrading from 9.0.2. It has previously been working. However, when we did our latest database migration from ...
scapegoat17's user avatar
2 votes
2 answers
216 views

Language is not displaying published item in Sitecore 10.2

We are trying to publish the item.But the language is not displaying in the popup. The langauge is already there in system/lanaguages. But it is still not displaying.
Rameshkumar's user avatar
0 votes
2 answers
37 views

PublishContext.PublishMode.RootItem is showing the wrong item language version

When I publish the Home item, the selected language is English. But in code, the Root Item is coming as da (Danish). On publish, for languages, I selected both Danish & English. So, is it taking ...
sukesh's user avatar
  • 3,033
1 vote
2 answers
300 views

When doing a Smart Site Publish, the PublishContext.PublishOptions.Mode is "Full" instead of "Smart"

When I perform a Site Publish, there are 3 options - Incremental publish, Smart publish & Republish. I'm capturing the PublishMode in a custom Handler and the results are: For Incremental publish -...
sukesh's user avatar
  • 3,033
1 vote
4 answers
121 views

Programmatically publish of media items

I have a requirement in a project where a service is automatically creating media items in sitecore media library in a random folder structure. I want to publish the media items once they are created. ...
litika chib's user avatar
3 votes
2 answers
168 views

Publish Media item as soon as uploaded

I want to publish the Media item as soon as it is uploaded in the Media library. I was looking at different pipelines to resolve this but couldn't figure out which one is the ideal one to do so. As it ...
Meghan's user avatar
  • 367
0 votes
1 answer
45 views

Error while installing Sitecore Publishing Service Module Package in Sitecore

I am trying to install Publishing Service Module 9.1 in Sitecore and I am getting the below error: The installation failed. One or more exceptions occurred while processing the subscribers to the '...
Deeksha's user avatar
1 vote
2 answers
249 views

Modifying sitecore publishing logs

We are using Sitecore publishing service module for publishing. But when it comes to publishing logs. It provides a very limited amount of information. We moved its logging level to INFO still we are ...
Himanshu's user avatar
3 votes
1 answer
69 views

PublishManager.PublishSmart Deletes an existing item from web db

I am using PublishManager.PublishSmart to auto publish items from master db to web db. New items which are in final workflow state are getting published as expected but for the existing items if I ...
Bhupesh Khandelwal's user avatar
1 vote
2 answers
228 views

Item not publishing programatically (Sitecore 9)

I have a Sitecore item that isn't getting published to the web database programmatically. I've checked the Publishing Queue at the database level and the item is there. It gets added to run at 6:15am ...
Shay Maor's user avatar
1 vote
1 answer
49 views

Updating other item in the custom publish pipeline not working

I am trying to update an item inside custom publish pipeline in Sitecore 10.2. It does get updated once but if pipeline runs again the item is not updated. The item update code gets executed every ...
Arun Kumar's user avatar
1 vote
3 answers
207 views

How to find recently published items in SQL table

Is there a way to find which items were recently published by querying the SQL server tables directly? I have tried looking at the SQL server but could not figure out which table stores this ...
Nisha's user avatar
  • 401
0 votes
0 answers
34 views

How to check latest published item? [duplicate]

We would like to check latest published items from master database to web database within some timeframe using powershell script. Tried : Statistics tab updated and created field values. However it ...
Nisha's user avatar
  • 401
2 votes
2 answers
287 views

New Publishing Target database not populating when published to

I've created a new Publishing Target and associated database, but I've run into an issue that I can't seem to solve. The new target, "review", is present but won't populate on Publish. On ...
e_c's user avatar
  • 41
2 votes
1 answer
146 views

Cancel the ongoing publishing

Sitecore: Sitecore.NET 10.1.1 (rev. 005862) Publishing service: 5.0.0 I am trying to find a way to cancel the ongoing publishing and revert the changes done by the current publishing. I have the ...
NutsAndBolts's user avatar
  • 1,310
0 votes
0 answers
97 views

does publish-item powershell command fire publish end event and can we get property like rootItem

$singleitem=get-childItem -path $RootItemPath -Language "en" -Recurse | Where {$_.TemplateName -eq "TEST"} | Select-Object -first 1 publish-item -Item $singleitem -publishmode ...
ajay shanbhag's user avatar
1 vote
2 answers
288 views

How to Hide Publishing wizard Options

In one of my project I have a requirement that I want to hide out of the box publishing wizard feature. I.e. Publish Related Items.
Avinash Sharma's user avatar
1 vote
1 answer
71 views

How can a preview of "Related Items" and "Subitems" be displayed prior to Publish?

We have a need to preview the number of subitems and related items prior to allow a publish to determine the impact on the publish queue when a publish is triggered. So, instead of the "Publish&...
sturtus's user avatar
  • 11
0 votes
0 answers
102 views

System.Web.Mvc higher than referenced assembly

I have installed 10.1.2, which has System.Web.Mvc 5.2.4.0. All the projects in my Visual Studio solution are .Net 4.8 with System.Web.Mvc 5.2.7.0. When I publish the DLLs into my instance, it is only ...
sukesh's user avatar
  • 3,033
0 votes
1 answer
167 views

Sitecore publishing is stuck when publishing CM is down

We have 3 Sitecore CM instances with OnPrem VMs and we have setup 1 of the cms ( e.g. cm3) to be the publishing CM instance as mentioned in https://doc.sitecore.com/xp/en/developers/92/platform-...
D J's user avatar
  • 346
1 vote
2 answers
737 views

System.web.Mvc version conflict in instance & code

I have a fresh instance with v10.1.2, which has System.Web.Mvc 5.2.4 In my Visual Studio solution, I have projects with .Net 4.8 which has System.Web.Mvc 5.2.9. When I publish the code into the ...
sukesh's user avatar
  • 3,033
3 votes
3 answers
359 views

How to publish only serialized items

How to publish only the serialized items using the Sitecore CLI command. I have configured the Module files path in the sitecore.json file. When I run dotnet sitecore publish, i guess it is trying to ...
sukesh's user avatar
  • 3,033
1 vote
3 answers
353 views

Helix publishing pipeline not excluding Sitecore Assemblies

I'm trying to setup a common publish project using the Helix Publishing Pipeline. When I publish to my local temp directory, it publishes Sitecore Assemblies and also other files like HtmlAgilitypack....
sukesh's user avatar
  • 3,033
4 votes
2 answers
351 views

Smart publish wiping web database

We have an issue whereby our smart publish is wiping the web database when publish related items is checked and publish children is checked. We have copy text components folder that is referenced in ...
Sean T's user avatar
  • 240
1 vote
2 answers
155 views

gulp publish problem: 'spawn C:\windows\microsoft.net\Framework64\v(not used)\msbuild.exe ENOENT'

I try to publish my Sitecore project solution using a custom-made script. I run the gulp publishSitecoreSolution command (a custom-made one), and I get this output in PowerShell: [15:55:04] Loading C:\...
stipemodric's user avatar
2 votes
1 answer
119 views

Run PowerShell script using Gulp?

Is there any way to run a PowerShell script in Sitecore using Gulp? We are trying to integrate some content publishing to the build process automatically. All our JS/CSS is stored in the Media Library ...
Rob Connolly's user avatar
1 vote
1 answer
108 views

How to disable Open publish dashboard button from modal popup?

We have installed Sitecore Publishing Service to separate Sitecore publishing. We got a request from client to allow only admins to Open publish dashboard button and for non-admins, this button should ...
Reddy's user avatar
  • 97
1 vote
1 answer
299 views

How to get all the published items without publish:itemProcessed event

We have installed sitecore publishing service module to separate publishing. Earlier we were using publish:itemProcessedevent to get all publishing items but with Sitecore Publish module this event is ...
Reddy's user avatar
  • 97
2 votes
0 answers
498 views

Is there a way to specify when the Publishing Service maintenance task runs?

Recently we've seen with the Sitecore Publishing Service 6.0 a message stating a "system maintenance task is currently running". Is there a way to configure when this runs? Typically we see ...
Michael West's user avatar
  • 17.9k
1 vote
2 answers
252 views

Latest Versioned Media Item is not Updating on Front End Website

We are using Versioned Media Items on our website. Our media URLs will be in the format - https://domain/-/media path.pdf?sc_lang=en&hash=6952A5CAEA1FC60BEF7CCDF29B0293E2 After we attach a pdf ...
Sylesh JL's user avatar
  • 157
1 vote
1 answer
104 views

How to configure Sitecore CMS to show actual published content when switch to web database in content editor?

Sitecore Web Database content tree does not show the published home node in Sitecore CMS but it shows the default home node. In Sitecore CMS, I could not see the published Home node with subitems(but ...
Kumari Dimple's user avatar
1 vote
1 answer
188 views

Republish not working using Sitecore Publish module

We have installed Sitecore Publish Module(3.1.1) for Sitecore 9.0.1 version, except for re-publish everything is working. On publishing wizard not getting re-publish option and in recent jobs when we ...
Reddy's user avatar
  • 97
0 votes
1 answer
54 views

Publishing fails Sitecore Horizon

I'm working on Sitecore 10.2 project, it's upgraded from the 8.2 version. Horizon is installed and I can open the content using it and the horizon index is being built without errors. But when I try ...
Mohamed Yaseen's user avatar
0 votes
0 answers
89 views

Error when publishing language content

I have just completed the whole Sitecore XP and XC installation, and I tried to remove the additional languages, and publish only the English language using the Smart Publish on the Content Editor. It'...
Fabio Carvalho's user avatar
0 votes
1 answer
115 views

In version 9, is there a way to unpublish items directly from the recycle bin

Is there a way to unpublish items directly from the recycle bin rather than having to restore them and then unpublish them? Thanks in advance
D Myers's user avatar
  • 21
1 vote
1 answer
349 views

sitecore.context.database.getitem returns null during publish pipeline

Created a custom processor to execute translation during publish process: <processor type="Sitecore.Publishing.Pipelines.PublishItem.CheckSecurity, Sitecore.Kernel" <processor type=&...
Gautam Aneja's user avatar
0 votes
1 answer
342 views

The operation could not be completed. Your session may have been lost due to a time-out or a server failure

when I am going to publish any single item from the Sitecore content tree I am getting the below error: Application is migrated from Sitecore version 9.0.2 to 10.2 and deployed on Azure PAAS ...
Himmat Singh Dulawat's user avatar
1 vote
3 answers
377 views

Item Promote from "Master" to "Internet" failed. - Error: "Execution Timeout Expired

We are using Sitecore 9.1 (Initial release) and Publishing Service (4.0). Suddenly publishing service started throwing errors: 2022-05-04 01:00:31.327 +00:00 [Error] Item Promote from "Master&...
Deendayal Sundaria's user avatar
2 votes
1 answer
83 views

All of my publishing targets are unchecked, need them all checked for publishing

So I have been trying to find the option out there to make the default, where all publishing targets are selected. I have the 3 from the below screen shot and doesnt seem to publish everything ...
user1566783's user avatar
1 vote
1 answer
51 views

Sitecore item publishing issue

Is there any reason the Sitecore item publish did not identify the change, when changing the Camel case to the Pascal case and vice versa? For example, I have an item with a Description field set to ...
Shrad's user avatar
  • 193
0 votes
2 answers
633 views

When i publish the item I do not see changes (missing component on certain language)?

I am having this weird bug where I published my changes but I do not see those changes for that specific item on the site, and I also have this weird issue that in certain languages (in this example ...
Samke11's user avatar
  • 359
0 votes
1 answer
71 views

Patch to Publishing DB's doesnt seem to work

So I have my unicorn autopublish file below and the patch I added to it. I still seem to have trouble with the files actually getting published to the databases for web_uk and web_west. Just wondering ...
user1566783's user avatar
2 votes
1 answer
223 views

Does publishing items too often affect CD performance?

We have a Sitecore solution which has a CM server and a CD server. The solution uses Sitecore publishing service. The editors publishes items every 30 seconds from the CM server. My understanding is ...
YuQing Zhang's user avatar
0 votes
1 answer
228 views

Setting an alias on a page doesn't seem to work

new to Sitecore here. I've got a page I wish to set an alias on. In Content Editor I go to the Presentation tab, select Aliases, add my alias then hit save and publish. But it doesn't work. Entering ...
MeltingDog's user avatar
1 vote
1 answer
284 views

Clearing Sitecore cache on publish for specific items

I want to clear custom cache when items at specific path are published. Here is what I tried so far. Solution 1: I created a custom event handler for publish:itemProcessed and publish:itemProcessed:...
Imad's user avatar
  • 235

1
2 3 4 5
7