Error when making conditional select options via fixtures

Hi, I’m trying to build conditional select options using the 'fixtures’
functionality and I’m seeing the following error when I open my survey in
CC ODK: “Could not find an appropriate fixture for
src:jr://fixture/item-list:district”

My fixtures: http://i.imgur.com/J9WXU.png
My test form: https://gist.github.com/3915697

I was trying to follow the example on the wikihttps://confluence.dimagi.com/display/commcarepublic/Conditional+Select+Optionsbut maybe missed something? Does anyone have a full xform I could look at
for reference? Thanks.

Matt

Hi Matt,

I’m guessing the mobile worker that you’re testing with has been added to
the group called “all”? I’ve normally seen this error when the mobile
worker doesn’t have any entries in the fixture assigned to them.

Thanks!
Sheel

··· On Thu, Oct 18, 2012 at 6:25 PM, Matt Ball wrote:

Hi, I’m trying to build conditional select options using the 'fixtures’
functionality and I’m seeing the following error when I open my survey in
CC ODK: “Could not find an appropriate fixture for
src:jr://fixture/item-list:district”

My fixtures: http://i.imgur.com/J9WXU.png
My test form: https://gist.github.com/3915697

I was trying to follow the example on the wikihttps://confluence.dimagi.com/display/commcarepublic/Conditional+Select+Optionsbut maybe missed something? Does anyone have a full xform I could look at
for reference? Thanks.

Matt


Sheel Shah
Project Manager | Dimagi India
t: +91 1146704670 | m: +91 9560187282

Hi Sheel,

I tried a new build and a fresh install of CC ODK and it works great! Not
sure what was wrong with my group/user structure… But anyway, thanks for
the help and for the cool feature!

Matt

··· On Thu, Oct 18, 2012 at 9:46 PM, Sheel Shah wrote:

Hi Matt,

I’m guessing the mobile worker that you’re testing with has been added to
the group called “all”? I’ve normally seen this error when the mobile
worker doesn’t have any entries in the fixture assigned to them.

Thanks!
Sheel

On Thu, Oct 18, 2012 at 6:25 PM, Matt Ball matt@aquaya.org wrote:

Hi, I’m trying to build conditional select options using the 'fixtures’
functionality and I’m seeing the following error when I open my survey in
CC ODK: “Could not find an appropriate fixture for
src:jr://fixture/item-list:district”

My fixtures: http://i.imgur.com/J9WXU.png
My test form: https://gist.github.com/3915697

I was trying to follow the example on the wikihttps://confluence.dimagi.com/display/commcarepublic/Conditional+Select+Optionsbut maybe missed something? Does anyone have a full xform I could look at
for reference? Thanks.

Matt


Sheel Shah
Project Manager | Dimagi India
t: +91 1146704670 | m: +91 9560187282

Hi all,

Sorry to bump this thread, but I’m having a similar issue and I am not sure
what you mean by “I’m guessing the mobile worker that you’re testing with
has been added to the group called ‘all’? I’ve normally seen this error
when the mobile worker doesn’t have any entries in the fixture assigned to
them.”

I have no user groups currently set up as I’m working on a small pilot
program and do not know how to assign entries in the fixture to my user.
Could you please provide some direction in regards to this?

Thanks!

Kevin

··· On Thursday, October 18, 2012 10:47:02 PM UTC-6, Sheel Shah wrote: > > Hi Matt, > > I'm guessing the mobile worker that you're testing with has been added to > the group called "all"? I've normally seen this error when the mobile > worker doesn't have any entries in the fixture assigned to them. > > Thanks! > Sheel > > > > On Thu, Oct 18, 2012 at 6:25 PM, Matt Ball <ma...@aquaya.org wrote: > >> Hi, I'm trying to build conditional select options using the 'fixtures' >> functionality and I'm seeing the following error when I open my survey in >> CC ODK: "Could not find an appropriate fixture for >> src:jr://fixture/item-list:district" >> >> My fixtures: http://i.imgur.com/J9WXU.png >> My test form: https://gist.github.com/3915697 >> >> I was trying to follow the example on the wikibut maybe missed something? Does anyone have a full xform I could look at >> for reference? Thanks. >> >> Matt >> > > > > -- > Sheel Shah > Project Manager | Dimagi India > t: +91 1146704670 | m: +91 9560187282 > > > >

