Creating New Objects
Line 25: | Line 25: | ||
# After logging into the Subscribe-HR portal, select the <b>Development</b> TAB. | # After logging into the Subscribe-HR portal, select the <b>Development</b> TAB. | ||
# Select the <b>Objects</b> folder. | # Select the <b>Objects</b> folder. | ||
− | # Select the [ | + | # Select the [Add new record] button. |
# Enter the <b>Object Name.</b> This should be the page name. | # Enter the <b>Object Name.</b> This should be the page name. | ||
# Enter the <b>Object menu name.</b> This is the name you wish the menu item to be called. | # Enter the <b>Object menu name.</b> This is the name you wish the menu item to be called. |
Revision as of 01:21, 22 April 2013
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 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: If I want to add an element to the Employee Medical form, guess what. The Object I am looking for is 'Employee Medical'.
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 Objects
- After logging into the Subscribe-HR portal, select the Development TAB.
- Select the Objects folder.
- Select the [Add new record] button.
- Enter the Object Name. This should be the page 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 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 selecting Human Resources from the drop down is very ideal.
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 the Remove from menu if you do not want this item to appear in the menu of the selected module.
- Check the Store single record only if you wish the system to not allow multiple records.
- Check the 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.
- 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 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.