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
0answers
17 views

Add new language version not working

Im running into an issue that is only happening for our non english users. This issue is only happening with a specific Page Template as well. When a regional user click on the Add new Version button ...
1
vote
2answers
38 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 (...
1
vote
1answer
44 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....
0
votes
1answer
33 views

How to render datasource version after page load through programming in Sitecore SXA?

How can we render datasource version of the page through programming in Sitecore SXA ? Based on page version we want to render datasource item version on a page in experience editor.
2
votes
2answers
107 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
51 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
30 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
63 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
32 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
68 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
50 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
84 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
55 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
295 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
80 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
138 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
221 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
353 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 ...
2
votes
1answer
733 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
613 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
214 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
510 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
447 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
384 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
950 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
145 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
130 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
90 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
578 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
92 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
205 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
534 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
809 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
629 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
612 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
276 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
260 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 "...