Questions tagged [versions]

For questions specifically related to Sitecore's content versioning, including version governance (workflows, etc.), language versions, version retrieval via code, etc.

Filter by
Sorted by
Tagged with
0 votes
1 answer
13 views

XM Cloud NextJS - can we publish the specified version of workflow for previewing API instead of latest version?

Given that we have an item with 3 versions, v1, v2 and v3. Can we select a specified version, eg. v2, of the item for previewing on Nextjs headless? Currently, XM Cloud always publishes the latest ...
user13296's user avatar
0 votes
0 answers
44 views

Is it possible to get Sitecore version using C#? [duplicate]

I need to get Sitecore version inside my code. Is it possible to obtain it using C#?
Andrew's user avatar
  • 1
1 vote
1 answer
33 views

Saving one language version of search scope item overwrites other languages versions of same item

I am working on a multilingual site in Sitecore and I need to filter search results by current language. I am using a search scope and I would like to have different versions of a search scope, one ...
user3564042's user avatar
2 votes
2 answers
108 views

Sitecore 9.3 versions update date issue

We have set up workflow in Sitecore 9.3 version. After hitting Lock and Edit link on one data source item, new version will be created. This new version will have current date set to Created/Updated ...
Sukhjeevan's user avatar
0 votes
1 answer
126 views

Keeping old item versions

We have some items with 100+ versions. We have decided to recycle the old item versions and keep the last 10 versions. By default, anything in the recycle bin will be permanently deleted in 30 days. ...
Owais Ahmed's user avatar
1 vote
2 answers
250 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
  • 147
0 votes
0 answers
116 views

Sitecore media library does not render with sc_language

I uploaded Versioned image in Sitecore 10.0.1 media library. Template used is - /sitecore/templates/System/Media/Versioned/Image the image URL is also correctly rendered with sc_lang. But when I ...
user11324's user avatar
0 votes
0 answers
79 views

Images don't reflect versioning in Rich Text Fields

The Sitecore version for this issue is 9.1.0 (rev. 001564). In content editor, if I add a versioned image with only 1 version created added to a rich text field on an item, I encounter issues when I ...
Jesse Schallenberger's user avatar
0 votes
1 answer
147 views

Sitecore upgrade from Sitecore 10.0 to 10.1 - Can we upgrade without installing vanilla instance?

We like to upgrade from Sitecore 10.0.1 to 10.1. But, the official documentation is stating that we need to: Install vanilla instance parallel to our main instance. Attach the databases to the new ...
Mahesh Jagtap's user avatar
3 votes
0 answers
92 views

Comparing versons of an item when using data source items

We're a bit behind the curve in adopting this stuff, but I hope that makes this an easier question. I should also mention we are on 7.2 Historically we had published articles on our site where, ...
James Green's user avatar
0 votes
0 answers
33 views

Get select version in "item:versionAdded" events [duplicate]

We would like to get select version from Experience Editor in item:versionAdded event. Kindly take a look at the attached image. In the above image when we select "version 2: then We can get it ...
Ashu's user avatar
  • 402
0 votes
0 answers
131 views

Data-loss on shared field values after item editing

We are facing multiple occasions of shared fields loosing their value on our productive Sitecore 9.3 environment. So far, we where unable to reproduce the issue in a controlled environment so we do ...
Peter's user avatar
  • 31
2 votes
2 answers
137 views

Prevent Sitecore Save on Editing.EndEdit()

