Objects and Elements

From Subscribe-HR Wiki Help
Jump to: navigation, search
Line 48: Line 48:
 
# To change the order that the elements appear in simply drag the desired element into position.
 
# To change the order that the elements appear in simply drag the desired element into position.
 
<br>
 
<br>
<br>
+
[[File:search_on.gif]]<br>
[[File:search_on.gif]]  
+
 
The first element in the list will appear as the first on the search form from the left.
 
The first element in the list will appear as the first on the search form from the left.
 
<br>
 
<br>

Revision as of 02:11, 30 June 2010

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.
Element flag search.gif

Display order.gif
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.

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.


Search on.gif
The first element in the list will appear as the first on the search form from the left.


Subscribehr logo.gif