We’ve tried both includeRefs
and enrich
to get Builder to include the content from references but with no luck. References that are set up via the code seems to work but not those that are set in the Builder.io models.
Builder content link
Builder public api key
4ccc9312e0d14fb3b6d94d2864010b90
What are you trying to accomplish
Use the reference input type and have the results include the value of the reference in the <BuilderComponent />
Screenshots or video link
Code stack you are integrating Builder with
NextJS
Reproducible code example
<BuilderComponent
options={{ includeRefs: true, enrich: true }}
content={content}
model="page"
/>
And
.get("page", {
includeRefs: true,
enrich: true,
userAttributes: {
urlPath,
},
})
.toPromise();