I'm trying to make a a function that whenever user saves in the Experience Editor, it copies the rendering of current language version to other 2 language versions. For example, if I'm in Language A (...
Thanh Nguyen's user avatar
3 votes
1 answer
118 views

Get clicked version details in the Experience editor through programming in Sitecore SXA?

I want to fetch clicked version details in the Experience editor through programming. I tried override the OnLoad method of the GalleryVersionsForm class from the namespace Sitecore.Shell.Applications....
Ashish's user avatar
  • 882
4 votes
2 answers
403 views

How to get value of version when we click in the Sitecore client?

When I click in the Sitecore client to change versions, I would like to be able to run some code. So, is there any events trigger when I select any version number in the Sitecore client? I am sharing ...
Ashish's user avatar
  • 882
0 votes
0 answers
72 views

How to fetch selected version value in programming in Sitecore 9.1.1?

When I will click in the Sitecore client to change versions, I would like to be able to run some code. So, Is there any event when I will select any version number in the Sitecore client? I am sharing ...
Ashish's user avatar
  • 882
0 votes
1 answer
105 views

How to enable Synchronizing the Index in if(EventDisabler())?

I am adding data in event item:versionAdded and when adding new version then it is calling item:versionAdded event again. For solving this issue I am adding data under: using (new EventDisabler()) { --...
Ashish's user avatar
  • 882
0 votes
1 answer
105 views

Removing datasource version of the page when we remove page version in Sitecore 9.1.1

I have added datasource version of the page through programming. When I am adding any version of the page then it will automatically add version for the datasource items in Sitecore 9.1.1. Queries : ...
Ashish's user avatar
  • 882
0 votes
1 answer
160 views

Specific language version is being displayed as many times as number of versions

For some reason my code is allowing my version to be displayed as many time as the number of versions under a specific language. For Example: I have 3 versions of an item under the Chinese Language. ...
Ryan's user avatar
  • 3
0 votes
0 answers
160 views

Sitecore throws error on Experience Editor if page name is same as any folder name under webroot

Recently, we had an issue when an item has 2 languages and multiple versions available, if you try to change language on Experience Editor, it returned 500 error. Normally when you click Experience ...
Tutku Can Yalcin's user avatar
1 vote
1 answer
89 views

Is it possible to show custom version label instead of regular Modified by label in version selector?

I want to change the version name of an item, from 'Modified xx by xx' to something like 'Bonus Offer', to make each version name to be more specific. Is it possible to do it? Or it is 'out of the box'...
truongdsbui's user avatar
1 vote
1 answer
302 views

How does Sitecore Experience Editor deal with component items on a page when a new version of a page is created?

I've come across an instance where a client was using the Experience Editor to create a new version of a landing page and the components on the page did not increment the version number. Is this ...
Ken Gray's user avatar
  • 103
0 votes
1 answer
190 views

EN version is getting added for new item which is being created in any other language programatically

I am creating an item as well as its version in specific language (let's say Arabic) and then creating a clone of the newly created item in that particular language (Arabic). The issue is that the ...
ehsan's user avatar
  • 31
0 votes
0 answers
1k views

Duplicate item records in SOLR index (web)

We have a strange issue on our UAT environment where duplicate records are being returned for a single content item in a new web index we have created and both are marked with 'latestversion:true' (...
R. Allinson's user avatar
1 vote
2 answers
229 views

How to publish a specific version (not the latest) of an item?

Let's assume that I have version 1, 2 and 3 of the same Sitecore item. For test purpose only I need to publish version 2. Is this possible?
Hugo Santos's user avatar
  • 2,281
3 votes
0 answers
308 views

Limiting version numbers/copying old versions [closed]

We are using Sitecore 9.0.2 deployed in PAAS and we want to limit number of items to up to 10 versions per item. There are multiple methods suggested 1) User Version Manager : In Previous Sitecore ...
Alivor Tikos's user avatar
0 votes
1 answer
400 views

Switched from Lucene to Solr: "Could not find configuration node: contentSearch/indexConfigurations/defaultSolrIndexConfiguration/FieldReaders"

I am upgrading from 8.1 to 9.1, and I'm switching to Solr before the actual upgrade. I have a rather elaborate custom index configuration, and I converted it to Solr at the best of my knowledge. The ...
Emanuele Ciriachi's user avatar
2 votes
1 answer
918 views

Unable to sync page versions with Unicorn

While implementing workflow for our site, I stumbled upon a Unicorn issue. Creating a page works just fine, but when an editor goes to edit the page, and so creates a new version, Unicorn gives a ...
Alwin's user avatar
  • 23
4 votes
1 answer
2k views

One time delete of old versions

Master database has more than 500 items that have more than 10 item versions. Some content items have more than 100 versions. According to recommendation to limit 10 item versions I want to perform a ...
Alex S's user avatar
  • 327
0 votes
3 answers
1k views

Can Sitecore add a new item version after publishing an item?

I want to add new version when I publish any item in sitecore. Is there any option available in sitecore? If not then how we can achieve this?
Vibhor Kaushik's user avatar
1 vote
0 answers
318 views

Sitecore 8.0 crashing w3wp.exe when choosing if a version is unpublished or published

I have an instance of sitecore 8.0 setup (CD and CM separate servers). On the CM server we've noticed that if a page has multiple versions, and a user then tried to mark one of the versions as ...
Box's user avatar
  • 71
2 votes
2 answers
791 views

Force a new item version on save

I have a scenario where the client has asked us to store one of the CSS files in the media library so they can make changes to colors without coming back to the developers. I've gotten this working ...
Ken McAndrew's user avatar
  • 5,092
6 votes
1 answer
581 views

Language version set to Unpublishable is not being removed from Web Database

On Sitecore 8.2 nothing I am doing seems to be removing the language version of an item from the web database. Things I have tried so far: Removed English version and smart published the item in ...
purplerain231's user avatar
1 vote
1 answer
672 views

Scheduled Publishing of Specific Item Version

Our authors are requesting a publishing feature along the following lines. Let's say we have version 5 of an item approved, published, and visible on our live site. Our authors then edit version 6 of ...
Cosmo Dev's user avatar
2 votes
1 answer
2k views

I deleted a page, but it still appears on the site. How can I delete this page?

Through Content Editor I deleted a page, after that, I published the folder where it was contained. But even deleted the page keeps appearing on the site and I do not know how to remove. The strange ...
Solange Almeida's user avatar
-4 votes
1 answer
176 views

Sitecore Version Upgrade 8.0 to 8.2 [closed]

Please advise me how to upgrade from 8.0 to 8.2 update 3 with WFFM module in local and also UAT and PRD environment. What would be the following process step by step.Please suggest .
Agent47's user avatar
  • 101
4 votes
1 answer
150 views

Can I restore the Recycle Bin from a backup after using the Express Migration Tool? [duplicate]

We recently discovered that our Recycle Bin no longer contained items before November 2017, when we performed a Sitecore upgrade using the Sitecore Express Migration Tool (version 2.0 at the time). ...
James Skemp's user avatar
  • 1,398
2 votes
2 answers
3k views

Sitecore image upload versioning in Media Library

How I like to add versioning for an image in media library in Sitecore 8.0. Please suggest me how can I do the version of an image?
Amit's user avatar
  • 21
2 votes
2 answers
99 views

Automatic asset replacement at a fixed time

We want to schedule an automatic asset (graphic, text etc) replacement. Here is my plan that makes the purpose also clear. I want a particular image to get automatically replaced at midnight on ...
Arun Agrawal's user avatar
4 votes
2 answers
958 views

Changing the Publish Settings on one item version is updating ALL versions

I'm using Sitecore version 8.1 update 3. If an item has multiple versions created and I change publishing restrictions on a version, using the Publish Settings window, a change to 1 version modifies ...
divamatrix's user avatar
5 votes
1 answer
111 views

Tagging Item Versions

Is it possible to tag the versions of the items. Example : Version 1,2,3 will be tagged to Phase 1 Version 4,5,6 will be tagged to Phase 2
PVM's user avatar
  • 963
5 votes
1 answer
2k views

Compare item versions with Sitecore PowerShell Extension

I'm looking for an option to compare programatically using SPE all the fields of an item that have changed from the latest version x the version prior to that and highlight what changed. Have anyone ...
Diego's user avatar
  • 5,678
0 votes
1 answer
332 views

displayName for each language is not used by LinkManager [duplicate]

For an item I have 2 version for 2 languages with a different displayName for each. The displayName are : Item_01_EN for the EN version Item_01_FR for the FR version Now the problem is, when I use ...
TeKilla's user avatar
  • 135
13 votes
1 answer
725 views

Publishing restrictions for components in page

I have a page that is completely component based. All images, html, etc are individual components with datasources in a grid system. The datasources are in a folder under the page called pagedata or ...
Chris Auer's user avatar
  • 13.1k
2 votes
1 answer
2k views

Disable Language Fallback for specific item language

We have enabled language fallback and it's working great. Until i found this issue. We have many languages en-gb, de-de,it-it etc and de-de is falling back to en-gb. We have a template called news ...
Dheeraj Palagiri's user avatar
3 votes
2 answers
1k views

Many hours to delete 670 old versions of an item - Sitecore 7.2

So, it turns out the home page of our site has 670 versions so Im looking at removing or archiving most of them. In the Sitecore content editor, if I select Remove all versions (plan is to archive ...
Steve Ward's user avatar
2 votes
2 answers
862 views

Sitecore versioning appears incorrect after package install

This is using 8.1 Update 2 with multi-lingual/fallback. I've been installing packages to make updates from our local environment to our QA server. Somewhere along the line, it started to create what I'...
Ken McAndrew's user avatar
  • 5,092
2 votes
1 answer
907 views

Item.Versions.AddVersion() - fields not being saved

I am adding a new version of an item in a different language. This works fine. Them I am setting the field values on the new version, but those values are not saved. The code is basically (simplified):...
Troels Aaberg's user avatar
3 votes
1 answer
342 views

Versioning of associated content, Sitecore 8.2 initial

Scenario: I'm on a page in Experience Editor. The page consists of some components in them. Step 1: I press "Lock and edit" in the notifications. Step 2: I now edit in a component on the page and ...
Filip Jönsson's user avatar
2 votes
1 answer
383 views

How I can clean overridden values in Clone Items within Language version?

I have tried to solve this problem, but I'm putting question here to understand this Cloned Item problem properly and fix it in best possible way out. Alright so I have few Clone Items in this ...
Harsh Baid's user avatar
  • 1,994