You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a content model we have, there's multiple reference fields I'm looking to use to derive another field's value.
The referenced fields all have a slug field, so want to set another field to ${fieldA.slug}/${fieldB.slug}.
All referenced entries are in the same space as where we're using the app, and editing the entry.
Issue
I can't retrieve an entry by ID using the content-management package or the sdk cma in @contentful/react-apps-toolkit. On finding an entry, I get the error The loader.load() function must be called with a value, but got: undefined.
which also errors with: The loader.load() function must be called with a value, but got: undefined.
When logging the IDs, they are set. When wrapping the call to get entries with an if statement to check if the IDs are set before calling, there's the same error.
The text was updated successfully, but these errors were encountered:
eloisetaylor5693
changed the title
How do I get linked entry values?
How do I get linked entry values? The loader.load() function must be called with a value, but got: undefined.Jul 10, 2024
Context
For a content model we have, there's multiple reference fields I'm looking to use to derive another field's value.
The referenced fields all have a slug field, so want to set another field to
${fieldA.slug}/${fieldB.slug}
.All referenced entries are in the same space as where we're using the app, and editing the entry.
Issue
I can't retrieve an entry by ID using the
content-management
package or the sdk cma in@contentful/react-apps-toolkit
. On finding an entry, I get the errorThe loader.load() function must be called with a value, but got: undefined.
Code
errors with:
The loader.load() function must be called with a value, but got: undefined.
I also tried:
which also errors with:
The loader.load() function must be called with a value, but got: undefined.
When logging the IDs, they are set. When wrapping the call to get entries with an if statement to check if the IDs are set before calling, there's the same error.
The text was updated successfully, but these errors were encountered: