Which element is calling the collection?

I am refreshing the page of my app and am seeing a lot of random collections load, when it’s not needed. How do I figure out which element is causing the collection to be fetched?

Hi Raelyn,

If I understand well you think you bound auto-fetched collections to some random elements and you don’t know which elements? Apart from investigating your tree of elements, I can’t think of any other solution. However, I don’t think it would take very long, as collections can only be binded with “data display” elements.

You can check also the logs if you don’t already. Maybe you will see which workflow contains a fetch collection action (not inside a component workflow)

Hope this answer to your question

collections can be bound to anything, for example you can reference a single entry in a text element or in a formula.
As noted in another topic, collection fetching is either automatic on page load or manual with the “fetch collection” action in a workflow. It’s not tied to the rendering of elements using it.

Do you recommend fetching on page load for the manual way? Wondering what’s the fastest way to fetch the collection that I actually do need for the best user experience. I’m trying to Load that collection first before anything else.

if you know you need it as soon as possible I think it’s better to leave it to automatically fetched.

What about manually though? Problem we enabling auto is that it’s being randomly fetched from other pages haha

right. I suppose the trigger on page load before fetching the collections should give you a similar timing than autofetch.