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