Use kentico 12 MVC and Portal Engine

Lakshan Perera asked on April 5, 2019 09:07

We are redesigning our site with Kentico 12 MVC. But we need to use some modules in portal engine too. So can we use dual mode?

I want to create some page templates and custom widgets (Portal Engine). Then to create some pages using those templates and add some widgets. Thanks

Recent Answers


David te Kloese answered on April 5, 2019 10:28

You can't have 1 site do both.

I think in theory you would be able to host 2 sites with different modes and use those

So you'd have sites:

  • domainA.com/home
  • having links to
    • domainB.com/mvc-NewsPage
    • domainB.com/mvc-...
    • domainA.com/portal-ContactForm
    • domainA.com/portal-LandingPage

and switch some specific pages between those. But that's adding quite some complexity, not to mention the impact on SEO and end users.

Want are things you want to build in MVC but can't, as for most things you would be able to do just in MVC?

1 votesVote for this answer Mark as a Correct answer

Lakshan Perera answered on April 5, 2019 11:03

Means that we can not do both in the same site. Thanks David.

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on April 9, 2019 01:22

Well technically you can run an mvc site off of a portal site, since you can use the Kentico API the same, but the mvc widgets, url settings, etc won't work. So I would not recommend it.

1 votesVote for this answer Mark as a Correct answer

CSS Team answered on April 10, 2019 10:57

You mean two sites in one web application? Would one then also need two licenses for that? At the moment, the situation is quite unsatisfying for us:

1.) On one hand, Kentico encourages everybody to switch to MVC model and we are currently planning on migrating several customers in the near future.

2.) On the other hand, a lot of features do not work anymore with MVC model (e.g. Forums, many pre-defined templates, widgets...)

Such a "mixed-mode" would really be a good idea for the time where not all features are supported by MVC model (we are probably speaking about years!).

Best Regards, Stefan

3 votesVote for this answer Mark as a Correct answer

Nicolas Huguet-Latour answered on October 22, 2019 15:43

So... What is the recommended approach if we do need a module supported only by the Portal Engine (in our case, the Forums module) but we want to develop for the future (in MVC)?

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on October 22, 2019 16:14

Well I would be careful using the forum module going forward, honestly it's so rarely used that they are dropping support of it going forward, I would be surprised if it's in 2020. You can mimic the structure and build it out like any custom functionality or try to find a third party forum tool that has hooks to plug into Kentico with. MvcForum by YodasMyDad looks promising (GitHub.com/YodasMyDad/MvcForum)

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.