Instructions to add email template pop up to custom form

Open the Source Form Code

  • Navigate to Test Version - GBFHT MH CY Assessment and Referral, including myDAWN.
  • Access the Java code within this form.

Locate the Required Functions

  • Identify the following functions in the code:
    • get
    • viewOcean
    • sendOceanSecureMsg

Copy the Functions

  • Select and copy the complete code for each function.

Paste into Your Custom Form

  • Open the Java code for your custom form.
  • Paste the copied functions to the bottom of the existing Java code.

Copy Additional Controls

  • From the right side of the source form, copy:
    • Ocean Form Control
    • Secure Msg Popup Control
  • Paste these into your custom form.

Configure Email Link Using Template

  • Locate one of the "Email link using template" line (with Ocean symbol) in the source form.
  • Copy it and paste it to your form.
  • Modify the resource name to match the template name you require.

Verify and Test

  • Ensure all copied elements integrate correctly.
  • Test functionality to confirm proper operation.