process4.biz 7.x Documentation

features description for Process4.biz

Mod_022: How to make results of formula values translatable

Description

How to make result values of formula property types translatable.

Problem example

Master shape names do not match class names, but master shape names (results) have to be in the current DB language.

Solution

In this case, the additional translatable property should represent the master shape name.

  1. Create the Enum property type “ActivityTypeGlobal”. Add the necessary Enum items with the translations. In this case these are the master shape names.
    328935
  2. Create the Formula property type “ActivityTypeMastershape”. The formula text uses Enum identifiers (0, 1..) of the property “ActivityTypeGlobal” for identifying result values. 
    Since Enum identifiers do not depend on the current DB language, they can be used to make the Mastershape name appear in the current DB language.
    328937