Friday, 12 May 2017

Delete an item from sitecore

Delete an item and all its subitems:
1.    In the Content Editor or the Experience Editor, navigate to the item or page that you want to delete.
o    In the Content Editor, on the Home tab, in the Operations group, click Delete.
Alternatively, you can right-click the item in the content tree, and click Delete.
o    In the Experience Editor, on the Home tab, in the Edit group, click Delete page.
2.    If the item contains sub items, a message appears informing you that that the item contains sub items and that these items will be deleted too.
o    To save any of the subitems, click Cancel and move them to another location.
o    To delete the item and its subitems, click OK.
If there are links to the item you delete, you must decide how to deal with the broken links in the Breaking Links dialog box that opens.
               
1.    In the Breaking Links dialog, you see:
o    Remove links – remove all the links that exist to this page.
When click continue button its display number of link which are connected.
 
o    Link to another item – change all the links to this page to link to another item.

When Click continue button, open new popup to provide select another item.
 
  
o    Leave links – manage the broken links in the Broken links report.

When Click continue button, display number of item show which are going in broken link report.
 
2.    To open the item that links to the item you want to delete and edit the link directly from there, click Edit Links. In the Edit Link dialog box, click Edit.

3.    In the Breaking Links dialog box, click Continue.
4.    If you selected Link to another item, in the content tree, click the item that you want to link to instead. To update the link, click OK.
5.    If you delete any child item than after delete publish parent item with select subitems with smart publish. without publish item was not deleted from web Database.

Restore or remove a deleted item:-

 

Open the Sitecore Launch Pad and click Recycle Bin.
Alternatively, you can open the Recycle Bin from the Sitecore Start menu.
When you delete an item, the item is moved to the Sitecore Recycle Bin from where you can:
·         Restore an item. select the item in the list and click Restore.
·         Permanently delete individual items.
·         Empty the entire bin and permanently delete all items.

No comments:

Post a Comment