# Integrating structured data (in a non-custom component)

**URL:** https://forum.builder.io/t/integrating-structured-data-in-a-non-custom-component/4427
**Category:** Technical Questions
**Tags:** nextjs
**Created:** [November 8, 2023, 9:46am UTC](https://forum.builder.io/t/integrating-structured-data-in-a-non-custom-component/4427 "2023-11-08T09:46:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![neri](https://avatars.discourse-cdn.com/v4/letter/n/da6949/32.png) [@neri](https://forum.builder.io/u/neri)
#### Post date: [November 8, 2023, 9:46am UTC](https://forum.builder.io/t/integrating-structured-data-in-a-non-custom-component/4427/1 "2023-11-08T09:46:43Z")

</div>

_Note: Im using NextJs (Pages router)_

On the [Integrating structured data](https://www.builder.io/c/docs/integrate-cms-data) page, there’s an example of how to get the data for the component in the code.  
In the example, a custom component of a navbar use the values from the cms-data by calling `builder.getAll`.

With [builder.io](http://builder.io)’s native components such as **Image** , i don’t have access to the component code so i can’t use `builder.getAll` to get the values i need from the cms-data.

What i do today is a `fetch` call on my page to get all my cms-data and then i filter the data and pass it to the page’s `BuilderComponent` `data` prop.  
This way i have access to this data anywhere on my page by referencing the `state`.

Is there a way to use my cms-data values in the editor without doing this `fetch` call and passing the data down to the page?  
It feels like im defining the data in [builder.io](http://builder.io), fetching the data, and passing it back down to the editor. Is this roundtrip necessary? or is there a way to use/reference my cms-data directly in the editor?

---

<div class="post-metadata">

### Author: ![JuliusGD](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/juliusgd/32/2523_2.png) [@JuliusGD](https://forum.builder.io/u/JuliusGD)
#### Post date: [November 20, 2023, 8:11pm UTC](https://forum.builder.io/t/integrating-structured-data-in-a-non-custom-component/4427/2 "2023-11-20T20:11:08Z")

</div>

Hello Neri,

Thanks for the question!  
Is there a use case you can share with me? I may be able to better provide guidance if I understand the situation.

If you are rendering images that are associated with data from another source, you can utilize Data Models w/ Webhooks to expose that data.  
The documentation, below, also outlines how to integrate that Data Model into your application.  
I’ve also shared our Content API documentation which can be used to retrieve data from Builder Data Models.

> **[Data Models - Builder.io](https://www.builder.io/c/docs/models-data#creating-data-models)**
>
> Drag and drop with your components, right within your existing site or app. Build and optimize digital experiences for any tech stack, visually.

> **[Content API - Builder.io](https://www.builder.io/c/docs/content-api)**
>
> Drag and drop with your components, right within your existing site or app. Build and optimize digital experiences for any tech stack, visually.

If you have any specific questions, please feel free to contact [support@builder.io](mailto:support@builder.io).
