Questions tagged [related-items]

This tag can be used for all those questions which are related to Sitecore item publishing feature with publish related items option.

Filter by
Sorted by
Tagged with
4 votes
2 answers
2k views

How to programatically get all linked items for a given Sitecore item?

I'm wondering if there is some API/Code/Trick on Sitecore to fetch all linked/related Items to a given Sitecore item, just like we have on the XP Admin interface? My goal here is to find all pages ...
Hugo Santos's user avatar
  • 2,281
4 votes
2 answers
311 views

Smart publish wiping web database

We have an issue whereby our smart publish is wiping the web database when publish related items is checked and publish children is checked. We have copy text components folder that is referenced in ...
Sean T's user avatar
  • 240
3 votes
2 answers
493 views

Sitecore Related Items to publish only Related Media items of an item

I have a requirement where Authors don't want to go to media item to publish it and then then actual content item. Publish related items has been disabled as it is publishing way more items than ...
Shaurya's user avatar
  • 437
2 votes
1 answer
166 views

How to prevent an item from being moved to another folder accidentally?

I have 3 items in a folder based on the same template. Is there any functionality provided by Sitecore to prevent these items from being moved to another folder accidentally or deliberatively? Or we ...
PSS's user avatar
  • 597
1 vote
0 answers
221 views

Bulk Items publish using Publishing Service

We recently migrated from legacy publishing to publishing service. In Publishing service, "getItemReferences" pipeline decommissioned. So we have to seek the ways to publish related items. ...
Thamizh's user avatar
  • 167
1 vote
0 answers
22 views

Add an item to another items related items programatically [duplicate]

I have a page with a wysiwyg editor that allows users to select images from the media library and inserts them into their content and save as a sitecore item. The problem is that these images aren't ...
Sean T's user avatar
  • 240
0 votes
0 answers
24 views

Sitecore smart publish with related items publishes items or not? [duplicate]

I have been reading about media items publishing where in my scenario I am using Smart publish. I needed to check if this accounts for the Related media items or not as One article says it's included: ...
samridhi sachdeva's user avatar