I was trying out the new related records popups at 4.25 using non-hosted feature layers on our ArcGIS Enterprise 10.9.1 and I am always getting 0 records for features with related records. I have tried with a three different feature layers and get the same result. Does this only work on hosted feature layers?
Here is a Codepen:
https://codepen.io/justingreco/pen/wvXEmop
The property in the middle of the screen should have 71 related condo units.
When looking at the network traffic, I never see the queryRelatedRecords call being made, like I do in the sample.