Creating New Elements

From Subscribe-HR Wiki Help
Jump to: navigation, search
Line 4: Line 4:
 
__TOC__
 
__TOC__
  
==Elements Explained==
+
=Elements Explained=
 +
 
 
An element could best be explained as an item on a page such as a text box, drop down, option box, or button. This is exactly what we create when we select create element.
 
An element could best be explained as an item on a page such as a text box, drop down, option box, or button. This is exactly what we create when we select create element.
 
<br>
 
<br>
Line 20: Line 21:
 
This is enforced by requiring that an Object be selected first before an Element can be created.
 
This is enforced by requiring that an Object be selected first before an Element can be created.
 
<br>
 
<br>
<b>Example:</b> If I want to create a new element and add this to the Employee Medical form, I would have to select Objects, locate the Object called Employee Medical and then select Elements.
+
<i><b>Example</b>: If I want to create a new element and add this to the Employee Medical form, I would have to select Objects, locate the Object called Employee Medical and then select Elements.</i>
  
 
===Creating New Elements===
 
===Creating New Elements===
Line 28: Line 29:
 
# Select the <b>Elements</b> sub folder.
 
# Select the <b>Elements</b> sub folder.
 
# Select the [Create] button.
 
# Select the [Create] button.
# Enter the <b>Element name</b> in Title Case. This should be a name that you can easily identify what the element is. <b>Example:</b> Item Serial Number
+
# Enter the <b>Element name</b> in Title Case. This should be a name that you can easily identify what the element is. <i><b>Example</b>: Item Serial Number</i>
# Select the <b>Element Record Type.</b> This defines what type of element will be used. This is explained below.
+
# Select the <b>Element Record Type</b>. This defines what type of element will be used.<br>This is explained below, however not all the following attributes are available to all <b>Element Record Types</b>.<br><i><b>Example</b>: <b>Decimal Places</b> would relate to Type <b>Number</b>, but not <b>Test</b>.</i>
# Enter the <b>Element label.</b> this is the text that you wish to appear next to the element. <b>Example:</b> First Name:  
+
# Enter the <b>Element label.</b> this is the text that you wish to appear next to the element. <i><b>Example</b>: First Name: </i>
 
# Check the <b>Mandatory</b> field if you wish to make this element a field that must be filled in before the record can be saved.
 
# Check the <b>Mandatory</b> field if you wish to make this element a field that must be filled in before the record can be saved.
# Check the <b>System Generated (non-editable)</b> ??????????
+
# Check the <b>System Generated (non-editable)</b> ??????
 
# Check the <b>Not editable after the value is saved</b> field if you do not want to be able to edit the value saved in the element. This is often used for creating unique identifiers in a record set.
 
# Check the <b>Not editable after the value is saved</b> field if you do not want to be able to edit the value saved in the element. This is often used for creating unique identifiers in a record set.
 
# Check the <b>Do not show on create form</b> if you do not want this element to appear when you select the [Create] button.
 
# Check the <b>Do not show on create form</b> if you do not want this element to appear when you select the [Create] button.
Line 38: Line 39:
 
# Check the <b>Use for searching</b> if you want to be able to search on this data from the search list.
 
# Check the <b>Use for searching</b> if you want to be able to search on this data from the search list.
 
# Check the <b>Use for predictive text searching</b> if you want to enable predictive text search on this element.
 
# Check the <b>Use for predictive text searching</b> if you want to enable predictive text search on this element.
# Check the <b>Mask Value</b> if you wish to hide the actual value in the element. This will appear as **** <br>[[File:mask.gif]]
+
# Check the <b>Mask Value</b> if you wish to hide the actual value in the element. This will appear as ****
 
# Check the <b>Display on Bread Crumbs</b> if you wish for this elements saved value to appear in the breadcrumb trail.
 
