Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Yuri Hrynkiv 1 post 71 karma points notactivated
    May 06, 2022 @ 07:11
    Yuri Hrynkiv
    0

    Heartcore Graphql Block List

    Hello, Umbraco comunity. Is there any ideas of how can I get Block list content with Graphql ? It does works fine for all other elements, but not for the Block List.

    Example of query:

    query($id: ID!) {
      blockList(id: $id, preview: true) {
        ... on BlockList {
          mainPageBlockList {
            ... on BlockListItem {
              content {
                contentTypeAlias 
              }
            }
          }
        }
      }
    }
    

    Result is

    {
      "data": {
        "blockList": {
          "mainPageBlockList": null
        }
      }
    }
    

    Not sure why I'm getting null here when it works correct for other content.

  • Lindow 106 posts 1000 karma points admin hq
    May 06, 2022 @ 07:15
    Lindow
    100

    Hi Yuri.

    Please, reach out directly to our support via the chat on s1.umbraco.io

    You can reference this thread and they'll know who to ask if they need help with this :)

    The reason I'm asking for it is that it would be great to get access to the backoffice to see the structure of the content etc.

Please Sign in or register to post replies

Write your reply to:

Draft