Quantcast
Channel: FORNAV
Viewing all articles
Browse latest Browse all 372

PowerShell CmdLet

$
0
0

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
  1. Import the ForNav Commandlet into Powershell

    cmdlet1

  2. Run the Get-Help command to get an overview of the Invoke-ReportsForNavConvert command

    cmdlet2

  3. Run the Invoke-ReportsForNavConvert command to do the conversion

    cmdlet3

Indlægget PowerShell CmdLet blev vist første gang den ForNAV.


Viewing all articles
Browse latest Browse all 372

Trending Articles