# Check the <b>Display on Bread Crumbs</b> if you wish for this elements saved value to appear in the breadcrumb trail.
# Select the Groups that can edit this element. You are selecting your defined user groups as being able to edit the save values in this element.
+
# Check the <b>Enable Datepicker</b> to select the Date from a popup window
# Select the Groups that can view this element. You are selecting your defined user groups as being able to see this element on a page.<br>This is a good feature and can be used for example: in scenarios where only HR Managers may only be able to edit and see comments on a page, self service users cannot see the comments.
+
# Check the <b>Enable Timepicker</b> to select the Time from a popup window
# Enter any element help
+
# Check the <b>Enable Rich Text Editor</b> ??????
 +
# Check the <b>Enable Autocomplete</b> ??????
 +
# Check the <b>Link To User Object</b> ??????
 +
# Check the <b>Link To Contacts</b> ??????
 +
# Check the <b>Link To Code Library</b> ??????
 +
# Check the <b>Link To Object</b> ??????
 +
# Enter the <b>Minimum Field Length</b> in characters
 +
# Enter the <b>Maximum Field Length</b> in characters
 +
# Enter the <b>Field Width(pixels)</b> to set the width of the input field
 +
# Enter the <b>Field Height(pixels)</b> to set the height of the input field
 +
# Enter the <b>Decimal Places</b> to set the number of decimal places
 +
# Check the <b>Boolean Display Type</b> & select either Checkbox or Drop Down (Yes/No)
 +
# Check the <b>Resize Image</b> & enter the Resized Width & Resized Height
 +
# Enter the <b>Default Value</b> if required
 +
# Select the <b>Groups</b> that can <b>Edit</b> this element. You are selecting your defined user groups as being able to edit the save values in this element.
 +
# Select the <b>Groups</b> that can <b>View</b> this element. You are selecting your defined user groups as being able to see this element on a page.<br>This is a good feature and can be used for <i><b>Example</b>: in scenarios where only HR Managers may only be able to edit and see comments on a page, self service users cannot see the comments.</i>
 +
# Select the <b>Self-Service Manager</b> that can <b>View</b> this element. You are selecting your defined user groups as being able to see this element on a page.
 +
# Select the <b>Self-Service Manager</b> that can <b>Edit</b> this element. You are selecting your defined user groups as being able to edit the save values in this element.
 +
# Enter any element <b>Help</b>.
 
# Select the [Save] button.
 
# Select the [Save] button.
 
  
 
====Text Element Type====
 
====Text Element Type====
 
The text element type can record up to a maximum of 255 characters.
 
The text element type can record up to a maximum of 255 characters.
 
If you require more text you should consider using the Long Text element type.
 
If you require more text you should consider using the Long Text element type.
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Mask Value - masking of the value is performed by asterisk ***
 
* Mask Value - masking of the value is performed by asterisk ***
 
* Minimum field length
 
* Minimum field length
Line 59: Line 76:
 
====Number Element Type====
 
====Number Element Type====
 
The number element can only store numeric values up to the maximum length of 255 characters.  
 
The number element can only store numeric values up to the maximum length of 255 characters.  
 
+
<br><b>Variables for this element</b>
<br>
+
'''Variables for this element'''
+
 
* Minimum field length
 
* Minimum field length
 
* Maximum field length
 
* Maximum field length
Line 75: Line 90:
 
<br>
 
<br>
 
If you require Date and Time please use the Data and time element type.
 
If you require Date and Time please use the Data and time element type.
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Enable Date Picker
 
* Enable Date Picker
  
Line 84: Line 98:
 
By enabling the date picker you are enabling the ability to click in this
 
By enabling the date picker you are enabling the ability to click in this
 
field and have the calendar show. The calendar cannot select the time.
 
field and have the calendar show. The calendar cannot select the time.
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Enable Date Picker
 
* Enable Date Picker
 
* Field Width (pixels)
 
* Field Width (pixels)
Line 91: Line 104:
 
====Email Element Type====
 
====Email Element Type====
 
The Email element can store alpha and numeric values however has validation to check if this is a valid email address. The validation checks for @ and .
 
The Email element can store alpha and numeric values however has validation to check if this is a valid email address. The validation checks for @ and .
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Minimum field length
 
* Minimum field length
 
* Maximum field length
 
* Maximum field length
Line 100: Line 112:
 
====URL Element Type====
 
====URL Element Type====
 
The URL element can store alpha and numeric values however has validation to check if this is a valid URL.
 
The URL element can store alpha and numeric values however has validation to check if this is a valid URL.
 
+
<br><b>Variables for this element</b>
<br>
+
'''Variables for this element'''
+
 
* Minimum field length
 
* Minimum field length
 
* Maximum field length
 
* Maximum field length
Line 110: Line 120:
 
====Currency Element Type====
 
====Currency Element Type====
 
The Currency element can store numeric values only to a maximum of 255 characters.
 
The Currency element can store numeric values only to a maximum of 255 characters.
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Minimum field length
 
* Minimum field length
 
* Maximum field length
 
* Maximum field length
Line 120: Line 129:
 
====Percentage Element Type====
 
====Percentage Element Type====
 
The Percentage element can store numeric values only to a maximum of 255 characters.
 
The Percentage element can store numeric values only to a maximum of 255 characters.
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Minimum field length
 
* Minimum field length
 
* Maximum field length
 
* Maximum field length
Line 132: Line 140:
 
<br>
 
<br>
 
By enabling the rich text editor you are switching on options to be able to format the text.
 
By enabling the rich text editor you are switching on options to be able to format the text.
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Minimum field length
 
* Minimum field length
 
* Maximum field length
 
* Maximum field length
Line 143: Line 150:
 
The Drop down element type requires to be linked to a code library.
 
The Drop down element type requires to be linked to a code library.
 
<br>
 
<br>
<!--TWS This is where the drop down will get its values from. See the [[lookup_table|Adding Data to the Code Library]] for more information. -->
 
 
This is where the drop down will get its values from. See the [[Create-new-values-in-the-code-library|Adding Data to the Code Library]] for more information.
 
This is where the drop down will get its values from. See the [[Create-new-values-in-the-code-library|Adding Data to the Code Library]] for more information.
 
<br>
 
<br>
 
'''Linking to the code library'''
 
'''Linking to the code library'''
 
After the Drop down element is created check the '''Link to code library''' checkbox, this will display a drop down called '''Code library entry''', select from the drop down the desired code library.
 
After the Drop down element is created check the '''Link to code library''' checkbox, this will display a drop down called '''Code library entry''', select from the drop down the desired code library.
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Link to code library
 
* Link to code library
 
* Code library entry
 
* Code library entry
Line 162: Line 167:
 
<br>
 
<br>
 
Booleans can also be a drop down, however this is not configurable and you only have the choice of YES or NO
 
Booleans can also be a drop down, however this is not configurable and you only have the choice of YES or NO
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Boolean display type - Check box or Drop down
 
* Boolean display type - Check box or Drop down
 
* Default value
 
* Default value
Line 169: Line 173:
 
====Attachment Element Type====
 
====Attachment Element Type====
 
The Attachment element type allows the uploading of a single file to the server per record.
 
The Attachment element type allows the uploading of a single file to the server per record.
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* None
 
* None
  
Line 177: Line 180:
 
<br>
 
<br>
 
The resized feature is handy to use especially when you need to control what the screen may look like if a large image was uploaded.
 
The resized feature is handy to use especially when you need to control what the screen may look like if a large image was uploaded.
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Resize Image
 
* Resize Image
 
* Resized Width
 
* Resized Width
Line 185: Line 187:
 
====Time Element Type====
 
====Time Element Type====
 
The time element type only allows numeric characters, and stores the time only.
 
The time element type only allows numeric characters, and stores the time only.
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Default value
 
* Default value
  
 
====Multiselect Element Type====
 
====Multiselect Element Type====
The Multiselect element type allows for selecting of multiple options. Multiselects need to be linked to the code library.
+
The Multiselect element type allows for selecting of multiple options. Multiselect need to be linked to the code library.
<br>
+
<br><b>Variables for this element</b>
'''Variables for this element'''
+
 
* Link to code library
 
* Link to code library
 
* Code Library entry
 
* Code Library entry
Line 198: Line 198:
 
* Field height (pixels)
 
* Field height (pixels)
 
* Default value
 
* Default value
 
+
<br>
 +
<br>
 
===Using the Link to code library option===
 
===Using the Link to code library option===
 
The Link to code library option is available on Drop down and Multiselect elements.
 
The Link to code library option is available on Drop down and Multiselect elements.

Revision as of 07:17, 8 April 2013

Elements Explained

An element could best be explained as an item on a page such as a text box, drop down, option box, or button. This is exactly what we create when we select create element.

Once an element has been created, this will need to be added to the screen layout.
Please see Modifying Screen Layouts for more information on this.

The Relationship between Objects and Elements

The Subscribe-HR System is an object orientated system. Every page is an object. If we were wanting to create a new page we would be creating a new object in the system.
An Element is an item on a page. Items are required to be linked to a page (otherwise known as an Object).
This is enforced by requiring that an Object be selected first before an Element can be created.
Example: If I want to create a new element and add this to the Employee Medical form, I would have to select Objects, locate the Object called Employee Medical and then select Elements.

Creating New Elements

  1. After logging into the Subscribe-HR portal, select the Development TAB.
  2. Select the Objects folder.
  3. Select the Object you wish to create the element on.
    If you wish to create a new object please see the documentation Creating New Objects
  4. Select the Elements sub folder.
  5. Select the [Create] button.
  6. Enter the Element name in Title Case. This should be a name that you can easily identify what the element is. Example: Item Serial Number
  7. Select the Element Record Type. This defines what type of element will be used.
    This is explained below, however not all the following attributes are available to all Element Record Types.
    Example: Decimal Places would relate to Type Number, but not Test.
  8. Enter the Element label. this is the text that you wish to appear next to the element. Example: First Name:
  9. Check the Mandatory field if you wish to make this element a field that must be filled in before the record can be saved.
  10. Check the System Generated (non-editable) ??????
  11. Check the Not editable after the value is saved field if you do not want to be able to edit the value saved in the element. This is often used for creating unique identifiers in a record set.
  12. Check the Do not show on create form if you do not want this element to appear when you select the [Create] button.
  13. Check the Display on search results if you want the data saved in this element to appear in the object search list
  14. Check the Use for searching if you want to be able to search on this data from the search list.
  15. Check the Use for predictive text searching if you want to enable predictive text search on this element.
  16. Check the Mask Value if you wish to hide the actual value in the element. This will appear as ****
  17. Check the Display on Bread Crumbs if you wish for this elements saved value to appear in the breadcrumb trail.
  18. Check the Enable Datepicker to select the Date from a popup window
  19. Check the Enable Timepicker to select the Time from a popup window
  20. Check the Enable Rich Text Editor ??????
  21. Check the Enable Autocomplete ??????
  22. Check the Link To User Object ??????
  23. Check the Link To Contacts ??????
  24. Check the Link To Code Library ??????
  25. Check the Link To Object ??????
  26. Enter the Minimum Field Length in characters
  27. Enter the Maximum Field Length in characters
  28. Enter the Field Width(pixels) to set the width of the input field
  29. Enter the Field Height(pixels) to set the height of the input field
  30. Enter the Decimal Places to set the number of decimal places
  31. Check the Boolean Display Type & select either Checkbox or Drop Down (Yes/No)
  32. Check the Resize Image & enter the Resized Width & Resized Height
  33. Enter the Default Value if required
  34. Select the Groups that can Edit this element. You are selecting your defined user groups as being able to edit the save values in this element.
  35. Select the Groups that can View this element. You are selecting your defined user groups as being able to see this element on a page.
    This is a good feature and can be used for Example: in scenarios where only HR Managers may only be able to edit and see comments on a page, self service users cannot see the comments.
  36. Select the Self-Service Manager that can View this element. You are selecting your defined user groups as being able to see this element on a page.
  37. Select the Self-Service Manager that can Edit this element. You are selecting your defined user groups as being able to edit the save values in this element.
  38. Enter any element Help.
  39. Select the [Save] button.

Text Element Type

The text element type can record up to a maximum of 255 characters. If you require more text you should consider using the Long Text element type.
Variables for this element

  • Mask Value - masking of the value is performed by asterisk ***
  • Minimum field length
  • Maximum field length
  • Field width(pixels
  • Default value

Number Element Type

The number element can only store numeric values up to the maximum length of 255 characters.
Variables for this element

  • Minimum field length
  • Maximum field length
  • Field width(pixels
  • Decimal places
  • Default value

Date Element Type

The date element can only store the date, in the local settings format.
By enabling the date picker you are enabling the ability to click in this field and have the calendar show.
If you require Date and Time please use the Data and time element type.
Variables for this element

  • Enable Date Picker

Date and time Element Type

The Date and time element can only store the date and time, in the local settings format.
By enabling the date picker you are enabling the ability to click in this field and have the calendar show. The calendar cannot select the time.
Variables for this element

  • Enable Date Picker
  • Field Width (pixels)

Email Element Type

The Email element can store alpha and numeric values however has validation to check if this is a valid email address. The validation checks for @ and .
Variables for this element

  • Minimum field length
  • Maximum field length
  • Field Width (pixels)
  • Default value

URL Element Type

The URL element can store alpha and numeric values however has validation to check if this is a valid URL.
Variables for this element

  • Minimum field length
  • Maximum field length
  • Field Width (pixels)
  • Default value

Currency Element Type

The Currency element can store numeric values only to a maximum of 255 characters.
Variables for this element

  • Minimum field length
  • Maximum field length
  • Field Width (pixels)
  • Decimal places
  • Default value

Percentage Element Type

The Percentage element can store numeric values only to a maximum of 255 characters.
Variables for this element

  • Minimum field length
  • Maximum field length
  • Field Width (pixels)
  • Decimal places
  • Default value

Long Text Element Type

The Long text element can store alpha and numeric values.
By enabling the rich text editor you are switching on options to be able to format the text.
Variables for this element

  • Minimum field length
  • Maximum field length
  • Field Width (pixels)
  • Decimal places
  • Default value

Drop down Element Type

The Drop down element type requires to be linked to a code library.
This is where the drop down will get its values from. See the Adding Data to the Code Library for more information.
Linking to the code library After the Drop down element is created check the Link to code library checkbox, this will display a drop down called Code library entry, select from the drop down the desired code library.
Variables for this element

  • Link to code library
  • Code library entry
  • Field Width (pixels)
  • Field height (pixels)
  • Default value

Boolean Element Type

The Boolean element type is a YES / NO or 0 / 1 option.
Booleans have the option of being a check box which when checked = true and unchecked = false
Booleans can also be a drop down, however this is not configurable and you only have the choice of YES or NO
Variables for this element

  • Boolean display type - Check box or Drop down
  • Default value

Attachment Element Type

The Attachment element type allows the uploading of a single file to the server per record.
Variables for this element

  • None

Image Element Type

The Image element type is a place holder for an image, this allows the uploading of a popular format of image, and for this to be displayed on screen.
The resized feature is handy to use especially when you need to control what the screen may look like if a large image was uploaded.
Variables for this element

  • Resize Image
  • Resized Width
  • Resized Height

Time Element Type

The time element type only allows numeric characters, and stores the time only.
Variables for this element

  • Default value

Multiselect Element Type

The Multiselect element type allows for selecting of multiple options. Multiselect need to be linked to the code library.
Variables for this element

  • Link to code library
  • Code Library entry
  • Field width (pixels)
  • Field height (pixels)
  • Default value



Using the Link to code library option

The Link to code library option is available on Drop down and Multiselect elements.

  1. Select the Link to code library option on the element
  2. A Code library entry drop down will appear
  3. Select the desired code library


Using the Link to User Object option

The Link to User Object option is available on Drop down and Multiselect elements.
By linking a drop down or multiselect element to the User Object means that the drop down or multiselect element will be populated with all users in the system.

  1. Create a new Element.
  2. Select the Element record type to be Drop Down.
  3. Give the element a name in the Element Label.
  4. Select the Link to User Object check box.
  5. Select the appropriate security groups who can view and edit this element.
  6. Select the [Save] button.



Subscribehr logo.gif