When child form is used in multiple parents, how to pass data in a subform-subform structure?
The idea is to have a feature to capture Parent Page ID in the subform so you know which parent the subform is calling hence can adjust the dynamic value based on the parent, then you will be able to pass data around in a subform-subform structure regardless of which parent form you open.
-
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
Please sign in to leave a comment.
Comments
5 comments