Skip to main content
InSource Solutions

TN - 1239 Linking an IndustraForm Main logbook as a sublog

Description

 

This article from InSource shows how to Link an IndustraForm Main logbook as a sublog

  • Author: Ron Tanner
  • Published: 03/25/2022
  • Applies to: j5 2019

Details

First create a custom logbook and call it Process Events.  The goal is to add Operations Logbook entries from and link them to the Process Events logbook.

Steps:

1. Open your project in the j5 IDE.

2. You will need to create a field to link Process Events as a parent of the Operations Logbook. You accomplish this in Operations Logbook's fields.  Add a field named: "parent_event_id". 

3. Link this field using an IndustraForm Synonym. This is available in the field’s configuration towards the bottom of the page.  The form property is available in j5 IndustraForms that are created within a parent log. 

clipboard_ea6d0e3682431a06cd448af181f2de6b0.png

4. Configure the Operations Logbook as a subform.

clipboard_e10dded4a1d789f056318c92b553a78ac.png

5. Configure the logbook we want to link based on this field. Two options are available:

  • On the Process Events logbook, we can declare the sublog and linked fields.

clipboard_eee276f86184fbd7d0241a7421e8567ec.png

  • On the Operations logbook, we can declare the parentlog and linked fields.clipboard_e1995fe06cb2fa1313fd6a4d8ac1fd7bd.png
  • 6. Save and deploy the project. 

    7. Update the Form Design of the Operations Logbook using the IndustraForm Designer and include the new ParentLogID field in order to sync with our linking field. To test change the field's "visible if" property to "False". 

    clipboard_e1a8eb2450537be49d546385e57c16b6b.png

    Your two IndustraForm Main logbooks are now linked as Parent and Sublog.

  • Was this article helpful?