Calling an Child Interface from Parent Interface

My Child Interface has Submit and Cancel Button. It has File Upload functionality. Below are the 2 Rule Inputs it has:

  • Cancel Rule Input (Type Boolean)
  • excelData Rule Input (Type Document)

I have a Parent Interface which uses Navigation, in one of the Navigation link I need to have this Child Interface appear. I was using rule!Child Interface, but its asking me to pass 2 parameters. Can you please help me on how I can pass those 2 parameters from Parent Interface?

Regards,

Mahesh

  Discussion posts and replies are publicly visible

Parents
  • There are multiple ways of doing it.

    1. If your parent interface needs to get and pass values to process model, then

    a. Create two rule inputs in child interface and pass it to child interface. The data flow will be as below

    process variable >> parent interface rule input >> child interface rule input 

    2. If your parent interface is standalone, then you can use localvariables to initialise the two rule inputs

    local!cancel >> ri!cancel

    local!excelData >> ri!excelData

  • Hi Soma,

    I have created 2 local variables on the parent stand-alone interface. I called the child interface by passing those 2 parameters. When I am testing the Site, the Submit/Cancel buttons are doing nothing. Below is how I am calling the Child Interface, both the local variables are defined on the parent interface.

    {

    rule!DD_Review_Bulk_Upload_Interface(local!Cancel, local!excelData)

    }

Reply
  • Hi Soma,

    I have created 2 local variables on the parent stand-alone interface. I called the child interface by passing those 2 parameters. When I am testing the Site, the Submit/Cancel buttons are doing nothing. Below is how I am calling the Child Interface, both the local variables are defined on the parent interface.

    {

    rule!DD_Review_Bulk_Upload_Interface(local!Cancel, local!excelData)

    }

Children