Salesforce

MAGIC DEFAULTS (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

MAGIC_DEFAULTS (Magic xpa 2.x)

You can define NULL display strings and a default date value for the entire application in the MAGIC_DEFAULTS section of the Magic.ini file. These settings can only be defined by editing the Magic.ini text file. They are not available in Magic xpa’s Environment dialog box.

These settings will be regarded as the system default values for:

  • The default value of a date field definition

  • The NULL display string for all other fields’ attributes

If these settings do not exist in the Magic.ini file, Magic xpa uses its own pre-defined defaults.

Any modification to these settings during the execution of an application is effective upon the next session of Magic xpa.

The following are the entries in the MAGIC_DEFAULTS section:

DefaultDate = [date value]

NullAlphaDisplay = [string value]

NullNumericDisplay = [string value]

NullLogicalDisplay = [string value]

NullDateDisplay = [string value]

NullTimeDisplay = [string value]

NullBlobDisplay = [string value]

NullUnicodeDisplay = [string value]

Note: The DefaultDate value format should correspond to the format of the Magic Date setting.

Reference
Attachment 
Attachment