How to get field from Dynamic DataSet

Hi this might be very simple question, still I’m not sure what to do. I need to know if specific field of my DataSet is exits. if it does I need to enable an image element (that is know how to do…), but not sure how to get this field from the DataSet.
Help! Thanks!

Hi thank for the info! it wasn’t what i looked for, but if found this eventually:
I got it from here
const dataset = $w(“#dynamicDataset”);
dataset.onReady(() => {
const { _id } = dataset.getCurrentItem();
console.log(_id);
if (_id === “99999999999999999”) // the id of the current page
$w(‘#image5’).show();
});

Do you know how to make that code work for individual items in a repeater? This is exactly the code I was looking for, but I want the image to only show up on a certain item in the repeater. Thanks

God blessed me to figure it out!

This code makes an individual item in my repeater disappear, if the items text say “Soon”.

But the code only worked after I hit the load more button a second time, after the item was already visible, so I added this same code into a load more image, that loads more on view port enter event from the event handlers.