gatsby-plugin-netlify-cms custom widgets with static queries #28803
Unanswered
justinwaite
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey friends, I was wondering if anyone has been able to do this yet. I have a shopify from which I pull a bunch of content (collections, pages, etc.). This happens with the shopify gatsby plugin. I want to now use netlify-cms plugin to allow the user to select which collections from shopify that they would like to show on the landing page.
Basically I have defined a custom widget to allow the user to select collections, which I'm attempting to pull from useStaticQuery. However, this fails with the error:
The result of this StaticQuery could not be fetched. This is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues
Any ideas on how to make this work? Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions