In case you want to automate the conversion of Classic or RDLC reports or reconversion of ForNav reports you might want to use the ForNav Powershell commandlet “Invoke-ReportsForNavConvert”, which has the same capabilities as the ForNav converter – but without the user interface
Instead input is given as parameters:
Parameter | Description | Default |
TableDefinitions <path | url> | Path to NAV table definition or URL to Fields oData webservice | |
Path <path> | Path to report .txt source file | |
Destination <path> | Path to report .txt destination file | |
ConvertRdlcReports <bool> | Convert RDLC reports to ForNav reports | false |
RequestPageOptionCaptionML <string> | Sets OptionCaptionML for the request page | ENU=Options |
FindReplace <path> | Path to the ForNav hint file | |
UseRequestPage <bool> | If both a request form and a request page is defined for the report true means that the page will be used and false that the page will be used | false |
Nav2013Compatible <bool> | Sets if the report should be compatible with NAV 2013/NAV 2013 R2 or newer versions of NAV | false |
SeparateDestinationFiles <bool> | Sets if the output should be in one file or separate files pr. report | false |
- Import the ForNav Commandlet into Powershell
- Run the Get-Help command to get an overview of the Invoke-ReportsForNavConvert command
- Run the Invoke-ReportsForNavConvert command to do the conversion
Indlægget PowerShell CmdLet blev vist første gang den ForNAV.