Commcare-export tool: Getting parent case id

43 views
Skip to first unread message

Johann van Eeden

unread,
Nov 16, 2017, 2:08:57 AM11/16/17
to commcare-users
Hello all,

So I'm using the commcare-export tool and trying to get the case's parent case id, but I have no idea how to get it. I have tried multiple ways so far
   
 
parent_case_id

parent_case_id
parent_case_id1 parent.parent_case_id
parent_case_id2 properties.parent_case_id
parent_case_id3 properties.parent.parent_case_id
parent_case_id4 parent_case.parent_case_id
parent_case_id5 properties.parent_case.parent_case_id
parent_case_id6 parent_cases.parent_case_id
parent_case_id7 parent_cases.properties.parent_case_id
parent_case_id8 properties.parent_cases.id
parent_case_id9 properties.parent_cases.parent_case_id
parent_case_id10 parent.case_id
parent_case_id11 properties.parent.case_id

None of these exported any kind of id. Any idea what I should be using? 
Thanks in advance.

Simon Kelly

unread,
Nov 16, 2017, 6:44:25 AM11/16/17
to commcar...@googlegroups.com
Hi Johann

Thanks for you question. Here are the fields you that you should use:

Parent case IDindices.parent.case_id
Parent case typeindices.parent.case_type

Simon Kelly
Director of Server Engineer | Dimagi

--
You received this message because you are subscribed to the Google Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages