You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ability to maintain query string parameters per page. #349
We host our html reports in azure blob storage and use a SAS token to expose the reports. One pain point we have is the token doesn’t persist from page to page, making us need to copy the SAS token click the link to the specific class then paste the SAS token back in the url. It’s be awesome if we had a setting that persisted the query string param from link to link.
You don't have to change any settings. It should work out of the box.
If you open index.html with a query string, the query string will be applied to all internal links.
Starting with release 5.5.9 you'll have to use settings:settings:applyQueryStringToAllLinks=true as a command line parameter in order to apply the query string to all links.
Activity
danielpalme commentedon May 24, 2020
Good idea. Will add support for this within the next days.
danielpalme commentedon May 24, 2020
Which report type are you using?
One of the "inline" types: HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark
or the Html type?
#349: Apply query string to referenced CSS and JavaScript files and l…
danielpalme commentedon May 26, 2020
I published a new release which includes the new feature:
https://www.nuget.org/packages/ReportGenerator/4.6.0
https://www.nuget.org/packages/dotnet-reportgenerator-globaltool/4.6.0
You don't have to change any settings. It should work out of the box.
If you open
index.htmlwith a query string, the query string will be applied to all internal links.JavaScript needs to be enabled to support this.
dvbarnes commentedon Jun 9, 2020
@danielpalme thanks for this super helpful. One question I have, is this something that's persisted in the azure devops package?
danielpalme commentedon Jun 9, 2020
I'm not sure if I understand your question correctly.
The azure devops extension also contains the changes.
Does this answer your question?!
dvbarnes commentedon Jun 18, 2020
That does answer my question. Thank you.
Added new setting "applyQueryStringToAllLinks" to apply query string …
danielpalme commentedon May 2, 2026
Starting with release 5.5.9 you'll have to use
settings:settings:applyQueryStringToAllLinks=trueas a command line parameter in order to apply the query string to all links.