Streaming live at 10am (PST)

Custom Code - Grab elements within collection list

I’m building a custom component which requires fetching a list of audio links before initialisation.

A link is represented as a custom field within my collection.

How can I grab all the links in my collection without using something heavy like the CMS API?

Hello,

I don’t think there is a light approach to this problem.

If we’re talking about a small quantity of cms items , you could use NoCodeApi to get your files faster and easier, and it won’t take that much loading to show them on the UI.

If its part of a page that is only accessible after something else has happened , example is a form with steps , you could get all the data beforehand and put them in your browser’s local storage, and then access it from there.