PropertyListBase with page reference import throws exception


Hi guys,

We have a PropertyListBase 

    public class PagesListProperty : PropertyListBase<ApplicationPage>

and Application page as 

 public class ApplicationPage
        public PageReference Page { get; set; }

        public string Name { get; set; }


This property works fine and we get a nice interface in edit mode, where we can enter multiple items and each item has a page reference and a string.

We have exported this page and trying to import in a new env, but getting the following error Unable to cast object of type 'EPiServer.Core.UnresolvedContentReference' to type 'EPiServer.Core.PageReference'.] & the import fails.

All the pages that are selected within this property are part of the export package. 

Anyone know how can I make this work?


Edited, Sep 15, 2021 9:55

I think ApplicationPage is missing inherited Episerver type, tyically ContentData

Sep 17, 2021 6:18
* 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.