Skip to main content
Share Your Experience: Take the 2024 Developer Survey
31 votes
Accepted

How does the "Clean up databases" feature work?

In a Sitecore 8, this will: Cleanup CyclicDependences (items that couldn't be removed by CleanupOrphans because they have a parent but are not in the item tree) Cleanup InvalidLanguageData (remove ...
Gatogordo's user avatar
  • 20.1k
19 votes
Accepted

What are the ways to find the Sitecore version on Sitecore installations?

If you have access to the file system for the instance, you can look at /sitecore/shell/sitecore.version.xml. Otherwise, you can log into desktop mode and from the start menu, go to All Applications &...
Ben Golden's user avatar
  • 3,313
14 votes

How does the "Clean up databases" feature work?

Typically, a cleanup operation will remove data in invalid languages and items in orphaned trees. That means: all invalid language data (i.e. data for which the language does not exist) will be ...
Vlad Iobagiu's user avatar
  • 18.6k
9 votes
Accepted

How to setup sitecore site from existing database and website folder?

For an existing site, you would want to create the site manually in IIS. Create a new website in IIS, point the folder to your website folder. Make sure the binding is setup to something like ...
Richard Seal's user avatar
  • 20.5k
7 votes
Accepted

What does the DisableBrowserCaching setting actually disable?

You have it right, the Page refers to the fully rendered HTML Markup of the page. This would include all renderings on that page that are not ajax'd in after the page load in the browser. media, CSS ...
Richard Seal's user avatar
  • 20.5k
5 votes

How to setup sitecore site from existing database and website folder?

@Richard Seal's answer is entirely correct, but if you are worried about setting IIS and NTFS security things manually, you can also follow these steps: Install a fresh Sitecore instance like you ...
Jason St-Cyr's user avatar
  • 6,791
5 votes
Accepted

What is the optimum value (or range) for MaxWorkerThreads sitecore setting?

I once had to tune a server with Sitecore because we did get a lot of requests and couldn't add more servers (for several reasons). I used this blog as a resource, and although it is a few years old ...
Gatogordo's user avatar
  • 20.1k
5 votes
Accepted

How can I access the Sitecore 9 configuration values programmatically?

After struggling with this for a while, finally found the answers. If what you are trying to read is really a setting following the below format: <setting name="THE_NAME_GOES_HERE" value=&...
Hugo Santos's user avatar
  • 2,311
4 votes
Accepted

Is there a list of external domains that Sitecore calls as part of normal operating?

In Sitecore Installation documentation, I didn't find any specific document which suggest allowing access to any external parties. With reference to your question, Sitecore offers add on services on ...
Mohit Dharmadhikari's user avatar
4 votes

What are the ways to find the Sitecore version on Sitecore installations?

An alternative way to see the version and License Id on Sitecore 8+. Go to the login screen /sitecore/login and view the source. Search for an element Id called licenseOptions - you should see this: &...
Richard Seal's user avatar
  • 20.5k
4 votes
Accepted

What is the equivalent of the "DataProviderTimeout" setting in Sitecore 9

It's Sitecore.Configuration.Settings.DefaultSQLTimeout <!-- DEFAULT SQL TIMEOUT The default timeout for all SQL commands issued by the Sitecore APIs, such as the ...
Marek Musielak's user avatar
  • 23.8k
3 votes

Create item with Chinese and Japanese character

I tried with this Regex expression and it worked Please try it and let me know value="^[\u4E00-\u9FFF\w\*\$][\u4E00-\u9FFF\w\s\-\$]*(\(\d{1,}\)){0,1}$" This method defines a range of ...
Sreekrishnan's user avatar
3 votes

What are the ways to find the Sitecore version on Sitecore installations?

In Sitecore 7.5 and down, you can view the exact version of Sitecore from the Content Editor. Click on the Sitecore Icon in the top left hand corner, then select "About". A new dialog box will appear ...
Phil Burton's user avatar
  • 1,314
3 votes
Accepted

Password type field of Sitecore Item getting exposed on Version compare popup Window

Aidy's statement is 100% correct with the Sitecore version you are using but with the Sitecore version 9, the Password field is changed a little bit and works as per your requirement and not expose ...
Mahendra Shekhawat's user avatar
3 votes
Accepted

Experience editor always opens another site in a multi-site instance

There is a setting Preview.ResolveSite in Sitecore.config. If true, when a user previews an item, Sitecore tries to resolve the root item and the context site based on the current content ...
Sergey Krivchenko's user avatar
2 votes

how to add undefined language versions for an item in sitecore

Before I answer your question, let me give you a quick free advice: Don't do this. Adding language versions in languages which don't exist in the system will cause more problems later. The only ...
Marek Musielak's user avatar
  • 23.8k
2 votes

MediaResponse.Cacheability and DisableBrowserCaching

To ensure that new images are served, and not old ones from cache, you "cache bust" the images to include a revision parameter. Create a new class, inheriting from the old one and append the revision ...
jammykam's user avatar
  • 13.8k
2 votes

DateUtil.ToUniversalTime() and DateUtil.ToServerTime() return unexpected values in unit tests

There is no need in hardcoding setting value in the config. You can specify it directly in the unit test via SettingsSwitcher from the Sitecore.Configuration namespace: var date = DateTime.Now....
Serhii Shushliapin's user avatar
2 votes
Accepted

Where to store key-value pair which need to be permanent in Sitecore?

Database: Why do you see external database as an issue? If needed, other sitecore instances or applications that has an access to database can read this value. File: Also you can create a config or ...
Jon Koivula's user avatar
2 votes
Accepted

Create item with Chinese and Japanese character

You can refer below regex to allow item names in Chinese as well as Japanese characters. ^[\u4E00-\u9FFF]|[\u3040-\u30FF\u31F0-\u31FF\uFF00-\uFFEF]|[\w\*\$][\w\s\-\$]*(\(\d{1,}\)){0,1}$ This will ...
ckhanna's user avatar
  • 808
1 vote

Create item with Chinese and Japanese character

Use this patch file and it should work for you. <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <settings> <setting name=&...
Sumit Bhatia's user avatar
  • 5,095
1 vote

Create item with Chinese and Japanese character

Normally, creating items in a different language is not a recommended way. However, you can use Display Name field to populate the localize values. To meet your requirement you need to apply a patch ...
Sumit Helaiya's user avatar
1 vote
Accepted

DateUtil.ToUniversalTime() and DateUtil.ToServerTime() return unexpected values in unit tests

My analysis proved correct. Some Sitecore util functionality will behave differently in unit tests than when debugging the site because the unit tests don't natively inherit the site's Sitecore config ...
Marcel Gruber's user avatar
1 vote
Accepted

Index rebuild batch sizing setting?

Yes, you're right. This settings is a general setting that is used by SolrBatchUpdateContext class. It's used both for partial updates and for full index rebuild. With that setting (and ContentSearch....
Marek Musielak's user avatar
  • 23.8k
1 vote
Accepted

Amend ContentSearch settings to a single index?

No, that's not possible out of the box. SolrContextFactory class, which is responsible for creating IProviderUpdateContect implementation object, checks if batch mode is enabled for indexing, by ...
Marek Musielak's user avatar
  • 23.8k
1 vote

MediaResponse.Cacheability and DisableBrowserCaching

Your question about DisableBrowserCaching has a very good answer here: What does the DisableBrowserCaching setting actually disable?. As you will read there, some effects might occur, depending on how ...
Gatogordo's user avatar
  • 20.1k
1 vote

What are the ways to find the Sitecore version on Sitecore installations?

If you want to do it programmatically, it is possible to find Sitecore's version using the following code: Sitecore.Configuration.About.GetVersionNumber() This is not documented, but Sitecore uses ...
ddj's user avatar
  • 11
1 vote

What are the ways to find the Sitecore version on Sitecore installations?

Control Panel You can have the Sitecore version from the Sitecore Control Panel: Login Screen You can also have it on the Sitecore login page for Sitecore 7.5 and earlier. On Sitecore 8.x and ...
Jean-François L'Heureux's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible