Date Field Properties

Use the Date field properties pane to configure a control that lets a user select a date from a calendar.

To display the properties pane:

In the Card Editor, click Date Field (Controls toolbar), and click in the card to place the date control.

Value

Variable name Select the data card variable that should store the value entered or selected in the date field.
The date must be formatted according to the short-date format used in the Windows regional settings on the client system.
Variables Click to open the Edit Variables dialog box to create a new variable, or check the properties of an existing variable.

Validation

Restricts the allowed date ranges for the date field control.

Check Min and/or Max and select a date or date range.
This option is available only if the variable type is set to Date.

Flags

Read-only Makes the date field read-only, so that its value cannot be changed by the user.
Show in Explorer The variable and stored value of the date field is shown in the client Preview tab.
Updates all configurations All data card configuration tabs are updated by the value entered in the date field.

Default value

Select an option to automatically enter a default value in the date field when new files or items are created. See Assigning Default Values.

Text value Enter a static text value (date string) that should be set by default in the control. It must be correctly formatted as a date.
Today's Date Sets the control value to the current date.
Serial number Select a serial number that is formatted as a date to use as the default value.

See Serial Numbers (For SOLIDWORKS PDM Professional only).

Folder data card variable Select a folder card variable.

The date field inherits its value from this variable.

For example, if you select the folder data card variable Project Deadline and the folder data card has a value of 9/9/2008, when users add a new file to the folder, the date field control is set to 9/9/2008.

File data card variable(SOLIDWORKS PDM Professional only) (Item cards only.) Select a file data card variable whose value will be used as the default value.

For example, if you select the file data card variable Project Deadline and a file has a value of 9/9/2008, when a user creates a new item from the file, the date field control is set to 9/9/2008.

When creating items for configurations, values come from the referenced configuration, or if empty, the custom properties (@ tab). Therefore, if you want item card values to exactly match configuration values, ensure that all mapped configuration variables have values by defining those properties as required. Alternatively, do not use custom properties.

When creating items for CAD files (not specific configurations), values come from the custom properties.

Default overwrites Overwrites the existing variable value with the default value when users copy or add files or items.
Excluded Configurations Configurations from which to exclude default values.

Exclusion occurs when files are added to the vault or when the addition of a new configuration generates default values.

Type one configuration name per line.

You can use * as a wildcard. For example *magnet* excludes all configurations with "magnet" in the configuration name.

Configurations are not excluded if users manually generate values such as serial numbers.