Questions tagged [headless-cms]

234 questions
11
votes
3 answers

How do you use routes from a headless CMS in Nuxt JS (SSR)?

The Question I'm trying to use the routes, as defined by the CMS, to fetch content, which is used to determine which Page to load in my our Nuxt frontend. So, how do you implement your own logic for connecting routes to content, and content to…
6
votes
1 answer

Directus 9, how can I set permissions on Files?

I have an App with private messages, the messages are stored in a directus collections, each item has multiple Attachments (files). How can I restrict access to these files for other users, that are not in the Conversation? I have tried set up a…
6
votes
1 answer

How to update user in Strapi

In Strapi every user-defined collection type has a default services which allow to create/find/update/etc. on the corresponding Model. For Example the below code in a Strapi controller will update a bill collection type with the given data: await…
6
votes
2 answers

How to override Strapi Admin panel endpoints?

In the admin panel - I have a content-type products, which shows me all the products in the database (MongoDB) Suppose I would like to edit a product and when I click on the Save button, I would like to hit a custom API/ override the existing…
Mahesh Kumaran
  • 887
  • 2
  • 12
  • 30
6
votes
2 answers

How to make sanity io array select as multiselect?

I have a lot of tags, and I need to select a lot for each document. It is uncomfortable to click one by one every time. Also I see selected elements. How can I remake it into somefield like a multiselect? It could be even native. Or how to select…
kizoso
  • 1,216
  • 2
  • 15
  • 30
5
votes
2 answers

Is there a way to get a structure of a Strapi CMS Content Type?

A content-type "Product" having the following fields: string title int qty string description double price Is there an API endpoint to retrieve the structure or schema of the "Product" content-type as opposed to getting the values? For example: On…
junerockwell
  • 838
  • 1
  • 9
  • 29
5
votes
3 answers

Deploy strapi to elastic beanstalk

Can someone please provide information on how to deploy Strapi to AWS Elastic Beanstalk? I have found many resources on how to deploy Strapi on many other different platforms such as Digital Ocean and Heroku, but I am very curious about deploying…
4
votes
0 answers

Customize the default font family on Strapi V4 headless CMS?

How can I change the default font-family of the admin Strapi v4 dashboard? because I found nothing of how we can change the default Strapi v4 font-family
Nassim
  • 397
  • 3
  • 7
4
votes
3 answers

Strapi CMS third level populating

I have a problem with fetching third level data from Strapi CMS. My Structure is the following: Page > Content(Dynamic Zone) > Multiple Entitys e.g. HeroSliderElement. So Calling this URL from…
SupaMario
  • 998
  • 9
  • 14
4
votes
3 answers

how can create nested component in another nested component in strapi headless cms?

I created menus component. In menus component one more component is there which is submenu component so its one nested component is made. But I want to import this menus component in another component which is one header component but in strapi…
4
votes
1 answer

Does it need to rebuild everytime for new posts? Using gatsby and WordPress

I recently creating sample gatsby with WordPress working fine. Does it require every time to rebuild to gasby when i add new post or blog on WordPress?
ItsMeMihir
  • 294
  • 1
  • 5
  • 18
4
votes
1 answer

Multilingual headless cms with support for articles

I'm looking for headless cms with good support for several languages. It is my first project with headless cms so i tried to find something on my own but i couldn't find solution which i want. I decided to use strapi but it has poor (or maybe i miss…
Piotrek332
  • 163
  • 2
  • 13
3
votes
0 answers

AEM GraphQL doesn't return jcr:created and jcr:lastModified date as metadata

In AEM when I try to run following query: { benefitProgramByPath(_path: "/content/dam/rahjang-cf/rahjang-benifit") { item { _metadata { stringMetadata { name, value, __typename } …
rahul
  • 61
  • 6
3
votes
0 answers

Can we generate new page in Next js dynamically without create a new page file

I want to pull everything from an headless CMS, this is possible in gatsby to create new pages, So my question is that is it possible to create new pages in Next js without creating a new page file manually.
3
votes
0 answers

Nextjs + MDXRemote / GraphCMS: Content does not get updated after serializing mdxSource

I have a basic blog post I receive from GraphCMS: export async function getStaticProps({ params }) { const { event } = await graphcms.request('query here', { slug: params.slug }); return { props: { event, }, revalidate: 2, }; The…
slothcoder
  • 31
  • 1
1
2 3
15 16