Try our conversational search powered by Generative AI!

Missing files when exporting and importing


I have problems with missing files when I export pages from one site and import them on another site...

I have declared a Property for a collection of documents:

        public virtual LinkItemCollection Documents { get; set; }

where PropertyRelatedDocuments is declared as (PropertyLinkCollection inherits IReferenceMap):

    [PropertyDefinitionTypePlugIn(DisplayName = "XXX", Description = "YYY")]
    public class PropertyRelatedDocuments : PropertyLinkCollection
        public override IPropertyControl CreatePropertyControl()
            return (IPropertyControl)new PropertyRelatedDocumentsControl();

When I add documents to this property they won't be exported when I do an export and import...

Any suggestions?

Sep 01, 2014 10:28

Hi Robert

If you try to add a test aspx file and change the pagereference and propertyname do you get new links, or just the old?

Could it be that you internal store links and not the guid links?


<%@ page language="C#" autoeventwireup="true" codebehind="TestLinkCollection.aspx.cs" inherits="System.Web.UI.Page" %>


<%=testpage(new episerver.core.pagereference(38),"documents") %>
Sep 01, 2014 12:47

This is what I get when I run this for a property with 2 items:




Trying to change



What does that mean?!

Sep 01, 2014 14:38

It means that the link got changed. But can't see why It will not be copied.

Sep 01, 2014 14:43
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.