I'm clearly missing something here. Using Portal 11.3 and, for a map layer's popup content, I've added an Arcade Expression Block. When I attempt to access the $map profile variable inside that Arcade code block, Arcade barks and says that it's not defined. Through searching the forum, I did find a discussion about the variable profile context and that $map is only defined (available) in certain situations. I feel as though it should be accessible from where I'm trying to reference it. But clearly it's not.
The only $ profile variables available to me are $feature, $graph, and $userInput
Steve