Populating returnUrl within the url metadata

LabKey Support Forum (Inactive)
Populating returnUrl within the url metadata Will Holtz  2016-03-17 21:30
Status: Closed
 
Hello Jon,

Thanks for looking into this. I'd like to have a ${currentUrl} substitution that is replaced with the full URL of the displayed page, including URL parameters. Such that in a resources/schemas/SCHEMANAME.xml file I can write <url>http://www.example.com/labkey/query/home/foobar/detailsQueryRow.view?returnUrl=${currentUrl:uricomponent}</url>. For this example use case, a relative URL substitution would be sufficient, but I can imagine cases where the destination URL is external to Labkey and, therefore, an absolute URL is needed.

thanks,
-Will