Questions tagged [contentful]

Contentful is a cloud based CMS framework using a RESTful JSON API.

Provides a content infrastructure for digital teams to power content in websites, apps, and devices. Unlike many other content management systems, Contentful was built to integrate with the modern software stack. It offers a central hub for structured content, powerful management, and delivery APIs, and a customizable web app that enables developers and content creators to ship digital products faster.

859 questions
2
votes
1 answer

How to make a list component to list my contentful posts

I'm trying to make a list component that lists off my project Case Studies coming from my Contentful account. I'm trying to use Gatsby's Static Query component. I tried to bring the data in and map it to the list item component that basically takes…
Ryan Brooks
  • 101
  • 2
  • 8
2
votes
0 answers

How to externally link to nuxt js app and load contentful api?

I have a nuxt js app that when linked to from an external source loads the page but does not call the api to pull through the dynamic content. The api loads fine when using from within the site and the server config seems correct as the…
James Parsons
  • 895
  • 5
  • 18
  • 36
2
votes
1 answer

Nuxt.js & contentful website not generating dynamic routes properly

I've just finished building a nuxt.js & contentful website. There are several routes that need to be generated when people hit the website but it doesn't seem to generate all the routes or not recognise some pages unless I refresh. Example - I…
Eik Hunter
  • 87
  • 2
  • 10
2
votes
0 answers

API can't handle "npm run generate" dynamic routes with Nuxt

When running npm run generate the Contentful API fails regularly. I'm not sure if this is due to them not being able to handle the load or from my generate script for dynamic routes not being performant. The weird thing is it has worked fine up…
Payton Burdette
  • 126
  • 1
  • 1
  • 9
2
votes
1 answer

TypeError: migrationCreator is not a function

I am trying to createAsset using the content-management-api. The JavaScript script that I am using is ./contentful/contentful-import.js const contentful = require('contentful-management'); const client = contentful.createClient({ …
Darren
  • 2,176
  • 9
  • 42
  • 98
2
votes
1 answer

Gatsby & contentful site incorrect files path in public build

Trying to deploy Gatsby site with Contentful CMS. Everything works just fine in development mode - things get rough when I'm trying to build. Gatsby build command deploys the site, all seems OK at first, but it throws errors preventing my content…
Emzaw
  • 618
  • 6
  • 11
2
votes
1 answer

Pulling Contentful data using VueJS and Nuxt.JS

Okay, I want to pull data (existing one) from Contentful using VueJS. I'm no developer so I don't really understand how this fully works, I was able to follow through half-way of their tutorial, but as I already have my space and data, I got stuck,…
janharold
  • 146
  • 10
2
votes
1 answer

Angular: Dynamic Setting of Routes inside a Child Router Module, that is lazily-loaded

I have an application built on Angular 5 and Contentful. A service retrieves an Entry of routes from Contentful as JSON and must feed those routes to a child routing module that is lazily-loaded. Obviously, the routes would need to be dynamically…
Alex Verzea
  • 421
  • 1
  • 11
  • 30
2
votes
1 answer

Dynamic Setting of the Router

I have an Angular 5 app that retrieves content from Contentful. Some of this content is routes. I would like to set these inside a child RoutingModule as follows: const myRoutes: Routes = [ { path: '', component: BaseComponent }, { path: '**',…
Alex Verzea
  • 421
  • 1
  • 11
  • 30
2
votes
3 answers

Getting image URL from Contentful entry id

I need to get an image URL from Contentful entry id. I am getting such an JSON from Contentful query { "sys":{ "space":{ "sys":{ "type":"Link", "linkType":"Space", "id":"8v1e7eaw70p2" } }, …
user9240263
2
votes
2 answers

Getting image url using contentful

I'm trying to return an image to a React Native component. I've searched this problem, and I'm unable to figure out what is happening with contentful to return an image url. I've tried this and this. I'm not completely understandding linking in…
TheBetterJORT
  • 808
  • 9
  • 22
2
votes
1 answer

migrate space in Contentful between organizations?

How to migrate space in Contentful between organizations? Is there any way to migrate project space with all contents, settings, and webhooks from on organization to another?
2
votes
2 answers

Does Gatsby need to rebuild my entire site every time a docpage is updated?

I am creating a Documentation site to hold DocPages for each of my products. Gatsby is building all of my sites as static pages. I have multiple tech writers who are constantly updating and creating new pages. How does Gatsby handle this? Do I have…
Luke Flournoy
  • 3,393
  • 2
  • 16
  • 22
2
votes
1 answer

GatsbyJS - How to query longtext Contentful fields in GraphQL

I ran into a problem querying a field of type "long text" from contentful. I know the Contentful long text field is actually markdown. So I installed the gatsby-transformer-remark plugin, which I presumed I need. Here's my GraphQL query: query…
Barney
  • 1,820
  • 5
  • 29
  • 50
2
votes
0 answers

Ember Promise Many Array

I'm trying to get assets from a Contentful backend. I have a picture gallery and would like to loop through all assets in a given field (Contentful has an asset field that allows multiple images). Currently I'm…
Chris Johnson
  • 187
  • 1
  • 13