Creating New Objects

From Subscribe-HR Wiki Help

Jump to: navigation, search

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

  1. After logging into the Subscribe-HR portal, select the Development TAB.
  2. Select the Objects folder.
  3. Select the [Add new record] button.
  4. Enter the Object Name. This should be the page name.
  5. Enter the Object menu name. This is the name you wish the menu item to be called.
  6. 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.
  7. Check the Remove from menu if you do not want this item to appear in the menu of the selected module.
  8. Check the Store single record only if you wish the system to not allow multiple records.
  9. 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.
  10. 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.
  11. 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.



File:subscribehr_logo.gif

Personal tools