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 ...
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 &...
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 ...
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 ...
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 ...
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 ...
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 ...
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=&...
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 ...
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:
&...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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 ...
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=&...
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 ...
1
vote
Redirect map template not working in sitecore 10.2
In the old to new URL names, In old URL (on left), Can you try to enter the page name which does not exist in your content tree ? Just to test it our "testingredirect123" (just making it up ...
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 ...
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....
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
settings × 21configuration × 4
sxa × 2
content-search × 2
indexing × 2
caching × 2
site-configuration × 2
redirect × 2
index × 2
experience-editor × 1
sitecore-api × 1
security × 1
installation × 1
multilingual × 1
sql-database × 1
deployment × 1
content-management × 1
unit-testing × 1
url-rewrite × 1
sim × 1
seo × 1
setup × 1
content-tree × 1