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

Split-NAVApplicationObjectLanguageFile
     [-Source] <String[]>
     [[-Destination] <String>]
     [-Force]
     [-PassThru]
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]

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.

Examples

EXAMPLE 1

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

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.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Destination

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.

Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force

Skips confirmation prompts when the cmdlet is run.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
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.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Source

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

Type:String[]
Aliases:PSPath
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False