New Feature: Child Cases can now access Parent Case data

Dear CommCare Users,

You’ll want to read this if you are using or plan to use Child Cases.

We have updated the application builder to give Child cases the ability to
access Parent case properties. Previously, you were only able to save
parent case properties to the associated child case(s) when creating the
child case. Now the child case can access and update properties in the
parent case at any time.

More concretely, this means you can update the parent case’s properties
from a child case’s form, and load parent properties into a child’s form.

To reference a parent property type “parent/property_name”. For example,
on the case configuration tab for one of the forms in the child module, to
refer to the Parent case property “dob”, you would type “parent/dob” into
the case property box.

Thanks,
Amelia

Hi Amelia,

I’m trying to access the Parent Case Id on a form in my child module.
However, I cannot figure out what the correct syntax is to access this
value. I’ve tried: parent_id, parent/id, parent/caseid, parent/case_id,
case_id, among others.

Can you please let me know what the case property for the Parent Case Id is
so that I can load this value onto a form in my child module?

Thank you!
Lexa

Can you point me in the right direction here so that I can get the Case Id
of the Parent

··· On Friday, May 10, 2013 at 12:43:37 AM UTC+2, Amelia Sagoff wrote: > > Dear CommCare Users, > > You'll want to read this if you are using or plan to use Child Cases. > > We have updated the application builder to give Child cases the ability > to access Parent case properties. Previously, you were only able to save > parent case properties to the associated child case(s) when creating the > child case. Now the child case can access and update properties in the > parent case at any time. > > More concretely, this means you can update the parent case's properties > from a child case's form, and load parent properties into a child's form. > > To reference a parent property type "parent/property_name". For example, > on the case configuration tab for one of the forms in the child module, to > refer to the Parent case property "dob", you would type "parent/dob" into > the case property box. > > Thanks, > Amelia > > >