Name of export file #229
HappyException
started this conversation in
General
Replies: 1 comment 1 reply
-
The name of the file comes from Title of new-HTML, if the title for New-HTMLTable is defined it comes from there, if it's defined per button - it's used from there. New-HTMLTable -DataTable $Test -PagingOptions @(50, 100, 150, 200) {
New-TableButtonPDF -PageSize TABLOID -Orientation portrait
New-TableButtonExcel -Title 'Custom'
} -Title 'Or this one' What's important to know that if you define buttons the way I show above and not define title the title from New-HTML will be used. You should explicitly define the title if you use New-TableButton... I think I'll fix this inconsistency, as I would expect that New-HTMLTable title is used when New-TableButtonPDF doesn't set title explicitly. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to define the name of the file created when you export a table to Excel/CSV/PDF format?
Beta Was this translation helpful? Give feedback.
All reactions