Try our conversational search powered by Generative AI!

Unable to Add own custome template in Alloy website

Vote:
 

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

Error:

"

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'

"

#88674
Jul 24, 2014 9:46
Vote:
 

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

#88676
Jul 24, 2014 10:36
Vote:
 

Hi Marija, issue resolve ,

many thanks...

#88681
Jul 24, 2014 14:23
Vote:
 

You are welcome, glad I could help :)

#88682
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.