Objects and Elements

From Subscribe-HR Wiki Help
Revision as of 02:05, 30 June 2010 by Wikihelp (Talk | contribs)

Jump to: navigation, search

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'.

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.

Element.gif

Layouts Explained

The Layout is what defines what elements appear and their position on the page.
You are required to have an Object and Elements created before you can use the Layout.
Once you have the Object and Elements created, you simply drag the elements from the fields list onto the page and position them. Save the Layout and you are done.
Layout.gif

Changing the Sort Order of fields on the Search

Elements that have been created and flagged with Display on Search Results will appear on the search form of the object. But when they appear they will appear in natural order. The Search Fields Display Order section under the Layout sub-folder allows the user to customise the order / position that the field appears on the search form.
Element flag search.gif

Search on.gif

By selecting the Layout sub-folder we can see the Search Fields Display Order section

  • The Search Fields Display Order section is automatically populated with any elements (fields) that are flagged with Display on Search Results.
  1. To change the order that the elements appear in simply drag the desired element into position.
    The first element in the list will appear as the first on the search form from the left.

Display order.gif

Subscribehr logo.gif