AssetWise CONNECT Edition Implementation Guide

Displaying the Time in Date Fields

By default, the time component is displayed with a date field. You can choose hide the time when displaying a date field.

Note: Consider that when you include the time component with a date, the visible information may truncated due to the size of the date field in the form. You might need to manually adjust the field width in Bentley Forms Designer, in order to view all of the date and time information.

Follow these steps to set the visibility of the time component of a date field.

  1. Using a text editor, navigate to apps\alim\SPA\app\config\layouts\ and open config.json.
  2. Locate the "showTimeInDateAttribute" variable.
  3. Do one of the following:

    To display the time component with the date, set the value to true. For example,

    "showTimeInDateAttribute" : true

    or

    To hide the time component from the date display, set the value to false. For example,

    "showTimeInDateAttribute" : false
    .

  4. When you are finished, save config.json and exit the text editor.