47
votes
Accepted
What does the "Publish related items" checkbox do in Sitecore?
Technical details
Starting from Sitecore 7.2, there is an option to publish an item with "Publish related items" checked. If you do that, the <getItemReferences> pipeline (defined in Sitecore....
14
votes
Accepted
How can I find all usages of template in insert options?
In my humble Opinion 3 is the best as it works out of the box, no modules required, no code required and what is more important you do not rely on LinkDatabase which can be sometimes outdated.
Option ...
13
votes
Accepted
What is the impact to a Sitecore instance while rebuilding the links database?
Sitecore is using link database in order to speed-up resolving of relationships between items (referers/references).
It allows to increase performance of Sitecore client and shouldn't impact site ...
11
votes
Accepted
Rebuilding link database: System.FormatException: Unrecognized Guid format
I was unable to find the culprit using Vlad's method, so I went down another path. I installed the Sitecore PowerShell Extensions Module and modified one of the built-in scripts - the "Broken Links ...
11
votes
Accepted
How does Sitecore update the Link Database?
An important note to start: the "Links Database" is a table named "Links" that lives inside a Sitecore database. It is not a separate database.
Sitecore only updates the Link Database on the database ...
10
votes
Accepted
How does the “Rebuild link database” feature work?
Retrieved from the SDN site
What is the Links Database:
"Sitecore maintains a table named Links in the database specified in the LinkDatabase section of web.config. This table provides a logical ...
9
votes
Rebuilding link database: System.FormatException: Unrecognized Guid format
In Sitecore 8.2.1 the GeneralLink field allows to contain links with empty "id" attribute like :
<link text="Description" linktype="internal" class="" title="HomeAlt" target="" querystring="" id=""...
8
votes
What does the "Publish related items" checkbox do in Sitecore?
Publish related items will do what it says: it will add the "related" items to the list of items the need to be published. Related means can be:
Clone references – items that are clones of the ...
8
votes
What is the impact to a Sitecore instance while rebuilding the links database?
Rebuilding Link Database updates the Links table in the "core" (default) database based on the selected list of database(s). As mentioned by others, it updates the referrers and references for a ...
8
votes
How can I find all usages of template in insert options?
One option is to use Sitecore Rocks to identify the items. This syntax will work if you are searching for items with an insert option set to a template with ID of {8FAD3C40-C1CC-4C4E-A3D9-F6F6BB20571D}...
7
votes
Rebuilding link database: System.FormatException: Unrecognized Guid format
Quick note for anyone who may stumble upon this like I did. After experiencing this issue myself on 8.2.6 (and not having any luck with the other solutions listed here), I submitted a ticket with ...
7
votes
Accepted
How to speed up rebuilding the link database?
You can try clearing the Links table before starting a link db rebuild.
Tasks like Erasing (or comparing) existing data might also included in the rebuilding process, which might cause this issue.
6
votes
What does the "Publish related items" checkbox do in Sitecore?
Publish Related Items are:
Clone references – items that are clones of the selected item.
Media references – media items that are related to the selected item.
Alias references – items that are ...
6
votes
Rebuilding link database: System.FormatException: Unrecognized Guid format
Here is a complete script to detect all those errors:
Add-Type -AssemblyName Sitecore.Kernel
function Resolve-Error ($ErrorRecord=$Error[0])
{
$ErrorRecord | Format-List * -Force
$ErrorRecord....
6
votes
Accepted
Why do links from custom link / image fields not appear in the link database?
I found that the custom field must patch /App_Config/FieldTypes.config:
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<...
5
votes
Accepted
Delete Data sources without any referrers
You can do that in a few steps:
Rebuild your link database
Search for datasource items for example by template id
For each item check if it has referrers
Delete item
The code can looks like this:
...
4
votes
How to speed up rebuilding the link database?
Not sure for 6.6 update 8, but I dug up the following information. Might be worth trying to see if that patch will apply in 6.6 also.
We had recently done upgrade of one of our implementation from SC ...
4
votes
Accepted
Save multi values to image library with link reference
Well, I've been in the archives ;-) Now I cannot say for sure, the solutions I list here will still be applicable in Sitecore 8. What I can say though, is that Sitecore will add LinkDB references ...
4
votes
How does the “Rebuild link database” feature work?
Link DB plays key role in managing references across Sitecore items. In simple words, if you select an item and check Navigate>Links, it shows you all the items that refer to the current item and ...
4
votes
How to get URLS added in the Rich Text field and Link Manager Fields?
From what I understand, you want to implement custom logic for generation of internal links added by content authors in Rich Text fields.
If that's the case, you need to change the logic of ...
3
votes
Accepted
Are there always just 3 databases?
...can there be more?
One possible response is yes- to leverage a Preview Publishing Target. In this scenario you would duplicate your web database, connection string and definition. Rename to ...
3
votes
Are there always just 3 databases?
Simplified version
For version 8, there are 4
Core
Setting and Sitecore users
Master
All versioned content for authors
Web
All published content
Reporting/Analytics
Aggregated analytics ...
3
votes
Are there always just 3 databases?
It depends on your version of Sitecore and if you are using xDB or WFFM or not but usually there are more than 3.
Here is an example of the DBs for an out of the box install of Sitecore 8:
If you ...
3
votes
What is the impact to a Sitecore instance while rebuilding the links database?
The site should not go down while rebuilding link databases. You may have performance issues if you have configured on the web database to have the links be rebuilt after each publish so you might ...
2
votes
What is the impact to a Sitecore instance while rebuilding the links database?
I see mentions that the links database "speeds up" link resolution, but as far as I know, it is the only way by which item referrers can be resolved (i.e. "who links to this item?"). Item references (...
2
votes
What does the "Publish related items" checkbox do in Sitecore?
What I would add to this conversation is that publishing with related items can snowball easily to a few hundred items from even a single item which is why I use this option in very select moments and ...
2
votes
Accepted
"The hostname could not be parsed." Error while rebuilding Link database
This problem was related to the site definition configuration. Our site mistakenly had multiple pipe-separated hostnames in the targetHostName property (it should have just one hostName value).
I ...
2
votes
Do we need to rebuild the link databases on CD Server?
No, It is not required to rebuild Link databases in CD environments. Publishing will keep your link database updated.
2
votes
Does Sitecore cloning create extra records in Link Database?
Adding to what @mark-cassidy said:
Links Database stores relations between field values, and items for each database (web, master, core, and additional ones), language and version.
A Clone keeps a ...
2
votes
What is the function of LinkDatabase.UpdateDuringPublish?
What does this setting do?
The following Sitecore.Links.ItemEventHandlers methods check this setting (these are referenced from the corresponding event, e.g. item:copied):
OnItemCopied
OnItemDeleted
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
link-database × 29broken-links × 5
content-editor × 3
sxa × 2
links × 2
link-manager × 2
sitecore-client × 1
content-search × 1
media-library × 1
indexing × 1
publishing × 1
upgrade × 1
installation × 1
sql-database × 1
fieldtype × 1
datasource × 1
scaling × 1
urls × 1
url-rewrite × 1
error-handling × 1
admin-pages × 1
related-items × 1