Skip to main content
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....
Dmytro Shevchenko's user avatar
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 ...
Alan Płócieniak's user avatar
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 ...
Vlad Iobagiu's user avatar
  • 18.7k
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 ...
Mark Gibbons's user avatar
  • 5,682
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 ...
Ed Schwehm's user avatar
  • 3,036
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 ...
Diego's user avatar
  • 5,698
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=""...
Vlad Iobagiu's user avatar
  • 18.7k
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 ...
Gatogordo's user avatar
  • 20.2k
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 ...
Srikanth Kondapally's user avatar
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}...
Dan Solovay's user avatar
  • 2,121
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 ...
iwalkathinline's user avatar
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.
scFootsteps's user avatar
  • 3,851
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 ...
Cmasterd's user avatar
  • 485
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....
Kapoue's user avatar
  • 161
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/"> <...
Marcel Gruber's user avatar
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: ...
Bartłomiej Mucha's user avatar
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 ...
Anicho's user avatar
  • 1,429
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 ...
Mark Cassidy's user avatar
  • 25.3k
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 ...
Ghan's user avatar
  • 710
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 ...
Marek Musielak's user avatar
  • 24.1k
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 ...
jrap's user avatar
  • 4,971
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 ...
Chris Auer's user avatar
  • 13.1k
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 ...
Adam Seabridge's user avatar
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 ...
Diego's user avatar
  • 5,698
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 (...
nickwesselman's user avatar
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 ...
Carlos Rodriguez's user avatar
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 ...
Matthew Dresser's user avatar
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.
Mrityunjaya Pathak's user avatar
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 ...
João Neto's user avatar
  • 2,051
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 ...
jrap's user avatar
  • 4,971

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