Get-NAVAppManifest
Get-NAVAppManifest
Loads a manifest for a Microsoft Dynamics NAV extension from an external source.
Syntax
Parameter Set: Default
Get-NAVAppManifest [-Path] <String> [ <CommonParameters>]
Detailed Description
Use the Get-NAVAppManifest cmdlet to load a manifest from an extension from an external source, such as an .xml file.
Parameters
-Path<String>
Specifies the path to a file with a manifest for an extension.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- NavAppManifest
Examples
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
This example gets a manifest from an XML manifest file.
PS C:\> Get-NAVAppManifest -Path '.\Manifest-Proseware SmartStuff.xml'
AppId : 3c88160c-e0eb-4fe1-b4f6-011e45d74b10
AppName : Proseware SmartStuff
AppPublisher : Proseware, Inc.
AppDescription : First Extension by Proseware
AppVersion : 2.3.4.500
AppCompatibilityId : 2.0.0.0
Capabilities : {}
Prerequisites : {}
Dependencies : {}
-------------------------- EXAMPLE 2 --------------------------
Description
-----------
This example gets a manifest from an XML manifest file and then passes the manifest to the New-NAVAppPackage cmdlet to create a new extension package.
PS C:\> Get-NAVAppManifest -Path '.\Manifest-Proseware SmartStuff.xml' | New-NAVAppPackage -Path 'C:\Proseware SmartStuff.navx' -SourcePath C:\NavExtensionFiles