We have moved!

You are currently looking at documentation for Umbraco 8 and older versions.
An automated guess is that docs.umbraco.com/umbraco-cms/reference/events/editormodel-events/customizing-the-links-box could be the link to the new documentation for Umbraco 9 and newer versions.

    Customizing the "Links" box

    For a content item, Umbraco will show a Links box within the Info content app. By default, this box will show one or more links to content item.

    image

    With the SendingContentModel event, we can manipulate the links in the Urls property - eg. replace it with some custom links (although a URL provider may be more suitable):

    EditorModelEventManager.SendingContentModel += (sender, e) => {
    
        // Replace the links with our custom array
        e.Model.Urls = new[]
    	{
    		new UrlInfo("/products/?id=" + e.Model.Id, true, CultureInfo.CurrentCulture.Name)
    		
    	};
    
    };
    

    or remove the box entirely by providing an empty list of links:

    EditorModelEventManager.SendingContentModel += (sender, e) => {
    
        // Setting "Urls" to either null or an empty array will remove the box from the UI
        e.Model.Urls = null;
    
    };