I have a dynamic item page which connects to collection A.
In collection A I have a field reference to collection B.
In my code I use:
const currentItem = $w("#collectionA").getCurrentItem();
What should I do in order to use the referenced data from collection B (from performance prescriptive, what is the recommended option) ?
Thanks a lot,