Questions tagged [kentico-api]
31 questions
1
vote
0 answers
For POST actions use HtmlHelper extension method Html.Kentico().PageData() to persist the page context
Hi Please assist I am building .net core site with kentico 13. I am getting this error below
Missing page context data. If required use IPageDataContextInitializer.Initialize method to initialize the context manually. For POST actions use HtmlHelper…

David Hlophe
- 27
- 5
1
vote
1 answer
How to add a contact to contactgroup using Kentico Rest API?
There is a POS windows application where a store manager processes bills for customers. Our client want us to provide them an API service where this service will add a customer as a contact and also be assigned to a POS contacts contact group in…

user1626998
- 11
- 2
1
vote
1 answer
Kentico 12: detect if an editable area contains any widgets
I'm building a site in Kentico 12 MVC and working on setting up content personalization. The normal way to do this is to add an editable area in the view:
@Html.Kentico().EditableArea("area1")
Then, in the CMS, the Page tab will…
daGUY
- 27,055
- 29
- 75
- 119
1
vote
2 answers
Kentico Cloud Delivery filter for parent element
I have a content model "category" that contains products (also a content model). Now I have to get the category in which a product is linked. For this I got the product url_name (unique).
I searched in the kentico-delivery-sdk (JS) docs for a…

emma93
- 177
- 2
- 12
0
votes
1 answer
Kentico 13: User contributions outside of the admin
I haven't worked with the user contribution webpart from v12 and older, but is it possible to do something similar in v13?
Essentially I'm looking for users to create content outside of the admin site. There's a requirement that logged in users…

eKoz
- 83
- 7
0
votes
0 answers
Create a copy of all the redirection in my website
Can anyone please help me with how do I pull records or file for redirected page. I wanted to have it as a backup for my website revamp.
0
votes
1 answer
Issue while uploading Video of 25mb in kentico using Management API "Request body larger than maxBodyLength limit"
I am uploading 25 mb size of video using Kentico using Node.js
I have tried all the way but I am getting "Request body larger than maxBodyLength limit"
How can i resolve it?

Maulik Patel
- 717
- 1
- 10
- 22
0
votes
0 answers
How does Kentico 12 Web Farm handle development and production sites with SAME domain name?
Let's say I have a production MVC site called www.example.com that uses Kentico 12 CMS.
To test certain functionality there are times when I need to setup a local development site to match the domain name www.example.com using the Windows hosts…

joym8
- 4,014
- 3
- 50
- 93
0
votes
1 answer
How can I add asset/Image to specific folder using Kentico
Currently i am able to add multiple images into kentico.
but how can I add images into specific folder using Kentico API.
I am using Kentico/Kontent-management Package in Node.js project.

Maulik Patel
- 717
- 1
- 10
- 22
0
votes
1 answer
How do i use the Kenitco API from a Console App
I'm using Kentico V10 and I can run the website locally. However, when i try to use the API from a console app, i'm getting the following error.
{"Object type 'cms.class' not found."}
The stackTrace has a call to check license. I'm following…

randy
- 253
- 4
- 17
0
votes
1 answer
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.GetValue("CMSWIFTrustedCertificateThumbprint");
Set's…

Clyde D'Souza
- 402
- 2
- 10
0
votes
1 answer
Kentico 12 Caching in different environments
MVC C# project with a Kentico 12 back-end (no drag-n-drop web parts just using it as back end CMS, with calls to Kentico APIs for data). Basically, we're having a caching issue that only occurs on one of our environments (PROD). I believe this is…

RichieMN
- 905
- 1
- 12
- 33
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
Kentico CMS creating additional file when attempting to overwrite existing one via Kentico API
As you can see in the screenshot below Kentico CMS is creating an additional file when attempting to overwrite an existing media file using Kentico API 11.0.26. My goal is the just have one file.
Here is my API code
// Gets the media…

joym8
- 4,014
- 3
- 50
- 93
0
votes
1 answer
Kentico Library media file not available in MVC website
I'm creating a Kentico media library file using Kentico API 11.0.26. The CMS and MVC app are on a web farm. Both are in healthy state.
The file gets created fine, but is only accessible on the CMS application, not on the MVC website. This is true…

joym8
- 4,014
- 3
- 50
- 93