Currently in a data expression in an Enterprise Portal 11.0 dashboard if I want to get a Portal I have to hardcode the Portal URL
var portal = Portal("https://myportal/portal");
This causes headaches when migrating the script from one environment to another. Given that this is executing...from within Portal itself, can I not just get the currently active/signed-in Portal i.e.
var portal = Portal();
thanks,
Phil