Try our conversational search powered by Generative AI!

Unable to Add own custome template in Alloy website


Hi All,

I am new on Episerver 7.5, and I am try to add custome templete in Alloy website but I got below error , please provide the solution



The type 'EPiServer.Templates.Alloy.Views.Pages.ContactUs' cannot be used as type parameter 'T' in the generic type or method 'EPiServer.Templates.Alloy.Views.Pages.SiteTemplatePage'. There is no implicit reference conversion from 'EPiServer.Templates.Alloy.Views.Pages.ContactUs' to 'EPiServer.Templates.Alloy.Models.Pages.SitePageData'


Jul 24, 2014 9:46

Hey, Umesh, does your ContactUs page inherit from SitePageData?

Jul 24, 2014 10:36

Hi Marija, issue resolve ,

many thanks...

Jul 24, 2014 14:23

You are welcome, glad I could help :)

Jul 24, 2014 14:24
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.