Hide Table of Contents

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.

See Data Card Variables.

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.

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

(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.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Date Field Properties
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS PDM 2012 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.