Relationships with an Object
(→Creating the relationship for an Object) |
|||
(One intermediate revision by the same user not shown) | |||
Line 23: | Line 23: | ||
# Select the Object that you wish to define a relationship for. | # Select the Object that you wish to define a relationship for. | ||
# Select the <b>Relationships</b> SubFolder. | # Select the <b>Relationships</b> SubFolder. | ||
− | # Select the [ | + | # Select the [Add new record] button. |
# Select the Relationship Type:<br><b>Parent of</b> means that the object you select in the <b>Object Name</b> field below will become the Child of the Object you are working under.<br><b>Child of</b> means that the select Object you are working under will become the Child of the Object you select in the <b>Object name</b> look-up. | # Select the Relationship Type:<br><b>Parent of</b> means that the object you select in the <b>Object Name</b> field below will become the Child of the Object you are working under.<br><b>Child of</b> means that the select Object you are working under will become the Child of the Object you select in the <b>Object name</b> look-up. | ||
# Select the Object name. (if you created a new object / page you will find it in this drop down) | # Select the Object name. (if you created a new object / page you will find it in this drop down) | ||
+ | # Select app in <b>Belongs to App</b> field if this relationship is to be added to one of your apps. | ||
# Select the [Save] button. | # Select the [Save] button. | ||
<b>Mandatory fields are marked with Red Asterisk, the record will not be saved unless mandatory fields are filled in first.</b> | <b>Mandatory fields are marked with Red Asterisk, the record will not be saved unless mandatory fields are filled in first.</b> | ||
Line 36: | Line 37: | ||
# Select the <b>Employee</b> Object. | # Select the <b>Employee</b> Object. | ||
# Select the <b>Relationships</b> SubFolder. | # Select the <b>Relationships</b> SubFolder. | ||
− | # Select the [ | + | # Select the [Add new record] button. |
# Select the Relationship type as <b>Parent of</b>. | # Select the Relationship type as <b>Parent of</b>. | ||
# Select the Object name <b>Employee Medical</b>. | # Select the Object name <b>Employee Medical</b>. |
Latest revision as of 00:49, 1 April 2019
Defining Relationships for an Object
When defining relationships in the Subscribe-HR system, you are defining the Parent and Child relationships of Objects. This is also how we create folders and sub-folders in the system.
When we create a new object or page by default the Object is a Parent, when we define the relation the Object now knows where it belongs, and this maybe a child.
Example:The Object Employee Medical started life as a parent, and then a Parent of relationship was defined.
The Object Employee Medical is a child of the Object Employee due to the relationship defined.
To add an object (sub-folder) under a parent object (folder), you should select the Parent Object first and then define a Parent of relationship with the desired Object.
To move a Parent Object and its Child objects under a new Parent Object, you should select the Object you wish to move, and then define a Child of relationship with the desired object.
Creating the relationship for an Object
- After logging into the Subscribe-HR portal, select the Development TAB
- Select the Objects Folder.
- Select the Object that you wish to define a relationship for.
- Select the Relationships SubFolder.
- Select the [Add new record] button.
- Select the Relationship Type:
Parent of means that the object you select in the Object Name field below will become the Child of the Object you are working under.
Child of means that the select Object you are working under will become the Child of the Object you select in the Object name look-up. - Select the Object name. (if you created a new object / page you will find it in this drop down)
- Select app in Belongs to App field if this relationship 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.
Example: We have created an Object called Employee Medical and wish for this Object to appear under the Employee Folder.
- After logging into the Subscribe-HR portal, select the Development TAB
- Select the Objects Folder.
- Select the Employee Object.
- Select the Relationships SubFolder.
- Select the [Add new record] button.
- Select the Relationship type as Parent of.
- Select the Object name Employee Medical.
- Select the [Save] button.