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
1answer
43 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 ...
1
vote
0answers
64 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,...
0
votes
0answers
32 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 ...
0
votes
0answers
94 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 ...
1
vote
2answers
58 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 (...
3
votes
1answer
74 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....
3
votes
2answers
152 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 ...
0
votes
0answers
62 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 ...
0
votes
1answer
67 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()) { --...
0
votes
1answer
67 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 : ...
0
votes
1answer
74 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. ...
0
votes
0answers
98 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 ...
1
vote
1answer
53 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'...
1
vote
1answer
187 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 ...
0
votes
1answer
76 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 ...
0
votes
0answers
497 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' (...
1
vote
2answers
126 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?
3
votes
0answers
228 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 ...
0
votes
1answer
314 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 ...
2
votes
1answer
574 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 ...
3
votes
1answer
1k 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 ...
0
votes
3answers
830 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?
1
vote
0answers
259 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 ...
2
votes
2answers
608 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 ...
6
votes
1answer
497 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 ...
1
vote
1answer
520 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 ...
2
votes
1answer
1k 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 ...
-4
votes
1answer
166 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 .
4
votes
1answer
144 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). ...
2
votes
2answers
2k 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?
2
votes
2answers
91 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 ...
4
votes
2answers
646 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 ...
5
votes
1answer
97 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
5
votes
1answer
1k 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 ...
0
votes
1answer
248 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 ...
13
votes
1answer
659 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 ...
2
votes
1answer
1k 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 ...
3
votes
2answers
956 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 ...
2
votes
2answers
723 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'...
2
votes
1answer
709 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):...
3
votes
1answer
292 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 ...
2
votes
1answer
326 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 ...
13
votes
2answers
2k views

How to remove a language version of a data template?

I created German versions of several data templates by accident. For regular items, there's an option to remove a version at tab "Versions" –> section "Versions": For templates, though, the whole "...