Datasheets
About Types of Datasheets
APM offers the following types of datasheets:
- Master/Detail datasheet: A form that lets you display a record and all the records that are linked to it through a given relationship definition.
-
Custom datasheet: Datasheets that can be customized to display fields in a more advanced form. APM provides two types of layouts for custom datasheets, the tabular layout and the custom layout.
- Tabular layout organizes the datasheet content in a standard arrangement with row labels and up to four columns of data per row, and cells of equal size.
- Custom layout allows for less uniform datasheet configurations with more options for variable cell sizing and grouping items.
About Multiple Datasheets
APM lets you define more than one datasheet for a given family. For example, equipment records may contain many pieces of data including maintenance, engineering, reliability, cost, inspection, design, drawing, project, etc. A datasheet containing all these data fields would be very large and difficult to navigate.
To make data entry easier, an administrative user can create subsets of the data based on specific purposes (e.g., engineering data in one datasheet, inspection data in another, cost data in a third, and so forth). When you access a record, you can select the datasheet that represents your needs.
When more than one datasheet exists for a family, you will be able to select the appropriate datasheet when you create and view a record. The name of the currently selected datasheet appears at the top of any record you are viewing.
About Field Rules
The field properties and rules that you define for family fields determine how fields will behave when users view them in datasheets.
If you have defined a rule for a field that will affect the way it appears or behaves in a datasheet, you may want to test the field rule. To do so, follow this workflow:
- Configure the family field properties as needed.
- Add the field to the datasheet.
- Compile the family.
- Open a new datasheet for the family.
If you need to make additional changes to a field, repeat this workflow, but omit step 2. After you add the field to the datasheet, any changes you make to the field rule will be applied automatically to the datasheet.
About Master/Detail Datasheets
A master/detail datasheet is a custom form that lets you display a record and all the records that are linked to it through a given relationship definition. Master/detail datasheets can be configured for any entity family using any relationship definition that relates it to another entity family.
For example, in the baseline APM database, the Calibration Template family is related to the Calibration Template Detail family through the Has Template Details relationship. The APM product includes a master/detail datasheet that allows you to open a Calibration Template record while simultaneously viewing, creating, and modifying linked Calibration Template Detail records.
Privileges for Master/Detail Datasheets
Like standard datasheets, access to records displayed using master/detail datasheets is controlled by family-level security privileges. But because a master/detail datasheet displays records belonging to two entity families that are related to one another through a relationship family, the security considerations for master-detail datasheets are somewhat more complex. Specifically:
- To access records in a master/detail datasheet, at least View privileges are required on the master family. Even if users have privileges on the detail family, without privileges on the master family, they will not be able to access records that are displayed in master/detail datasheets.
- To view existing detail records in a master/detail datasheet, users must have View privileges on the detail family and the relationship family that relates the master family to the detail family.
- To edit existing detail records in a master/detail datasheet, users must have View and Update privileges on the detail family.
- To create new detail records in a master/detail datasheet, users must have View, Insert, and Update privileges on the detail family and the relationship family that relates the master family to the detail family.
- To link and unlink detail records in a master/detail datasheet, users must have View, Insert, and Delete privileges on the relationship family that relates the master family to the detail family.
In addition to family-level privileges, the ability to manage records in master/detail datasheets is controlled by datasheet-level privileges. You can define datasheet-level privileges in the Datasheet Builder page, which appears when you create a master/detail datasheet.
Five datasheet-level permissions options are available and control users' ability to manage detail records in a master/detail datasheet:
- Allow for Deletion: Determines whether users will be allowed to delete detail records.
- When this check box is selected, users with Delete privileges on the detail family and the relationship family that relates the detail family to the master family, will be allowed to delete detail records.
- When this check box is cleared, users with Delete privileges on the detail family will not be allowed to delete detail records.
- Regardless of whether this check box is selected or cleared, users without Delete privileges on the detail family will not be allowed to delete detail records.
- Allow for Insertion: Determines whether users will be allowed to create new detail records.
- When this check box is selected, users with Insert privileges on the detail family and the relationship family that relates the detail family to the master family, will be allowed to create detail records.
- When this check box is cleared, users with Insert privileges on the detail family will not be allowed to create detail records.
- Regardless of whether this check box is selected or cleared, users without Insert privileges on the detail family will not be allowed to create detail records.
- Allow for Editing: Determines whether users will be allowed to modify detail records.
- When this check box is selected, users with Update privileges on the detail family will be allowed to modify detail records.
- When this check box is cleared, users with Update privileges on the detail family will not be allowed to modify detail records.
- Regardless of whether this check box is selected or cleared, users without Update privileges on the detail family will not be allowed to modify detail records.
- Allow for Linking: Determines whether users will be allowed to link existing detail records to the master record.
- When this check box is selected, users will be allowed to link existing detail records to the master record if they have Insert privileges on the relationship family that relates the detail family to the master family.
- When this check box is cleared, users will not be allowed to link detail records to the master record even if they have Insert privileges on the relationship family that relates the detail family to the master family.
- Regardless of whether this check box is selected or cleared, users without Insert privileges on the relationship family that relates the detail family to the master family will not be allowed to link detail records to the master record.
- Allow for Unlinking: Determines whether users will be allowed to unlink existing detail records from the master record.
- When this check box is selected, users will be allowed to unlink detail records from the master record if they have Delete privileges on the relationship family that relates the detail family to the master family.
- When this check box is cleared, users will not be allowed to unlink detail records from the master record even if they have Delete privileges on the relationship family that relates the detail family to the master family.
- Regardless of whether this check box is selected or cleared, users without Delete privileges on the relationship family that relates the detail family to the master family will not be allowed to unlink detail records from the master record.
Custom-Layout Datasheets
A custom-layout datasheet is a form-based datasheet whose layout can be configured via APM. Unlike standard datasheets, custom-layout datasheets provide more flexibility in the layout of fields. For example, they can contain grouped fields, fields that appear side-by-side, and so on.
The following image shows a custom-layout datasheet that is configured in the baseline ASI module for the Maintenance Item family.
About the Text Editor
The text editor is available in various text fields throughout APM. You can use the text editor to enter text into a desired field and then use the Spell Check feature to locate and correct misspelled words within the text. The text editor is used to enter large amounts of text, such as descriptions, into text fields.
The text editor is available only for some fields. The button appears next to the fields for which the text editor is available. Select to access the text editor for a text field. The name of the field from which the text editor is accessed appears in the title bar of the text editor window.
If rich text formatting is enabled for a field, a toolbar appears in the field and in the text editor. You can use the tools to apply a range of formatting settings to the text, including the font size, color, bold, underline, and so on. You can also insert a hyperlink in the text.
Details
- In a datasheet, select in the field whose text you want to modify.
The Text Editor window appears.
- Enter text in the text box.
- Select Done.
The text editor closes, and the text that you entered appears in the field from which you accessed the text editor.
About the Calendar Feature
- Date and time
- Date only
- Time only
Date and Time
When you select a date field that has the date and time feature enabled, the button will appear. When you select the button, the calendar will appear, as shown in the following image:
When you select , the time picker will appear. Depending on your settings, the time picker may or may not have seconds enabled, as shown in the following image:
When you select , the calendar will appear again.
Date Only
When you select a date field that has only the date picker enabled, the button will appear. When you select the button, the calendar will appear, as shown in the following image:
Time Only
When you select a date field that has only the time picker enabled, the button will appear. When you select the button, the time picker will appear. Depending on your settings, the time picker may or may not have seconds enabled, as shown in the following image:
Access the Datasheet Builder
Procedure
Create a Datasheet
About This Task
- Master/Detail Datasheet
- Custom Datasheet
Procedure
- Create a Master/Detail Datasheet:
- Create a Custom Datasheet:
What To Do Next
Modify a Datasheet
Procedure
Designate a Datasheet as the Default Datasheet
You can designate a datasheet as the default datasheet when you create the datasheet. After you set a datasheet as the default, you can change which datasheet for a given family, is designated as the default.
Before You Begin
- If another datasheet currently has the default designation, you must clear the Default check box for that datasheet before you can designate another datasheet as default.
Procedure
Results
Hide a Datasheet
This topic describes how to hide a datasheet belonging to a family that you do not want to appear for the corresponding records.