Split-NAVApplicationObjectLanguageFile

Split-NAVApplicationObjectLanguageFile

Splits a text file that contains multilanguage captions for two or more application objects into separate text files for each application object.

Syntax

Parameter Set: Default
Split-NAVApplicationObjectLanguageFile [-Source] <String[]> [[-Destination] <String> ] [-Force] [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

Use the Split-NAVApplicationObjectLanguageFile cmdlet to split a text file that contains multilanguage captions for two or more application objects into separate text files for each application object. For example, if you have exported captions for tables 18 and 27 to a single text file such as MySolution_Languages.txt, you can use the cmdlet to create two new text files, TAB18.txt and TAB27.txt.

Parameters

-Destination<String>

Specifies the text file or folder where you want the generated files to be put. Optionally, do not set this parameter so that you can pipe the result to another Windows PowerShell cmdlet.

Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Force

Skips confirmation prompts when the cmdlet is run.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PassThru

Specifies if you want to return an object for each application object and language ID with their language text values.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Source<String[]>

Specifies the text file or folder that contains the text files that you want to split. The cmdlet does not modify these text files.

Aliases

PSPath

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

This example splits the single.txt file into separate text files for each Microsoft Dynamics NAV application object that the file contains captions for, such as TAB18.txt and TAB27.txt.

PS C:\> Split-NAVApplicationObjectLanguageFile -Source single.txt -Destination .\RESULT\