I'm developing webscript under share and I need some parameters on my javascript of the documentLibrary page. I've got the current site using the expression "page.url.templateArgs.site" the current container using the expression "template.properties.container"
Unfortunately, I can't get the current path or filterData. I used the expressions "page.url.args.path" and "page.url.args.filterData" but no one is working.
The document library template removes query string parameters and changes them to hash params so that "ajax history" based navigation can be accomplished on the client.
You'll either have to modify the document library template to store the original path in a context variable before removing it, or read the path from the clientside instead.