Sheel – one more quick note, now that I see how to use fixtures, I would
love a way to “bulk import” these tables.

Our location hierarchy is Province / District / Posto Administrativo /
Locality / Community . At the more fine-grained levels of that breakdown,
there are dozens or hundreds of options. So for now we’re going to use
free form text inputs to capture communities, localities and maybe postos.
If we could eventually move to selects, that would be great.

Thanks!

Matt

··· On Fri, Oct 19, 2012 at 10:12 AM, Matt Ball wrote:

Hi Sheel,

I tried a new build and a fresh install of CC ODK and it works great! Not
sure what was wrong with my group/user structure… But anyway, thanks for
the help and for the cool feature!

Matt

On Thu, Oct 18, 2012 at 9:46 PM, Sheel Shah sshah@dimagi.com wrote:

Hi Matt,

I’m guessing the mobile worker that you’re testing with has been added to
the group called “all”? I’ve normally seen this error when the mobile
worker doesn’t have any entries in the fixture assigned to them.

Thanks!
Sheel

On Thu, Oct 18, 2012 at 6:25 PM, Matt Ball matt@aquaya.org wrote:

Hi, I’m trying to build conditional select options using the 'fixtures’
functionality and I’m seeing the following error when I open my survey in
CC ODK: “Could not find an appropriate fixture for
src:jr://fixture/item-list:district”

My fixtures: http://i.imgur.com/J9WXU.png
My test form: https://gist.github.com/3915697

I was trying to follow the example on the wikihttps://confluence.dimagi.com/display/commcarepublic/Conditional+Select+Optionsbut maybe missed something? Does anyone have a full xform I could look at
for reference? Thanks.

Matt


Sheel Shah
Project Manager | Dimagi India
t: +91 1146704670 | m: +91 9560187282

Hey,

Just confirming you saw the documentation on the help site about editing
lookup tables (fixtures) in Excel. In the examples it shows how to assign
to users.

https://confluence.dimagi.com/display/commcarepublic/Creating+and+Updating+Lookup+Tables

Cory

··· On Tue, Apr 29, 2014 at 4:18 PM, wrote:

Hi all,

Sorry to bump this thread, but I’m having a similar issue and I am not
sure what you mean by “I’m guessing the mobile worker that you’re testing
with has been added to the group called ‘all’? I’ve normally seen this
error when the mobile worker doesn’t have any entries in the fixture
assigned to them.”

I have no user groups currently set up as I’m working on a small pilot
program and do not know how to assign entries in the fixture to my user.
Could you please provide some direction in regards to this?

Thanks!

Kevin

On Thursday, October 18, 2012 10:47:02 PM UTC-6, Sheel Shah wrote:

Hi Matt,

I’m guessing the mobile worker that you’re testing with has been added to
the group called “all”? I’ve normally seen this error when the mobile
worker doesn’t have any entries in the fixture assigned to them.

Thanks!
Sheel

On Thu, Oct 18, 2012 at 6:25 PM, Matt Ball ma...@aquaya.org wrote:

Hi, I’m trying to build conditional select options using the 'fixtures’
functionality and I’m seeing the following error when I open my survey in
CC ODK: “Could not find an appropriate fixture for
src:jr://fixture/item-list:district”

My fixtures: http://i.imgur.com/J9WXU.png
My test form: https://gist.github.com/3915697

I was trying to follow the example on the wikihttps://confluence.dimagi.com/display/commcarepublic/Conditional+Select+Optionsbut maybe missed something? Does anyone have a full xform I could look at
for reference? Thanks.

Matt


Sheel Shah
Project Manager | Dimagi India
t: +91 1146704670 | m: +91 9560187282


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.

Hi Matt,

