When child form is used in multiple parents, how to pass data in a subform-subform structure?

Comments

5 comments

  • Avatar
    Jonathan Hsu

    Do you mean something similar to the built-in function iformbuilder.pageID but for Parent ID?

    0
    Comment actions Permalink
  • Avatar
    Penny Lau

    Yes that's what I meant. But we are open to any ideas that can help solve this challenge.

    0
    Comment actions Permalink
  • Avatar
    Permanently deleted user

    What if you have iformbuilder.page ID on the parent forms in a hidden Text (same data column name in all parent forms) then pass that dcn to the subform? 

    0
    Comment actions Permalink
  • Avatar
    Penny Lau (Edited )

    Hi Le, you won't be able to do that since you have to reference parent form name when passing data in a subform-subform structure (subform nested in a subform)

    0
    Comment actions Permalink
  • Avatar
    Luan Ngo

    Hi All,

    I have a similar scenario setup at my organization and what i had to do to make this work was ensure that the value i am passing from the parent from had the exact element_name.  this way, when i call from the child table, it will be able to pick up anything filled out from the parent form regardless of which parent it came from.  

    For example: parent_form1.city, parent_form2.city, parent_form3.city can all be accessed by the child form when calling city.

    The tricky challenge in this is when introducing the ESRI widget. The system stores a cache copy of "city" when generating the first record directly from the child form.  Then create a new record from the parent form, it stores the "city" from the previously created form.  I know it sounds a bit confusing but it is something that has been plaguing us for quite some time now.

    Luan Ngo

    OC Vector

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk