Questions tagged [kentico-kontent]

Kentico Kontent allows developers to build websites and applications using the front-end technologies they choose while also integrating with any systems the customer has adopted across their digital experience stack.

57 questions
7
votes
2 answers

VueJS GET request with Bearer token

I am experimenting with Kentico Delivery Preview API using VueJS, which allows you to get unpublished content by submitting a bearer token for authorisation (https://developer.kenticocloud.com/reference#authentication). However, no matter what I do…
Chris Wickham
  • 521
  • 2
  • 5
  • 19
5
votes
1 answer

graphql duplicated documents error when retreiving multiple data types in Gatsby-node.js

I have a simple Gatsby prototype that utilizes Kentico Cloud as a data source. Luckily for me, they have already built a source plugin that I'm utilizing to fetch a single data type called 'BlogPost'. This works as expected. gatsby-node.js source…
onTheInternet
  • 6,421
  • 10
  • 41
  • 74
4
votes
1 answer

Prevent Automapper converting IEnumerable Property to List

I'm trying to map a Model to a ViewModel that has properties of types that inherit from IEnumerable. The properties are of the same type and name, but Automapper is converting the source to a Generic List and then failing to map to the…
meobyte
  • 1,320
  • 8
  • 15
3
votes
2 answers

How to download images from url field on another node in Gatsbyjs so I can use gatsby-image?

I'm working on image optimisation for a site using Gatsby and Kentico Cloud. I want to use the gatsby-image plugin, but gatsby-image cannot query url fields. So I need to download these images from the CMS on another node so they can be queried by…
Sean
  • 37
  • 7
2
votes
2 answers

Kentico Kontent DeliveryClient.Build in Kentico Portal could not load file or assembly Microsoft.Extensions.DependencyInjection

I am attempting to call Kentico Kontent using their DeliveryClient in a Kentico Portal project that doesn't have dependency injection. This project would like to migrate to Kontent but would like a new feature in the extisting project to be…
w00ngy
  • 1,646
  • 21
  • 25
2
votes
1 answer

Kentico cloud: problem adding angular html in richTextResolver

I'm trying to render a structure inside a RichTextField in kentico cloud. Following this tutorial https://docs.kenticocloud.com/tutorials/develop-apps/get-content/dealing-with-structure-in-rich-text i made a ContentType and used as template for my…
G-Host
  • 356
  • 2
  • 11
2
votes
1 answer

How to resolve content item links in Kentico Cloud while respecting routes configuration?

ASP.NET Core 2.2 web site shows data from a Kentico Cloud CMS. Some of the items contains a rich text field. These fields might contain links to another content items. These links should be resolved to an url by the web site. This docs suggest that…
alik
  • 2,244
  • 3
  • 31
  • 44
2
votes
3 answers

How to push changes in package.json of kentico-cloud-delivery of node_modules into bitbucket

According to the Kentico technical support adviser, in order to get my create-react-app application rendered on IE11, I had to change the following line of code inside the node_modules -> kentico-cloud-delivery -> package.json file: "main":…
1
vote
0 answers

How to customize PropertyMapper implementing PropertyMapperInterface Kentico Kontent PHP SDK?

I'm trying to reformat the key name, I don't want camelCase key returned. So I commented out this code in the getProperty function. $arrKey = TextHelper::getInstance()->camelCase($arrKey); However I can't figure out how to do it implements…
ChanhHuynh
  • 21
  • 3
1
vote
1 answer

Kentico Kontent and Vue 3

I'm searching for a simple example on how to create a component in Vue 3 using data out of Kontent. More specifically, I'm trying to list items of a certain content type. I tried to refactor the Vue sample app that Kentico provided, but I'm quite…
Chantal
  • 51
  • 6
1
vote
1 answer

Why is Kentico-Kontent .NET SDK running in Blazor WebAssembly GetItemsAsync() returning items of all types?

I have been trying out Blazor WebAssembly and attempting to connect to an existing Kentico Kontent API. I generated models using the DotNet Tool KontentModelGenerator which I then pass to Kentico's IDeliveryClient implementation. @code{ private…
Jonathan Twite
  • 932
  • 10
  • 24
1
vote
1 answer

ASP.NET MVC Core DisplayFor not rendering correct type when enumerating polymorphic IEnumerable

I am have a view model which has a property public IRichTextContent Body { get; set; } This interface inherits IEnumerable and there are 3 interfaces that inherit IRichTextBlock: IHtmlContent, IInlineImage and IInlineContentItem.…
Rob West
  • 5,189
  • 1
  • 27
  • 42
1
vote
1 answer

Array of objects not rendering in order as set in CMS, using Kentico Kontent

I'm having trouble rendering an array of widgets in the correct order. I am using graphql to query page data from kentico's kontent.ai. A page in the cms has a rich text field that can include a number of widgets. When I console log the array of…
user74843
  • 701
  • 2
  • 10
  • 28
1
vote
3 answers

How to log HttpClient requests in Kentico Kontent .NET Delivery Client?

How do you log the HTTP Requests that the Kentico Kontent .NET delivery API here: https://github.com/Kentico/kontent-delivery-sdk-net Specifically what I am looking for is how to log the HTTP Get requests to delivery.kentico.ai (the end point that…
Matt
  • 425
  • 3
  • 13
1
vote
1 answer

How to get component object in richtext without using strong type [Kontent Delivery SDK .NET]

As Title, I can't find how to get a component object in richtext without using a strong type. DeliveryItemListingResponse listingResponse = await kentontClient.GetItemsAsync( new InFilter("system.type", "property") ); foreach(var item in…
fei wong
  • 11
  • 1
1
2 3 4