There is a way to upload the fixture information by creating a formatted
Excel document. I’ve attached a quick sample that shows how to upload
states, districts and blocks. This is the page that will allow you to
upload the file:
https://www.commcarehq.org/a//fixtures/item-lists/upload/

Having a large fixture may slow things down on your phone. Its best to
assign particular rows to the users/groups that are responsible for them
(for example, by creating groups that represent each geographical area).

Thanks!
Sheel

state district block fixture.xlsx (19.7 KB)

··· On Fri, Oct 19, 2012 at 10:21 AM, Matt Ball wrote:

Sheel – one more quick note, now that I see how to use fixtures, I would
love a way to “bulk import” these tables.

Our location hierarchy is Province / District / Posto Administrativo /
Locality / Community . At the more fine-grained levels of that breakdown,
there are dozens or hundreds of options. So for now we’re going to use
free form text inputs to capture communities, localities and maybe postos.
If we could eventually move to selects, that would be great.

Thanks!

Matt

On Fri, Oct 19, 2012 at 10:12 AM, Matt Ball matt@aquaya.org wrote:

Hi Sheel,

I tried a new build and a fresh install of CC ODK and it works great!
Not sure what was wrong with my group/user structure… But anyway, thanks
for the help and for the cool feature!

Matt

On Thu, Oct 18, 2012 at 9:46 PM, Sheel Shah sshah@dimagi.com wrote:

Hi Matt,

I’m guessing the mobile worker that you’re testing with has been added
to the group called “all”? I’ve normally seen this error when the mobile
worker doesn’t have any entries in the fixture assigned to them.

Thanks!
Sheel

On Thu, Oct 18, 2012 at 6:25 PM, Matt Ball matt@aquaya.org wrote:

Hi, I’m trying to build conditional select options using the ‘fixtures’
functionality and I’m seeing the following error when I open my survey in
CC ODK: “Could not find an appropriate fixture for
src:jr://fixture/item-list:district”

My fixtures: http://i.imgur.com/J9WXU.png
My test form: https://gist.github.com/3915697

I was trying to follow the example on the wikihttps://confluence.dimagi.com/display/commcarepublic/Conditional+Select+Optionsbut maybe missed something? Does anyone have a full xform I could look at
for reference? Thanks.

Matt


Sheel Shah
Project Manager | Dimagi India
t: +91 1146704670 | m: +91 9560187282


Sheel Shah
Project Manager | Dimagi India
t: +91 1146704670 | m: +91 9560187282

Thanks, Cory, I appreciate it! I had forgotten to add the last column on my
tables identifying which groups can access the tables.

Kevin

··· On Tuesday, April 29, 2014 9:39:27 PM UTC-6, Cory Zue wrote: > > Hey, > > Just confirming you saw the documentation on the help site about editing > lookup tables (fixtures) in Excel. In the examples it shows how to assign > to users. > > > https://confluence.dimagi.com/display/commcarepublic/Creating+and+Updating+Lookup+Tables > > Cory > > > On Tue, Apr 29, 2014 at 4:18 PM, <kzei...@tns.org > wrote: > >> Hi all, >> >> Sorry to bump this thread, but I'm having a similar issue and I am not >> sure what you mean by "I'm guessing the mobile worker that you're testing >> with has been added to the group called 'all'? I've normally seen this >> error when the mobile worker doesn't have any entries in the fixture >> assigned to them." >> >> I have no user groups currently set up as I'm working on a small pilot >> program and do not know how to assign entries in the fixture to my user. >> Could you please provide some direction in regards to this? >> >> Thanks! >> >> Kevin >> >> >> On Thursday, October 18, 2012 10:47:02 PM UTC-6, Sheel Shah wrote: >> >>> Hi Matt, >>> >>> I'm guessing the mobile worker that you're testing with has been added >>> to the group called "all"? I've normally seen this error when the mobile >>> worker doesn't have any entries in the fixture assigned to them. >>> >>> Thanks! >>> Sheel >>> >>> >>> >>> On Thu, Oct 18, 2012 at 6:25 PM, Matt Ball wrote: >>> >>>> Hi, I'm trying to build conditional select options using the 'fixtures' >>>> functionality and I'm seeing the following error when I open my survey in >>>> CC ODK: "Could not find an appropriate fixture for >>>> src:jr://fixture/item-list:district" >>>> >>>> My fixtures: http://i.imgur.com/J9WXU.png >>>> My test form: https://gist.github.com/3915697 >>>> >>>> I was trying to follow the example on the wikibut maybe missed something? Does anyone have a full xform I could look at >>>> for reference? Thanks. >>>> >>>> Matt >>>> >>> >>> >>> >>> -- >>> Sheel Shah >>> Project Manager | Dimagi India >>> t: +91 1146704670 | m: +91 9560187282 >>> >>> >>> >>> -- >> 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. >> > >

