Skip to content

Ability to maintain query string parameters per page. #349

Closed

Description

@dvbarnes

Hey all,

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.

Activity

  1. danielpalme commented on May 24, 2020

    @danielpalme
    Owner

    Good idea. Will add support for this within the next days.

  2. danielpalme commented on May 24, 2020

    @danielpalme
    Owner

    Which report type are you using?
    One of the "inline" types: HtmlInline, HtmlInline_AzurePipelines, HtmlInline_AzurePipelines_Dark
    or the Html type?

  3. added a commit that references this issue on May 26, 2020
  4. danielpalme commented on May 26, 2020

    @danielpalme
    Owner

    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.html with a query string, the query string will be applied to all internal links.

    JavaScript needs to be enabled to support this.

  5. dvbarnes commented on Jun 9, 2020

    @dvbarnes
    Author

    @danielpalme thanks for this super helpful. One question I have, is this something that's persisted in the azure devops package?

  6. danielpalme commented on Jun 9, 2020

    @danielpalme
    Owner

    I'm not sure if I understand your question correctly.
    The azure devops extension also contains the changes.

    Does this answer your question?!

  7. dvbarnes commented on Jun 18, 2020

    @dvbarnes
    Author

    That does answer my question. Thank you.

  8. danielpalme commented on May 2, 2026

    @danielpalme
    Owner

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions