# Mega Menu: Accessing sub menu items

**URL:** <https://community.prismic.io/t/mega-menu-accessing-sub-menu-items/13972>\
**Category:** Developing with Prismic\
**Created:** [August 28, 2023, 6:39am UTC](https://community.prismic.io/t/mega-menu-accessing-sub-menu-items/13972 "2023-08-28T06:39:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharukkan.m](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@sharukkan.m](https://community.prismic.io/u/sharukkan.m)\
**Post date:** [August 28, 2023, 6:39am UTC](https://community.prismic.io/t/mega-menu-accessing-sub-menu-items/13972/1 "2023-08-28T06:39:13Z")

</div>

Hello Community,

I just created the model mega menu by using this example. but I don’t know how to get submenu items. can someone help me on this?

> **[How to Model a Multi-level 'Mega Menu' with Prismic](https://prismic.io/blog/model-mega-menu-prismic)**
>
> In this step-by-step guide, you'll get a sneak peek of how the Prismic team modeled their own multi-level, mega menu for their website using Slice Machine!

---

<div class="post-metadata">

**Author:** ![samuelhorn](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samuelhorn/32/8224_2.png) [@samuelhorn](https://community.prismic.io/u/samuelhorn)\
**Post date:** [August 28, 2023, 12:38pm UTC](https://community.prismic.io/t/mega-menu-accessing-sub-menu-items/13972/2 "2023-08-28T12:38:37Z")

</div>

Hello!

Could you please provide further clarification regarding your query about obtaining submenu items?

The post describes the process of creating a Custom Type for each submenu and associating that document with a particular menu item. Are you referring to these submenu items, or are you inquiring about a third level or any other aspect? Is it that you have a problem with getting these menu items in code?

All the best  
Samuel

---

<div class="post-metadata">

**Author:** ![sharukkan.m](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@sharukkan.m](https://community.prismic.io/u/sharukkan.m)\
**Post date:** [August 29, 2023, 6:59am UTC](https://community.prismic.io/t/mega-menu-accessing-sub-menu-items/13972/4 "2023-08-29T06:59:26Z")

</div>

Thanks for the reply,

BTW I had doubts on accessing Linked documents now found the solution with graphQuery
