PSWriteHTML
PSWriteHTML copied to clipboard
New-HTMLTableButtonSearchBuilder -ButtonName setting is not sticky
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?