Questions tagged [kentico]
Kentico is a content management system (CMS) for building websites, online stores, intranets and Web 2.0 community sites. Kentico utilizes ASP.NET and Microsoft SQL Server. Use this tag for asking questions related to development issues with Kentico CMS.
kentico
1,781
questions
-1
votes
1
answer
126
views
Kentico Xperience Medlab sample project - view not found
I followed this sample https://docs.xperience.io/tutorial/developer-tutorial and created the MEDLAB project.
Getting the following error
InvalidOperationException: The view on path '~/Views/Shared/...
0
votes
1
answer
46
views
Alternative for Kentico 12 Message Board in Kentico 13
I am migrating Kentico 12 to 13. I found that in Kentico 12 project I have CMS.MessageBoard.dll which is not available in Kentico 13.
Is there any alternative for the same?
-1
votes
2
answers
99
views
Kentico remove trailing slashes in a URL
How do I remove trailing slashes in a URL.
For example:
I want this url https://test.com/mypage/ to redirected to https://test.com/mypage
The fix should not affect the admin site. Fix is only needed ...
0
votes
2
answers
73
views
Kentico Macros inside macro
I'm trying to set the style tag inside an email widget in macros. Following works fine
style="background-color: {% CMSContext.Current.GlobalObjects.CustomTables["Keyton....
0
votes
1
answer
153
views
Kentico 13 Smart Search not working with Local Indexes
We are implementing Smart Search in Kentico 13. In our initial we had enabled the search feature, followed by adding local indexes (I added a local index with name "DefaultSearchIndex"). For ...
0
votes
0
answers
43
views
Kentico Get Current Recipient contact info
I'm trying to get current email recipent data inside a custom macro field. My code below.
using CMS;
using CMS.DataEngine;
using CMS.MacroEngine;
using CMS.Membership;
//using CMSApp.CustomMethods;
...
0
votes
2
answers
87
views
TinyMCE bombing out in Kentico after upgrade to 13
I have a Kentico site that I inherited that I am getting towards the end of updating to Kentico 13.0.106. It has one problem that is pretty major for me at the moment. At the moment, TinyMCE is ...
0
votes
1
answer
112
views
Kentico 13: Create new instance of ComponentViewModel and pass widget properties
I am converting old inline widgets from K12 content into static HTML.
To do this I am using IViewComponentHelper.InvokeAsync and need to pass in ComponentViewModel as a param but I also need to pass ...
-1
votes
2
answers
262
views
How to connect Kentico to Azure SQL database using managed identity
I am using Kentico 13 and trying to connect to the Azure SQL database using managed identity in my localhost environment using the below connection string.
"Server=tcp:<MyServer>.database....
-1
votes
3
answers
661
views
How to get current page URL in .cshtml from Kentico 13 core?
How could we get the current page URL in .cshtml page for Kentico 13.
Used @Context.Request.GetDisplayUrl().ToString()
but getting the below error
'HttpRequest' does not contain a definition for '...
0
votes
2
answers
294
views
Upgrading from Kentico 12 to 13
I am preparing for my next attempt at upgrading a Kentico 12 MVC site (12.0.102) that I inherited to Kentico 13 and I'm just trying to determine viable paths that I can take.
What I would like to know ...
0
votes
1
answer
249
views
Kentico 13: Getting the current document when registering custom macro fields
Normally in order to get the current document in K13, we must use DI to get the IPageDataContextRetriever.
However, when trying to register a custom macro field, adding a constructor to my class (in ...
0
votes
0
answers
185
views
Error on page preview mode in Kentico 13 after Okta integration
I'm trying to run Kentico 13 CMS in preview mode but i'm getting the following error.
An unhandled exception has occurred while executing the request.
Message: Try reloading the administration ...
1
vote
4
answers
241
views
Kentico12 Additional assemblies have to be registered before application pre-initialization
The current project I have inherited is a Kentico 12 MVC implementation. I successfully got the CMS Admin site running. It currently references a bunch of assemblies in a Lib folder. They are version ...
0
votes
1
answer
210
views
Kentico 13 .Net Core working on IIS Express but not on IIS
I'm getting this error suddenly (wasn't an issue before) when launching the site with IIS but am having no issue when running the site on IIS Express. I've double checked the names of the areas in the ...