Display condition

Hi

We have to case type woman case “parent” and pregnant_woman"child". Is
there any way to use parent/caseproperty on display condition of particular
form of “childcase”.?

for example

first_time_enrollment is the case property of parent case, could we use
this property on display condition of any form using
"parent/first_time_enrollment!=‘yes’" because in practice we use
./caseproperty.

regards

aman

Hey Aman,

Unfortunately that’s not easily possible without using some complicated XML
logic. I would suggest the easiest option might be saving the parent case
properties you care about to the child case (unless it changes over time).

Please email me directly if you’d like information on how to do this using
complicated XML. Its much more difficult to use and may break your app or
change over time.

You can also vote for this UV item:
http://dimagi.uservoice.com/forums/194738-app-builder/suggestions/3564136-access-parent-case-properties-in-form-display-cond

Thanks,
Sheel

··· On Wed, Nov 12, 2014 at 1:52 AM, Aman Sen wrote:

Hi

We have to case type woman case “parent” and pregnant_woman"child". Is
there any way to use parent/caseproperty on display condition of particular
form of “childcase”.?

for example

first_time_enrollment is the case property of parent case, could we use
this property on display condition of any form using
“parent/first_time_enrollment!=‘yes’” because in practice we use
./caseproperty.

regards

aman


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.


Sheel Shah
Project Manager | Dimagi
m: +1.781.428.5419 | skype: sheel_shah

HI Sheel,

Could Aman not use case filtering to do this? I have done something
similar in one of my applications. I wanted to display a child case form
on the case list only if a certain parent property was entered. What I did
was, I created a hidden value in the child case and loaded the parent
property to the hidden value, then on the case list of the child case
module I used a case filter to determine whether the form would display or
not.

In Aman’s case her could he could save first_time_enrollment to the child
case. Then in the child case form load the parent property into a hidden
value and finally on the case list select that hidden value to display on
the case list and change the format to Filter (advanced) and use the
condition; parent/first_time_enrollment!=‘yes’

Could that work?

Kind regards,
Ameera Hamid

··· On Wednesday, 12 November 2014 18:24:00 UTC+2, Sheel Shah wrote: > > Hey Aman, > > Unfortunately that's not easily possible without using some complicated > XML logic. I would suggest the easiest option might be saving the parent > case properties you care about to the child case (unless it changes over > time). > > Please email me directly if you'd like information on how to do this using > complicated XML. Its much more difficult to use and may break your app or > change over time. > > You can also vote for this UV item: > > http://dimagi.uservoice.com/forums/194738-app-builder/suggestions/3564136-access-parent-case-properties-in-form-display-cond > > Thanks, > Sheel > > On Wed, Nov 12, 2014 at 1:52 AM, Aman Sen <ama...@gmail.com > wrote: > >> Hi >> >> We have to case type woman case "parent" and pregnant_woman"child". Is >> there any way to use parent/caseproperty on display condition of particular >> form of "childcase".? >> >> for example >> >> first_time_enrollment is the case property of parent case, could we use >> this property on display condition of any form using >> "parent/first_time_enrollment!='yes'" because in practice we use >> ./caseproperty. >> >> regards >> >> aman >> >> -- >> 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-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Sheel Shah > Project Manager | Dimagi > m: +1.781.428.5419 | skype: sheel_shah > > >

Thanks Aneera for your suggestion. We will try it.

Regards
Aman

··· On 13 Nov 2014 16:04, "Ameera Hamid" wrote:

HI Sheel,

Could Aman not use case filtering to do this? I have done something
similar in one of my applications. I wanted to display a child case form
on the case list only if a certain parent property was entered. What I did
was, I created a hidden value in the child case and loaded the parent
property to the hidden value, then on the case list of the child case
module I used a case filter to determine whether the form would display or
not.

In Aman’s case her could he could save first_time_enrollment to the child
case. Then in the child case form load the parent property into a hidden
value and finally on the case list select that hidden value to display on
the case list and change the format to Filter (advanced) and use the
condition; parent/first_time_enrollment!=‘yes’

Could that work?

Kind regards,
Ameera Hamid

On Wednesday, 12 November 2014 18:24:00 UTC+2, Sheel Shah wrote:

Hey Aman,

Unfortunately that’s not easily possible without using some complicated
XML logic. I would suggest the easiest option might be saving the parent
case properties you care about to the child case (unless it changes over
time).

Please email me directly if you’d like information on how to do this
using complicated XML. Its much more difficult to use and may break your
app or change over time.

You can also vote for this UV item:
http://dimagi.uservoice.com/forums/194738-app-builder/
suggestions/3564136-access-parent-case-properties-in-form-display-cond

Thanks,
Sheel

On Wed, Nov 12, 2014 at 1:52 AM, Aman Sen ama...@gmail.com wrote:

Hi

We have to case type woman case “parent” and pregnant_woman"child". Is
there any way to use parent/caseproperty on display condition of particular
form of “childcase”.?

for example

first_time_enrollment is the case property of parent case, could we use
this property on display condition of any form using
"parent/first_time_enrollment!=‘yes’" because in practice we use
./caseproperty.

regards

aman


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-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Sheel Shah
Project Manager | Dimagi
m: +1.781.428.5419 | skype: sheel_shah


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.