Would anybody have any sample arcade code which extracts the schema of a layer to configure the pop-up such that it iterates through all the fields and displays the alias of those which are not empty, along with their value in a table?
(layer has 90 fields, so I need a way to do it iteratively)
I am struggling with returning the relevant fields and values into a nicely formatted table.
Many thanks for any pointers.