Using product names

In some cases, you may find it necessary to use a product name in a message. This is especially true when you create products that integrate with Microsoft Dynamics GP. Rather than hard-coding the product name in your messages, we recommend that you use a token instead.

The token to indicate the product name in a message or static string is @PRODprodID@ where prodID is the product ID of the product whose name you want to include in the message. The product name will be read automatically from the launch file. For example, the following message includes the name of the currently-active product, which has a product ID 0:


Message ID



The current product is @PROD0@.

If the token specifies a product for which a product name cannot be found, the string [unknown] is substituted.

Documentation Feedback