Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
bgColorwhite
titleBGColor#E6E6E6
titleCreating your first dataform

Before you begin


Using dataforms, global administrators can create new forms, and add, delete, or modify fields on existing forms. Additionally, global administrators can relate forms in one-to-one or one-to-many relationships to each other. The configuration of these forms results in a relational data model with tables and properly typed (such as integer, decimal, varchar) data fields embedded within the ClientSpace database. During creation, a set of stored procedures (one set for each dataform) are generated to allow various parts of the application to interact with the tables and fields. All dataforms must exist within a workspace. The one exception to this rule is a special dataform that is associated with the Other Info tab on the Organization Detail page or the Contact Manager. Different types of workspaces may include various sets of relational dataforms with some forms overlapping from workspace to workspace. The dataforms that are related to a workspace are inherited from the template used to create the workspace.    

Dataforms are a suite of tools that comprise the Dataforms Engine. The dataforms engine allows you to:

  • Dynamically create and manage configurable data collection points
  • Generate Web forms and fields for data collection
  • Allow for Workflow systemization

  • Allow for extremely granular security, down to the field level

Adding a dataform to the system will:

  • Generate a new SQL table in the server
  • Add your configured fields to this table as columns
  • Automatically configure the data columns with appropriate values based on field selection options
  • Automatically generate foreign key relationships between tables (Parent / Child forms, Lookups, and so on) 

Tip

Before creating a dataform, consider:

  • The type of data you need to track
  • How that data will be used in ClientSpace and other systems
  • The relationship between the new dataform and others in your system

Advanced planning can save time after you publish the dataform and start to collect data. 

After you have determined how you would like to build out your new dataforms, you can begin the process. The first step is to add the dataform. This process creates a new table in the SQL database with the pre-determined system columns.

 

Adding a dataform

To add a new dataform:

  1. Go to System Admin  > Advanced > Dataform Admin.
    The Dataform Admin list is displayed.

     

  2. Click Add.
    The Dataform Admin list is displayed.
  3. Proceed to the next section Adding a Dataform: Dataform Properties.


Dataform Properties


Warning
titleSQL Table Properties and Dataform Name

Form properties control the basic properties of the SQL table, such as Table Name. After saving the initial dataform, you cannot change the basic properties of the SQL table. Therefore, be sure to plan carefully before you save. Consider the name of a dataform carefully because the only way to change a table name is to delete the dataform and any data you may have stored in it and start over.

The field Dataform Name is simply a label and can be changed after the initial save to provide a more descriptive title of the dataform. However, the best practice is to make the table name as short as possible while still being descriptive. For example, you may want the title of the dataform to read as Family Medical and Leave Act Data. A better table name would be gen_zFMLA.

To accomplish this:

  • Save the form initially with a dataform name of FMLA.
  • Change the Dataform Name field to the more descriptive Family Medical and Leave Act Data.



Expand
titleConfiguration Instructions

Dataform Configuration 
Anchor
NextFormAdmin
NextFormAdmin

Tip
titleGenerated Table Names

Naming convention

System table names (tables generated by PrismHR developers) are automatically generated based on Dataform Name preceded by gen_ Example: gen_DataFormName. Custom tables created by our clients in their individual installs are distinguished from normal gen tables with a leading z. Example: gen_zDataFormName


The Dataform Properties form presents the fields in groups. The first step is to configure the general properties such as name, type, field, group, and description.

To customize your dataform:

  1. Use the following image and field descriptions as a guide.
    • Dataform Name: The name of the dataform that is displayed within the application such as in lists where you select a dataform.
    • Dataform Type: Select the type: Standard, Organization, or Contact.
    • Dataform Group: Use grouping to organize dataforms into tiles on the Workspace Landing page. You can use the group as a search parameter when modifying a dataform or adding a new dataform to a workspace.
    • Description: Provide a brief description of the dataform and its purpose.





  2. After you configure this first section, click Apply.

  After you Apply changes, then you will see the Table Name and Default Field fields. 

  • Table Name: Displays the generated table name that is stored in the database. This can be useful for reporting. You cannot edit this field.
  • Default Field: When you associate one dataform with another through linked fields, the default attribute is displayed in the select list. It is a best practice to make the default attribute field of the form Required, so any linked forms will have something to display.

