I have an Arcade Expression that has decided to stop working. I was using FeatureSetByName and it stopped running when I changed the layer name. I changed it to FeatureSetByID and it still doesn't work. Set it back to FeatureSetByName and used the new name. Still doesn't work. This is what's weird.
When I am configuring the pop-up, it shows up in the pop-up.
When I click on a feature, it doesn't.
I even tried adding it as an expression in the table. Same results. It shows up in the configuration, but not in the pop-up.
The frustrating part is that it used to work.