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
6 votes
Accepted

check for all broken links of type "External Link"

I guess Sitecore Powershell Extension is a better way to check the external broken links on a general link field, a sample script can be like below - $startPath = "/sitecore/content/website/home" ...
Mahendra Shekhawat's user avatar
4 votes
Accepted

How to delete Sitecore items without reference using PowerShell script?

Thanks @Michael West for nice blog post. Source: https://gist.github.com/michaellwest/10010536 https://michaellwest.blogspot.com/2014/10/sitecore-powershell-extensions-tip.html?_sm_au_=...
Abhishek Malaviya's user avatar
3 votes
Accepted

Sitecore broken links reports - how to find wrong component

If the ID is not stored in the Final Renderings field on the page item, it may be inherited from standard values and simply not stored on that item because of support for layout deltas. If you're ...
Dan Sinclair's user avatar
  • 5,335
2 votes

How to Remove Dependable Links when deleting item using item.Delete()

Sitecore runs a code similar to this snippet: public void RemoveItemLinks(Item targetItem, bool removeCloneLinks) { foreach (Item child in targetItem.Children) RemoveItemLinks(child, ...
Marek Musielak's user avatar
  • 23.1k
2 votes
Accepted

Duplicate selected IDs appearing in raw value of checklist field after deleting an item and linking to other (already selected) item

Unfortunately the answer to your question is "No, Sitecore did not take this scenario into account". If you look at the Sitecore.Data.Fields.DelimitedField field class, Relink method simply ...
Marek Musielak's user avatar
  • 23.1k
2 votes

Remove link of item marked as Unpublishable

Yes, it is the expected behavior and there are many ways that you can use to remove broken links. So if you want to create a code in C# or use a Powershell script. To get these broken links, you can ...
Sumit Bhatia's user avatar
  • 4,686
2 votes

Remove link of item marked as Unpublishable

Yes, it is expected. In the Content Editor and the Experience Editor, you can restrict the publication of items using publishing restrictions. Publishing restrictions let you specify that a specific ...
Sumit Helaiya's user avatar
1 vote

Remove link of item marked as Unpublishable

As chandra mentioned in comments, i believe this is intended behaviour. In additon to his suggestions, you could add a computed field to represent your drop down in the index. Then during indexing ...
Dean OBrien's user avatar
  • 1,358
1 vote

How to Remove Dependable Links when deleting item using item.Delete()

I did a similar kind of thing in my project and here is the approach I used. Created a method to pass the target item like below. public void RemoveLinksofTargetItem(Item targetItem) { var links = ...
Sumit Bhatia's user avatar
  • 4,686
1 vote
Accepted

How to Remove Dependable Links when deleting item using item.Delete()

When you delete a Sitecore item programmatically using the item.Delete() method in C#, any references to the deleted item will remain in the system, resulting in broken links. To remove these broken ...
Raman Gupta's user avatar
  • 2,389
1 vote

Sitecore Broken Links report

When you click the "scan the database for broken links" link in the control panel, it opens "/sitecore/shell/applications/tools/broken-links" in a modal. Looking in the file system ...
Dean OBrien's user avatar
  • 1,358
1 vote
Accepted

Elapsed Datasources Remain and Return Null in Web DB

I'm afraid your assumption is incorrect. That would require an event handler which would check all the references and change other items in web database directly. And direct changes in web database ...
Marek Musielak's user avatar
  • 23.1k
1 vote

Permissions Exception Rebuilding Link Database

In core database there is Rebuild link database application. You can find it here: /sitecore/content/Applications/Control Panel/Database/Rebuild link database That Application access denied exception ...
Marek Musielak's user avatar
  • 23.1k
1 vote
Accepted

How to fix broken links in EditorPage.aspx url format

#1:href="~/link.aspx?_id=745F287C-B0F5-4C53-AE11-3890136019E3&amp;_z=z" #2:href="~/link.aspx?_id=C57C20CF-290B-4089-8A19-0969D42BD75D&amp;_z=z#_ftn1" Programmatic fix ...
vijay majeti's user avatar
1 vote

How to publish all updated links for page

I tested in sitecore 9.2 and unfortunately this scenario is not working unless you specifically publish the items referencing the new one aswell. When "Publish related items" is checked the &...
Cristi Vulturar's user avatar

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