PSWriteHTML icon indicating copy to clipboard operation
PSWriteHTML copied to clipboard

New-HTMLTableButtonSearchBuilder -ButtonName setting is not sticky

Open desiwalle opened this issue 2 years ago • 0 comments

Hello, I am using the following code to customize the text of the Search Builder button. While the inital load of the report shows the customized name, the moment the Search button is clicked, the customized Button name reverts to the default.

...
...
New-HTMLTable @TableParams {
    if (-not $TableParams.HideButtons) {
        **New-HTMLTableButtonSearchBuilder -ButtonName 'Advanced Search'**
    }
...
...
}

Is there some parameter I am missing to ensure the buttonname is sticky?

desiwalle avatar Sep 11 '23 18:09 desiwalle