Action Center

The next step is to secure the form, add and configure fields, and add and configure tabs. These actions are performed in the Action Center pane (on the right side of the screen).

To continue with the configuration:

  1. In the Action Center, select Secured, Fields, or Tabbed Forms.



  2. Use the following field descriptions to guide you through the configuration.
    • Secured : Secures the form and generates a security entity for the field in the format of gen_TableName. For more details about using security entities in Role security, review Organization and Workspace Security Configuration.
    • Fields: This is where you add and configure fields for this dataform (see Fields Configuration).
    • Tabbed Forms: This is where you add and configure tabs for any foreign key related child forms of this dataform. (Child forms have a Parent form field that uses this dataform as the Parent Form. See Adding Tabbed dataforms.
  3.  Apply your changes as you navigate the various panels for Secured, Fields, and Tabbed Forms.


Actions and Developer Settings

The next step is to configure the actions for your dataform. The following fields are in the Actions and Developer Settings of Dataform Properties.

To further customize your dataform:

  1. On the Dataform Properties form, locate the Actions area, where you will find an array of checkboxes.
  2. Use the following field descriptions to guide you through the configuration.
  • Can Have Multiple: Single vs. Multiform. Dataforms come in two basic flavors:
    • The Single form (such as the Client Master) has a one-to-one relationship with the Workspace. This is great for recording specifics about an individual or client where there is only ever one item, and if it changes you need to update it.
    • The Multiform (such as locations) has a one-to-many relationship with the workspace. This is great for recording multiple instances of something, such as physical locations for a client, or paycheck records for an employee.
  • Search On Load: Multiforms present as a list of records, whether this list is populated automatically when you land on the dataform or have to click Search to populate the list is a function of search on load.
  • Secure Attachments: Secures attachments for this dataform.
  • Show on Landing Page: Indicates the dataform will be available at the bottom of the various types of Landing pages in our Next application under dataform search. Leave this unchecked if you only want to display the form in Next as a tabbed or linked dataform.
  • Exclude from BI: Checking this box removes the dataform from the list of available tables in the Datasources section of Business Intelligence, effectively hiding the dataform from reporting.
  • BI Name: If completed, the "friendly name" stored in this field will display in Business Intelligence reporting.
  • Task Category: On creation of a task record from this dataform, the category field of the task defaults to the selected value.
  • Time Category: On creation of a time tracking record from this dataform, the category field of the record defaults to the selected value.

Developer Settings

  • Time Category Function: This option requires custom development and allows you to override the default Time Tracking Category.
  • Icon CSS Class: This field defines the type of icon that will be displayed for this form on the workspace landing page.
  • Include Activities in Notifications: Specifies if Activities (CRM Notes) are included in dataform notifications.


Features

Next, customize the Features areas.

To further customize your dataform:

  1. On the Dataform Properties form, locate the Features area, where you will find an array of checkboxes.
  2. Use the following field descriptions to guide you through the configuration.
  • Enable Tasks: Adds the My Tasks action item to the dataform . Tasks added from this dataform are linked to this dataform.
  • Enable Attachments: Adds the Attachment Action Item to the dataform, providing the ability to attach files to the dataform.
  • Enable Subscribers: Adds the Subscribers Action Item to the dataform, which allows you to automatically notify system users via email of changes to the form.
  • Enable Subscription Emails: This field sets which notification system is used when producing dataform subscription emails. If checked, a core system notification is produced when the record is changed. If checked and a published Email Template has been configured for this dataform, that template is used. If unchecked and no template exists, subscription emails are not sent.
  • Enable Activities: Determines whether Activities may be attached to and displayed on this dataform.
  • Enable Time Tracking: Adds the Time Tracker action item  to the dataform. Time tracked from this icon is linked to this dataform.
  • Enable WFC Cloning: Used by Workflow Channels to determine whether dataforms are available as "Triggered Forms" during workflow dataform cloning.
  • Enabled Triggering: Used by Workflow Channels to determine whether dataforms are available as "Triggering Forms" during the initial channel configuration.


Anchor
NEXTTABS
NEXTTABS

Adding Dataform Tabs 

Create the tabbed dataform(s) in Dataform Administration, ensuring that you include a Parent Form datatype field, configured to point at the Parent form where you would like the tab to appear.

To add dataform tabs:

  1. Go to System Admin  > Advanced > Dataform Admin.
    The Dataform Admin list is displayed.
  2. Search for the Parent Dataform and click  Form Properties.
    The Dataform Properties form is displayed.
  3. In the Action Center, click Tabbed Forms.
    The Tabbed Forms list is displayed.
  4. Click Add.
    The Tabbed Form dialog opens.

  5. In the Dataform list, select the tab dataform.
  6. Provide a Display Order (this is the order in which the tabs will appear at the top of the dataform). The display order is numeric.
  7. Click Ok.


Anchor
FIELDS
FIELDS

Return To Top

Dataform Field Configuration / Maintenance


Now that you have the container for your data, it is time to start adding the fields that will store the individual pieces of information you want to track. Dataform fields can be as simple as a few fields together on a page or can be complex, dynamic groupings of fields that hide or display based on predetermined logic. This topic is discussed in more detail in the section about Dynamic Field display. Taking the time to map out your dataform layout will pay off in the overall amount of time you will invest in the final version of the dataform.

Best Practices for field configuration

  • Leave space between your field rows in the numbering scheme should you need to add more fields later (i.e., 10, 20, 30, etc.)
  • Restart numbering sequences within each field set to visually group the data elements together
  • Fieldsets should have their own numbering sequences independent of the numbering within the fieldsets. (See example image.)
  • Multiforms require the additional step of configuring columns for the list display. If this is not configured, you will receive the error "Column headers have not been defined for this dataform.." when you attempt to use the dataform in a workspace.



Expand
titleAdding Fields

To add fields for storing information that you want to track:

  1. Go to System Admin  > Advanced > Dataform Admin.
    The Dataform Admin list is displayed.
  2. From the list, select an entry and click Edit or click  (Jump).
    The Dataform Properties form opens.
  3. In the Action Center, click Fields.
    The Fields list of the dataform is displayed. From here you can Open, Delete, and Add (New) fields.
  4. Click  (New).
    The New Field form opens.


  5. Use the following field descriptions to continue the configuration. 
  6. Click Apply when you are done.
    • Element Type: Determines the type of data you will store in this field. In the example, we selected the Lookup (core) datatype, but ClientSpace has a full array of different datatypes. The most commonly used datatypes can be found in the section Configuring your Dataform - Datatypes. For an in-depth look at the Lookup datatype used in our example, see Adding Or Configuring Lookups.
    • Field Set: Outlines that hold and organize other fields. No actual SQL field is created and no data can be stored in a fieldset.
    • Field Label: The field label is displayed on the dataform. By default, the underlying field name is set to the field name with any spaces or special characters removed. Click on the field name to open the field properties page.
    • Field Name: The name of the field that is created on the SQL table. By default, the field label is stripped of its spaces and special characters and used as the Field Name. The field name can be overridden as needed and can be set to anything that is accepted by SQL Server as a valid field name. Duplicate field names are not accepted. Field labels are often duplicated in developing large dataforms. As duplicate fields are created, you must modify the field name to make it unique in order to save the field. After the field is saved the first time, the field name CANNOT be changed. Carefully map out your field naming standards before creating dataforms. ClientSpace utilizes a standard naming convention when naming a field based on the datatype of the field. It is a recommended best practice to utilize these same conventions in your own field names. To discover the best practice for your field type read Dataform Field Naming Standards.
    • Row: The row property determines the vertical ordering of fields and fieldsets. Fields that are within a fieldset are ordered within that field set. Though the sort uses a standard numeric order, it is recommended that rows are initially set in increments of ten. This allows for re-ordering fields or adding fields between rows without re-ordering the entire form.
    • Column: The column property is hardcoded to dictate a two-column format. Technically, you are able to select the same row and column for more than one field and they will align alphabetically. This will generally cause problems in the presentation of the dataform to the user.
    • Field Behavior 
      • ReadOnly: This field cannot be edited. Normally these fields are set automatically by business logic.
      • Required: This property can only be set from within the field properties page. When selected, the field must be completed for the dataform to be saved. **This function is overridden if the field is contained in a hidden field set.** 
    • Length: Defines the maximum length of the field entry. This property is valid for text and integer data types.
    • Comment: The text in Comment provides contextual help for dataform users. When comments are added to any dataform field, the info bubble next to the field label is enabled and on hover, the info bubble displays the comment text in a popup.
    • Quick Search: Selecting a value in this dropdown adds the field to the Quick Search on multi from searches. Available options (quick search types) include Starts With, Equals, Contains (% search).
    • Form Searchable: Is this one of the Search parameters available in a multiform list? This property can be set from the form list page or from within the field property page.
    • Secured: Secures the field and generates a security entity for the field in the format of gen_TableName_FieldName. For more in-depth documentation about using security entities in Role security, review ClientSpace Organization and Workspace Security Configuration.
    • Active: Determines if the field appears on the dataform. De-Activating a field is preferential to deleting it because deleting the field removes it from the underlying SQL table and erases the data. When you de-activate or hide a field, you retain the data for later use.
    • Hidden: This property is only available for Field Sets. When selected, the field and its children are hidden when a dataform record is viewed.
    • Index this field: Marks the field for addition to the SQL table index; you can make searches based on this field faster.
    • Audit this field: Marks the field auditable and is configured in System Admin > Advanced > Tables.
    • Cloneable: Marks the field as configurable when this dataform is created by Workflow and Email templates.
    • Triggerable: Marks the field as available for use as a Triggering Field or as one of the Triggering Conditions when configuring Workflow Channels and Email Templates. When a field is marked as Triggerable, it displays in the field list on Email Templates and Workflow Channels.
    • Allow Dataform Notification: If selected, this field is included in a dataform notification when dataform subscribers are emailed. Updated fields appear in bold in this email. 


Available field actions

When viewing the list of dataform fields, note the available actions:

ActionAction labelDescription
OpenOpens the field properties for the highlighted field.
Delete

Deletes the highlighted field. 

For system fields, the Delete action is not available and displays as disabled. System fields can be easily identified because their field names do not begin with z_.

NewAdds a new field.
SaveSaves changes to the dataform fields list.



Deleting a dataform field

A few situations can exist that prevent a field from being deleted:

  1. The field is a system field.
  2. Other system configurations depend on the field.

For system fields, the Delete action is not available and displays as disabled. System fields can be easily identified since their field names do not begin with z_.

Dataform fields that are referenced by system functions, e.g., rules, links, or field display conditions, cannot be deleted until their dependencies are removed. If you try to delete a field that has a dependency, an error message is displayed in the delete dialog: "This field is used by the following System functions and cannot be deleted while these dependencies are in place: System Function". From the delete dialog, you can open the dependency.


After you Save the configuration, you can then view the form from Admin Workspace.

  1. Go to System Admin  > Administrative Data > <groupname>.

    Where <groupname> matches the Dataform Group value you selected during the initial Dataform Properties add process.

  2. Alternatively, click Admin Workspace from your modules bar (if you added to your modules bar).

  3. In Admin Workspace, open the group, and within the group open the form.

  4. Click Add.

    The form is displayed.

The following images illustrate:

  • Dataform field mapping during the Add process

  • The completed form, viewable through Admin Workspace



Return To Top

Configuring your Dataform - Datatypes


The following is a list of the most commonly used datatypes in the application accompanied by a brief explanation of how they work.  

Anchor
datatypes
datatypes

Expand
titleDatatypes - click to expand...


TypeNameExplanation of Datatype
Decimal

Accepts a decimal number with the precision as defined in the “Mask”.  If the user enters a number with a higher precision (more digits to the right of the decimal point) then the mask allows, the number will be rounded to the proper precision.

Field SetFieldsets are not data entry fields and no corresponding SQL Server field is created when a new fieldset data type is created. Fieldsets act as an organization container for other fields. Use of fieldsets typically makes the layout and organization of a data form significantly better.
ImageAttach an image file.
DateDatetime -The user can enter a date or select a date by clicking the calendar icon to the right of the field.  Only valid dates are accepted as an entry into this field. Codes can be used as a shortcut to populate the date field.  Entering “2d” into a date field will add two days to the current date. “-2w” will subtract two weeks from the current date and so on.  The valid codes are d=day, w=week, m=month, y=year.
Calendar Event SelectorAllows you to select any non-recurring calendar event to which the user account has access and create a link within the dataform to this calendar event.
Integer
Consists of the natural numbers (1, 2, 3, ...), zero (0)  and the opposites of the natural numbers (−1, −2, −3, ...).  If no minimum or maximum is specified in the field properties, the user can enter a number up to 2.146 billion
Text

Standard text input field will accept alphanumeric and special characters.  Limited to 500 characters unless a smaller number is entered into the max length property.

Time - StandardText field formatted to accept standard time ie 9:40pm.
LinkText field with hyperlink control attached. WARNING - The hyperlink control will always attach the HTTP protocol before a URL is stored in this field and can result in protocol doubling up.
TextAreaWide text area, expands to large note area for editing.  Identical to the text entry field but the field spans two columns and 3 rows to accommodate longer text entry.
Time - MilitaryText field formatted to accept military time ie 21:40
UserInteger - List of all active users in ClientSpace.  The primary key of the user record is stored in the integer field.
Text-WideWide text area, takes 2 columns on form
PhoneText formatted as phone number ### - ### - ####
SSNText formatted as a SSN ### - ## - ####
LogWide text area, enables the user to enter standard text in paragraph form.  When the entry is saved, the user that entered the text and the date/time of entry is recorded with the entry stored at the top of the field (above all previously entered text). 
Project UserList of active users for the workspace the form resides on
MoneyDecimal (14,2) - Allows the user to enter a value up to 10 billion dollars.  The mask is set by the system to allow for a decimal scale of two with automatic rounding to two places.  Minimum/maximum property settings can control the data entry as needed.  The input is automatically formatted with dollar signs and decimal scale of two places.
Zip CodeText - formatted as a zip code. Zipcode fields also can use custom logic to set associated fields on the dataform - for more information see Configuring the ZipCode Datatype.
Parent FormInteger field contains custom logic to tie it to a parent dataform - for more information see Configuring Parent Form Datatypes.
Checkbox

True/False (bit). Presents the user with a checkbox. Defaults to unchecked. 

Role SelectorSelects a Role from the Role administration
User Filtered By RoleList of users filtered by associated RoleID entered in the Related Fields area.
Org Type AheadType-ahead field that performs autocomplete foreign key to Organization record. Note: This can be filtered using the "Category" field when configuring this datatype.
User ProjectA list of the projects the user has access to
User by Role Type AheadType-ahead list of users filtered by role entered in the Related Fields area
Org ContactList of contacts for the Org attached to the workspace
User Type AheadType-ahead list of users 
Org Contact (Field Related)List of contacts for an Org referenced in an Organization field on the dataform.
Project User Type AheadType-ahead list of users associated with the workspace in which you are currently working.
Lookup (core)Drop list populated from the specified lookup. See documentation for a detailed explanation of lookups.
Lookup - Multiple (core)Text box (500 characters) stores multiple selections as text strings separated by !.!   See documentation for a detailed explanation of lookups.
User Filtered By Entity Type AheadText box, uses type-ahead functionality to select available users filtered by a security entity
User Multiple SelectAllows for selection of multiple users via pop-up
EmailText field - checks for a valid format of the email address
Phone (No Formatting is Saved)Text field - accepts phone numbers but does not save them as formatted.
Report SelectorProvides a dropdown list of available reports.
Contact Type AheadText box. Uses type-ahead functionality to select available contacts.
Role Selector Type AheadText box. Uses type-ahead functionality to select available roles.
PercentDecimal (14,2) - formatted as a percent.
Calendar Event SelectorSelect a calendar event from a list of events attached to the workspace.
EditorRich text control - like a text area, but with formatting

File Upload Manager - Database

Allows for file attachment, files are stored in the database, multiple instances of the same file will be stored as one file with multiple linking records.

Location SyncCreates a dropdown list that contains all the locations for a given workspace. Upon selection from the list, it pre-fills other address fields on the form. *ONLY WORKS ON THE LOCATION FORM*
UserByEntityList of users filtered by Security Entity (Entity configured in Related Fields property of dataform field).
UserByEntityTypeAheadTypeahead List of users filtered by Security Entity (Entity configured in Related Fields property of dataform field).


Business Logic and Rules 
Anchor
managerules
managerules


Dataform Business Logic and rules are powerful tools that are available for supporting dataform workflow and managing data integrity in ClientSpace. These configurable rules allow you to trigger field validation, clear field values at specific sections of a workflow and even automatically complete fields based on values from other source fields.  

Expand
titleBusiness Logic and Rules - click to expand...

Insert excerpt
Configuring Rules and Business Logic
Configuring Rules and Business Logic
nopaneltrue

Dynamic Field Display
Anchor
fielddisplay
fielddisplay


Configurable Field Display gives an administrator vast control over the general look and feel of a dataform. This is much more than just properly grouping fields into fieldsets or tabs but includes the ability to dynamically enable or disable fields and show or hide fields or fieldsets based on the other data on that dataform. In combination with custom header links, an administrator can virtually set up any workflow or process in ClientSpace utilizing Dynamic field display.

Expand
titleDynamic Field Display - click to expand...

Insert excerpt
Configuring Dynamic Field Display
Configuring Dynamic Field Display
nopaneltrue
 


Configured links give administrators the ability to dynamically control the accessibility of data in the system. Using Configurable Links can significantly improve the user experience by making related dataforms, reports, and workflow available from the dataform the user is currently on at specific points in the workflow. This will allow you link to custom reports, merges and dataforms within the current workspace or the admin workspace, or even configure your own workflow from scratch. An example of the creative use of configured links is to only make reports or workflow links available when certain data is filled in. For example, a salesperson can only submit an Order for approval once there is a Resolution in the order. The following document provides the tools you need to start configuring your own custom header links.

Expand
titleConfiguring Custom Header Links - click to expand...

Insert excerpt
Configuring Links
Configuring Links
nopaneltrue
 

Distributing Your Dataform 
Anchor
distribution
distribution


After a dataform is created and configured, you need to provide some way for it to be used, and this can be accomplished in a number of ways. A dataform might need to be workspace specific, so you would need to add it to the TOC of a single workspace, or it may need to be more widespread, so you would want it copied to each workspace as they are generated. You may also want to only expose access to the dataform from the header of another dataform. Certain financial dataforms in the PEO system are exposed through header links from the dataforms for which they contain financial data. This document discusses each of these methods of Dataform Distribution.

Expand
titleDistributing Dataforms - click to expand...

Insert excerpt
Distributing Dataforms - Making Dataforms Accessible
Distributing Dataforms - Making Dataforms Accessible
nopaneltrue

  Return To Top

...