869 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
13
views
How to fetch entries of a specific type that directly or indirectly refer to an entry
Let's say there's a Content Model which includes three content types: RootNode, Node, Leaf. As the names imply, content type RootNode includes fields nodes and leafs which respectively includes zero-...
0
votes
0
answers
53
views
In Contentful API, the default sort ordering for full text search is returned by updatedTime rather than by relevance
I have 3 content models and I am trying to perform a full text search based on relevance and based on most recent (updated time) in two separate cases.
{
query: 'test',
'sys.contentType.sys.id[in]'...
0
votes
1
answer
27
views
Using 'sys.contentType.sys.id[in]' along with 'order' does not work in Contentful API
I have 3 content models - 'Article', 'Supplier Showcase' and 'Landing page'. Performing search operation with order works when using queries with individual models such as
{
query: 'PVD',
...
0
votes
0
answers
61
views
Contentful multiple content types filtering
I've an Intros content type in Contentful, and this is some portion of the JSON representation of the content type
{
"name": "Intros",
"description": "Inserted ...
0
votes
0
answers
32
views
Gatsby + Contentful: using different queries in local builds and on netlify builds
I am building a static webpage with GATSBY and CONTENTUFUL, and i want to make the website hybrid, when i am on local development i want to set the downloadLocal option to false, so i dont download ...
0
votes
0
answers
13
views
How does Contentful cfimp handle many reference fields?
I am using @mitya's cfimp with Contentful, and I don't see any mention in the documentation of how to import more than one value into a many-reference field. Can it be done, and if so, how?
I don't ...
0
votes
0
answers
49
views
Jekyll + Contentful on Netlify: Webhook rebuilds ignore fresh Contentful data, uses stale _data instead
Problem
When Contentful content updates, Netlify rebuilds via webhook but uses outdated _data files instead of fresh Contentful data. The deployed site remains stale.
Current Setup
Jekyll site hosted ...
0
votes
1
answer
117
views
How to make contentful graphQL schemas treat "required" fields as required, not optional?
I have Contentful content models, and I fetch the GraphQL Schema that Contentful generates, and use it to generate Typescript types.
In my content model, some fields are set as "required" ...
0
votes
1
answer
75
views
Localized image field not returned for 'uk' locale in Contentful
I'm working with Contentful (React + React Query app) and I’ve run into an issue with localized images.
I have entries in Contentful of the type ConferenceCoChairs, which include the fields pib, ...
3
votes
2
answers
98
views
TypeScript warning while querying entries with filter
I'm using the contentful npm package (version ^11.5.11) in a TypeScript project and querying entries with a match operator on a field (fields.key). The query works correctly and returns expected ...
1
vote
1
answer
97
views
React: Images not rendering when using rich text from Contentful
I’m using React, Astro and Contenful. I need to render rich text with images.
I tried to use documentToReactComponents function from @Contentful/rich-text-react-renderer package to render rich text. ...
0
votes
1
answer
96
views
Use query params or URL path params in Contentful Custom App - Page location
I have a contentful custom app, with a page location configured. I want to be able to share a link to a specific sub-screen of the custom app page, controlled by URL query params or the URL path.
The ...
1
vote
0
answers
62
views
Managing Contents Across Contentful - Multiple Domains + Locales
We have a huge codebase, and I ll make it simple here.
I have a Header Component, A Body Component, and a Footer Component and we have three domains, EN, PT and DE.
If I am in UK Domain, I have ...
0
votes
1
answer
117
views
Fetching single image from Contentful
I am currently able to display all my images and titles on my products page of my react project.
Now I would like to create a single product page when I click on a item.
This is the function I am ...
1
vote
2
answers
103
views
GraphQL Query to Contentful Returns Only One Image in imagesCollection Despite Multiple Images Being Present
I'm working on a Next.js project using Contentful as my CMS. I'm fetching room details, including a collection of images, through a GraphQL query. In the Contentful UI, the room entry contains ...