Help: FetchLinks with Slices | Node Js Client

Hi, I need help with:

1 - Use fetch links with Slices
2 - Need a way to do this with the Javascript Client

Is there a way to do this?

We're planning to move to Prismic very soon so quick response will be highly appreciated.

Thanks alot

Hello @thesrs02

Welcome to the Prismic community, and thanks for reaching out to us.

FetchLinks doesn't support retrieving any fields in the Slices or group. To retrieve fields from Slices, fetchLinks v2 works, which is known as graphQuery. And you can use it with javascript client too.

Find more details about how to implement graphQuery, in the following article:

Let me know if you have any further questions related to it.


Thanks @Priyanka

@thesrs02 Your welcome. Feel free to reach out to us if you have any questions.