Try our conversational search powered by Generative AI!
AI OnAI Off
What is the AdaptiveContentType
attribute type?
Usally if it is not registred as a PageType, it is because the ContentType attribute is missing. I guess that EPiServer scans all assemblies for class with the ContentType attribute. I am not sure if i scans for classed with an attribute inherited from ContentType.
[ContentType(GUID = "{3FF66761-4DF8-4D12-98DB-74402B0E586A}", DisplayName = "Article Page")]
I have a pagetype in a seperate assembly to my website, the pagetype is as follows
Alongside this I have a controller within my web project
Finally I have a Razor view
The issue I have is that my site doesn't recognise that the pagetype has a template it can use for display.
Has anyone had this issue before and if so, how did you fix it?
Thanks