Limits on length of an item in a Lookup Table?

Hi all --

I am using a lookup table in order to store some small, single data items
that my commcare app will make use of, ... for situations when I want to
make a change to app behavior without needing the users to all update their
apps.

My lookup table is called app config, and as an example, I can have one
item in there called "activate-feature-1" and I can program my app to look
the value for that item, and if it is "1" then it should display certain
features or questions. That gives me a way to control app behavior.

I have decided I would like to also place a single item in the lookup table
that will simply place a little "news phrase" in the first page of each
form. For example this news phrase could say "Please remember, the team
meeting is on August 5 at 10am." This phrase will display on the user's
screens ... assuming that they have done a Sync recently. :slight_smile:

So my question is, can you tell me the limit on the string length of a data
item in the lookup tables? This will tell me how short I have to keep my
little "news item" text string.

Thanks!
Eric

Hey Eric,

Cool idea!

I don't think there is currently an explicit limit to how long the data in
a lookup table can be (though it's probably something we should add). From
a practical perspective, I believe that anything that you could fit on a
phone screen (or even a few screens) should be totally fine.

Cory

ยทยทยท On Mon, Jul 18, 2016 at 8:38 AM, Eric Stephan wrote:

Hi all --

I am using a lookup table in order to store some small, single data items
that my commcare app will make use of, ... for situations when I want to
make a change to app behavior without needing the users to all update their
apps.

My lookup table is called app config, and as an example, I can have one
item in there called "activate-feature-1" and I can program my app to look
the value for that item, and if it is "1" then it should display certain
features or questions. That gives me a way to control app behavior.

I have decided I would like to also place a single item in the lookup
table that will simply place a little "news phrase" in the first page of
each form. For example this news phrase could say "Please remember, the
team meeting is on August 5 at 10am." This phrase will display on the
user's screens ... assuming that they have done a Sync recently. :slight_smile:

So my question is, can you tell me the limit on the string length of a
data item in the lookup tables? This will tell me how short I have to
keep my little "news item" text string.

Thanks!
Eric

--
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.