Hi – just wanted to note to the list that I’ve been successfully testing
fixtures and this upload mechanism. My use case is in the construction of
"location hierarchies" (province/disrict/posto/locality/community) with 102
options at the lowest level. The bulk upload tool worked really nicely and
the demo app is running well on my Samsung Galaxy Y. Thanks, Sheel!

Matt

··· On Monday, October 22, 2012 6:19:29 AM UTC+2, Sheel Shah wrote: > > Hi Matt, > > There is a way to upload the fixture information by creating a formatted > Excel document. I've attached a quick sample that shows how to upload > states, districts and blocks. This is the page that will allow you to > upload the file: > https://www.commcarehq.org/a//fixtures/item-lists/upload/ > > Having a large fixture may slow things down on your phone. Its best to > assign particular rows to the users/groups that are responsible for them > (for example, by creating groups that represent each geographical area). > > Thanks! > Sheel > > On Fri, Oct 19, 2012 at 10:21 AM, Matt Ball <ma...@aquaya.org wrote: > >> Sheel -- one more quick note, now that I see how to use fixtures, I would >> love a way to "bulk import" these tables. >> >> Our location hierarchy is Province / District / Posto Administrativo / >> Locality / Community . At the more fine-grained levels of that breakdown, >> there are dozens or hundreds of options. So for now we're going to use >> free form text inputs to capture communities, localities and maybe postos. >> If we could eventually move to selects, that would be great. >> >> Thanks! >> >> Matt >> >> >> On Fri, Oct 19, 2012 at 10:12 AM, Matt Ball <ma...@aquaya.org wrote: >> >>> Hi Sheel, >>> >>> I tried a new build and a fresh install of CC ODK and it works great! >>> Not sure what was wrong with my group/user structure.. But anyway, thanks >>> for the help and for the cool feature! >>> >>> Matt >>> >>> >>> On Thu, Oct 18, 2012 at 9:46 PM, Sheel Shah <ss...@dimagi.com wrote: >>> >>>> Hi Matt, >>>> >>>> I'm guessing the mobile worker that you're testing with has been added >>>> to the group called "all"? I've normally seen this error when the mobile >>>> worker doesn't have any entries in the fixture assigned to them. >>>> >>>> Thanks! >>>> Sheel >>>> >>>> >>>> >>>> On Thu, Oct 18, 2012 at 6:25 PM, Matt Ball <ma...@aquaya.org wrote: >>>> >>>>> Hi, I'm trying to build conditional select options using the >>>>> 'fixtures' functionality and I'm seeing the following error when I open my >>>>> survey in CC ODK: "Could not find an appropriate fixture for >>>>> src:jr://fixture/item-list:district" >>>>> >>>>> My fixtures: http://i.imgur.com/J9WXU.png >>>>> My test form: https://gist.github.com/3915697 >>>>> >>>>> I was trying to follow the example on the wikibut maybe missed something? Does anyone have a full xform I could look at >>>>> for reference? Thanks. >>>>> >>>>> Matt >>>>> >>>> >>>> >>>> >>>> -- >>>> Sheel Shah >>>> Project Manager | Dimagi India >>>> t: +91 1146704670 | m: +91 9560187282 >>>> >>>> >>>> >>>> >>> >> > > > -- > Sheel Shah > Project Manager | Dimagi India > t: +91 1146704670 | m: +91 9560187282 > > > >