Questions tagged [kentico-mvc]

Kentico is a CMS using asp.net that enables users to build websites, online stores, and community sites. To use this tag, the question has to be about Kentico development using MVC, rather than using the Portal Engine or ASPX templates.

Up to and including version 11, Kentico has provided three development modules; MVC, the Portal Engine, and ASPX templates. With version 12, they have dropped ASPX templates and are now making more of a push for MVC.

When developing under the MVC model, you work with two separate applications – the Kentico administration is entirely separated from the MVC application serving content, allowing you to fully leverage the separation of concerns for which the MVC approach is known.

The advantages of using this development module are:

  • Model-View-Controller architecture.
  • The option of using a View Engine of your choice.
  • Full control over the implementation.
  • Two applications, allowing for greater separation of concerns.
  • Greater flexibility when designing websites and no dependence on existing implementations, but at the price of additional development time.

Disadvantages are:

  • Not all Kentico features are supported for MVC development
  • Requires knowledge of ASP.NET MVC and programming.

References

66 questions
0
votes
1 answer

Access to the path 'C:\inetpub\wwwroot\Kentico12_2\CMS\App_Data\CMSTemp' is denied

I am trying to upload image via administration interafe of Kentico. I am getting this error when I try upload a image. Error Image What I tried so far; I changed wwwroot folder security properties, and I gave full control acccess to IIS_IUSR, I…
0
votes
1 answer

How to Create an MVC Widget in Kentico 12 Page Builder

Previous question for context (the previous question was going nowhere, so I created this new one to start fresh): Unable to Create New MVC Widget in Kentico 12 I'm trying to create a widget called "Image with Summary". For now, I'm just trying to…
Nicholas Westby
  • 1,109
  • 13
  • 32
0
votes
2 answers

Unable to Create New MVC Widget in Kentico 12

I'm trying to create a new widget called "Image Summary Section". I'm at the very beginning stages and I'm just trying to get the widget to appear in the list of widgets when adding widgets to the page. Instead, I just get existing widgets that I…
Nicholas Westby
  • 1,109
  • 13
  • 32
0
votes
1 answer

store Edm.GeographyPoint types in Azure Search

Hi im trying to create a Edm.GeographyPoint item in an Azure Search Index via the Kentico CustomAzureSearchModule.This is activated on an index rebuild in Kentico. I keep getting the error message The value specified for the spatial property was…
0
votes
2 answers

Can you combine Kentico 12 MVC and Kentico 12 Portal Engine development within the same website?

One of our clients has a rather large website, currently build in Kentico 11 / Protal Engine. We are now preparing the transition to Kentico 12 / MVC. We woul'd like to do this gradually, per section. We have a couple of concerns regarding this: Is…
0
votes
1 answer

Kentico - Not able to save the DateTime in "DD/MM/YYYY" format

I am working on Kentico 12 MVC Site in version 12.0.59 and default culture set to "en-AU". I have created a Form named "Sample Form". When I am trying to save the datetime in either "MM/DD/YYYY" or "YYYY/MM/DD" it works correctly and saves the data…
0
votes
2 answers

Kentico error The file '/CMSModules/Chat/Controls/SupportChatHeader.ascx' does not exist

I'm trying to setup a development machine for upgrading Kentico 11 to 12. Version 11 is under TFS source control and packages are not added to source control. On dev machine I used NuGet to add Kentico.Libraries and Kentico.Libraries.Web.UI …
joym8
  • 4,014
  • 3
  • 50
  • 93
0
votes
2 answers

How to redirect Kentico to CMS admin page by default

We're using Kentico 11 along with a single MVC website, both hosted as Azure app services. Our company's URL looks like www.mycorp.com and Kentico CMS URL looks like kentico.mycorp.com When someone goes to kentico.mycorp.com, it shows a blank page.…
joym8
  • 4,014
  • 3
  • 50
  • 93
0
votes
1 answer

Kentico 12: change value of one page type field based on value of another field

I have a custom page type with two fields, StateName and StateCode. I would like it so that when a value is selected in either of these fields, the other field’s value changes to match. So for example, if I select “Alabama” in the StateName field,…
daGUY
  • 27,055
  • 29
  • 75
  • 119
0
votes
2 answers

HTTP Error 403.14 - Forbidden kentico administration

I have installed kentico CMS and I choose default site DancingGoat. It creates all folders, and I manage to start project with VS2019. When I access http://localhost:8081/KenticoProject_DancingGoatMvc/ everything is fine. I can debug code as well.…
nemostyle
  • 794
  • 4
  • 11
  • 32
0
votes
3 answers

Kentico MVC culture two letter code in URL pattern

I'm trying to create a more friendly page URL in Kentico with the two letter culture code (en) instead of the full culture code (en-US). I modified the page URL pattern as seen in the image below. Is there a better way of doing this, should I create…
A. van Hugten
  • 715
  • 5
  • 16
0
votes
1 answer

How to customize a popup from a toolbar button in Kentico.EMS12.MvcComponents.Widget.RichText

I recently added the nuget packaget for Kentico.EMS12.MvcComponents.Widget.RichText to take advantage of the new froala based widget and inline editor. This version (based on froala documentation) is very customizable. Unfortunately the…
0
votes
1 answer

Media selection - GUID field

Using Kentico MVC, I would like to add a new field in my page type to select the GUID of a media in order to generate something like: /getmedia/ff30e190-1784-4cbc-8718-f16f3c570535/Colombia-Coffee.jpg. I know that you can have a GUID data type field…
Sylvain C.
  • 1,043
  • 1
  • 11
  • 27
0
votes
1 answer

Access attachments in children of a page - Kentico

I have the following structure: Country A |_Questionnaire 1 |_Result 1 Country B |_Questionnaire 3 |_Result 3 Country C |_Questionnaire 5 |_Result 5 Country ? are of CMS.folder pagetype and both questionnaire and result are of the CMS.file…
Sylvain C.
  • 1,043
  • 1
  • 11
  • 27
0
votes
2 answers

Youtube videos being rendered in MVC

Using K12SP and its MVC model, I would like adding embedded YouTube videos in my views. I saw that in the CKEditor, there is a widget for doing so and it adds corresponding customized HTMl tags such as…
Sylvain C.
  • 1,043
  • 1
  • 11
  • 27