All Questions
278
questions
1
vote
1
answer
374
views
Kentico 13 pagebuilder consistent error on multi-site instance
On our Kentico MVC instance, we host 5 sites. We are getting an intermittent, but consistent error in the page builder. It seems to happen when switching between sites in the drop down menu. It's ...
2
votes
2
answers
5k
views
How do I fix a rebuild TypeScript Error @types/node
Having an issue with a local repo on rebuild. I set up the solution on our server, pushed it to Azure DevOps, pulled it to local, did my npm install, rebuilt and I get a typescript error. My co-worker ...
0
votes
1
answer
76
views
Connecting Kentico API DataSource to Pager Control
I have a repeater that I load Data into via the Kentico DocumentHelper API (K12 Portal Engine). I can load the data without any issues but can't seem to get the pager to work/appear. I added the ...
0
votes
2
answers
1k
views
Error on Page Preview after upgrade from Kentico 12 to 13
We have Kentico CMS with MVC site.
I recently upgraded Kentico 12 to 13 and started getting a "resource not found" error on doing Page Preview in the admin app. I had not uninstalled the ...
0
votes
1
answer
1k
views
Error occurred attempting to retrieve page templates. Contact administrator and check page builder feature registered correctly the MVC project
This is my Application.config File
public class ApplicationConfig
{
public static void RegisterFeatures(IApplicationBuilder builder)
{
// Enable required Kentico ...
1
vote
1
answer
1k
views
Override Invoke method in an inherited ViewComponent .net core 5.0
I'm migrating from ASP.NET MVC to ASP.NET Core MVC.
I had a BasePodsWidgetController that looked like this:
public abstract class BasePodsWidgetController<TProperties, TConfiguration, TItem> : ...
0
votes
1
answer
373
views
Set static assets as cacheable in Kentico Xperience 13 .NET Core site
I'm trying to use the following code in a .NET Core site running Kentico Xperience 13.
app.UseStaticFiles(new StaticFileOptions
{
OnPrepareResponse = context =>
{
context.Context....
0
votes
1
answer
336
views
Kentico how to read a POST Value in a custom form control
I'm working on a Kentico app V12 (after the same code will be deployed to other installations from 12 to 7) and I added a new form control.
In my case the control is for the Google Recaptcha V3 token (...
0
votes
1
answer
216
views
How to edit styles inside Kentico 12SP MVC page builder?
I have a site running Kentico 12SP MVC. For reasons, I won't get into, my Header and Footer have a z-index in the millions. Unfortunately, the z-index is so high that it blocks the pagebuilder ...
1
vote
1
answer
339
views
How to dynamically set the background color in an ASCX file?
I have an ASCX file called AegHero where I have the a markup for a WebPart. I also have a BackgroundColor property that holds a class name, that class name corresponds to a class with a specific ...
1
vote
1
answer
338
views
How can I mock the Parent accessor of a faked TreeNode in a unit test?
Using Kentico 12 SP, hotfix 64 - I can create faked TreeNode types and set values on most of the fields, but I can't set a return value for Parent which I need to do to run a test on a method.
The ...
0
votes
1
answer
829
views
Kentico 12 (Portal) - Retrieve Media File Info from Media Selection in code behind
I'm creating a widget that would allow a user to select an image from the media library using the Media Selector control, and return both the image and the file's attributes (Title, alt text, etc).
I'...
0
votes
1
answer
94
views
Kentico v8.2.12: Why is my WebAPI Route not registered correctly (usually only on the first release)?
Summary
A Kentico 8.2 website fo which I have recently implemented a Web API service isn't registering routes on first deployment and all calls return 404. Further redeployments usually fix the issue, ...
0
votes
1
answer
290
views
Kentico API to update settings doesn't reflect in CMS
I'm trying to programmatically update the WIF thumbprint value in Kentico. I've developed a small app that does the following:
Get's the value
string thumprintValue = SettingsKeyInfoProvider....
0
votes
2
answers
676
views
Could not load file or assembly CMS.DataEngine - after Kentico 11.0.0 upgrade to Kentico 12 SP1
I have got the following error after upgrading Kentico 11 to Kentico 12 SP1.
The action I have made:
1. I have removed all the reference of Kentico dll and I added new reference.
2. All the DLL (both ...