ProductName.Short() Method

Version: Available or changed with runtime version 1.0.

SHORT returns a text string that contains the application's short name.

Syntax

ProductNameShort :=   ProductName.Short()

Return Value

ProductNameShort
 Type: Text
Text of the product's short name.

Remarks

The default value for this method is Business Central.

This method is useful when you have to include the application name in UI text. Instead of using static text for the name, you use one of the ProductName methods. This lets you reuse the same text string across different applications, and makes it easier if the application is ever renamed.

You define the different name variations for an application in the navsettings.json configuration file. For more information, see Configuring Business Central Web Server Instances.

See Also

ProductName Data Type
Get Started with AL
Developing Extensions
Configuring Business Central Web Server Instances