Get panel root url in a field

Often the root url of the panel is like but it can be something else. Is there a function in the panel to get the root url?

Because I’m inside the panel maybe it’s self aware?

yes it is! if you look into the panel source code you will find this


should do the trick!

1 Like

Great! Thank you! :slight_smile: