Creating New Objects
Line 13: | Line 13: | ||
==The Relationship between Objects and Elements== | ==The Relationship between Objects and Elements== | ||
− | + | As explained above, because the Subscribe-HR System is an object orientated system, every page or form is an Object. | |
− | + | ||
− | + | An Element is an item on a page or a form. These items (Elements) are required to be linked to a page/form (otherwise known as an Object). | |
− | An Element is an item on a page. | + | |
<br> | <br> | ||
− | 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/nominated first before an Element can be created. |
<br> | <br> | ||
− | <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> | + | <i><b>Example</b>: If I want to create a new element (say a form field) and add this to the Employee Medical form, I would have to select Objects, locate the Object called Employee Medical and then select Elements from the sub-menu that opens up on the left-hand side of the System/screen.</i> |
==Creating New Objects== | ==Creating New Objects== | ||
− | # | + | # Messages can be viewed/accessed via General menu (left-hand side of the System/screen) > Development > Objects. |
# Select the <b>Objects</b> folder. | # Select the <b>Objects</b> folder. | ||
# Select the [Add new record] button. | # Select the [Add new record] button. | ||
− | # Enter the <b>Object Name | + | # Enter the <b>Object Name</b> - this should be the page/form name. |
− | # Enter the <b>Object | + | # Enter the <b>Object Menu Name</b> - this is the name you wish the menu item to be called. |
− | # Select from the <b>Belongs to module</b> drop down which module the Object should belong to. You are specifying where this page should be available in the | + | # Select from the <b>Belongs to module</b> drop down and specify which module the Object should belong to. You are specifying where this page should be available in the System. If you are creating a new page for Human Resources, then select Human Resources from the drop down.<br>If you require this same page to appear in more than one module you will need to create a separate object for that module. |
# Check <b>Remove from menu</b> if you do not want this item to appear in the menu of the selected module. | # Check <b>Remove from menu</b> if you do not want this item to appear in the menu of the selected module. | ||
# Check <b>Store single record only</b> if you wish the system to not allow multiple records. | # Check <b>Store single record only</b> if you wish the system to not allow multiple records. | ||
Line 51: | Line 50: | ||
* Layout | * Layout | ||
<br> | <br> | ||
− | It is important to know that the Object will not appear on the menu of the selected module unless it has at least one element created for that | + | It is important to know that the Object will not appear on the menu of the selected module unless it has at least one element created for that Object. |
<br><br>[[File:subscribehr_logo.gif]] | <br><br>[[File:subscribehr_logo.gif]] |
Revision as of 05:18, 13 August 2021
Contents
Objects Explained
The Subscribe-HR System is an object orientated system. Every page is an object.
If we were wanting to create a new page or a new form, we would be creating a new object in the system.
The same rules apply when we are locating a page to modify it through the Development Tool. The Object we would be searching for is the exact name of the page.
Example: To add an element to the Employee Medical form, the Object to modify is 'Employee Medical'.
The Relationship between Objects and Elements
As explained above, because the Subscribe-HR System is an object orientated system, every page or form is an Object.
An Element is an item on a page or a form. These items (Elements) are required to be linked to a page/form (otherwise known as an Object).
This is enforced by requiring that an Object be selected/nominated first before an Element can be created.
Example: If I want to create a new element (say a form field) and add this to the Employee Medical form, I would have to select Objects, locate the Object called Employee Medical and then select Elements from the sub-menu that opens up on the left-hand side of the System/screen.
Creating New Objects
- Messages can be viewed/accessed via General menu (left-hand side of the System/screen) > Development > Objects.
- Select the Objects folder.
- Select the [Add new record] button.
- Enter the Object Name - this should be the page/form name.
- Enter the Object Menu Name - this is the name you wish the menu item to be called.
- Select from the Belongs to module drop down and specify which module the Object should belong to. You are specifying where this page should be available in the System. If you are creating a new page for Human Resources, then select Human Resources from the drop down.
If you require this same page to appear in more than one module you will need to create a separate object for that module. - Check Remove from menu if you do not want this item to appear in the menu of the selected module.
- Check Store single record only if you wish the system to not allow multiple records.
- Check Include in WSDL (Web Services Description Language) if you wish to enable third party integration on this page, which allows data to be retrieved and sent to from an external application.
- Check Disable History Tracking which will remove audit - History Tracking from the Table.
- Check Exclude During Cloning which will remove Cloning behaviour from the Object and Fields.
- Check Indexable. Tick this option to allow for this Table to be used in Global Search.
- Select the Form behaviour.
Stay On The Form After Save, when data is created and saved will cause the page to refresh and remain on that record.
Redirect To Search After Save when data is created and saved will cause the page to redirect back to the Objects search page and show a list of all records. - Select app in Belongs to App field if this object is to be added to one of your apps.
- Select the [Save] button.
Mandatory fields are marked with Red Asterisk, the record will not be saved unless mandatory fields are filled in first.
After the Object has been saved, you will notice sub folders off the Objects menu.
some of these are:
- Elements
- Actions
- Relationships
- Workflow Tasks
- Workflow Forms
- Snippets
- Layout
It is important to know that the Object will not appear on the menu of the selected module unless it has at least one element created for that Object.