User registration in Commcare ODK?

Are there any plans to support admin login from Commcare ODK? If not,
is there a way to support user registration from within Commcare ODK?
Thanks.

Also, as an addendum, is it possible to register the user's phone
number in admin user registration process? What I'm looking to do is
register a user through a mobile form that is then forwarded to my
URL. It would be nice to be able to inspect the form data in order to
register the user in our form tracking schedule (with a phone number
associated with their user_id). Is there any current way to have this
information forwarded to a remote URL through Commcare's form data
forwarding? It seems that I either need to have a custom XML
registration payload to commcare, or edit it through the web UI, which
won't forward it to the remote URL. Thanks for any guidance.

··· On Apr 17, 9:06 am, Russell Gillen wrote: > Are there any plans to support admin login from Commcare ODK? If not, > is there a way to support user registration from within Commcare ODK? > Thanks.

Russell,

There currently is not a plan to support admin login on CommCare ODK, since
CommCare ODK relies on the user's credentials to manage the encryption keys
for its internal storage.

Are you looking for a completely offline solution? You could login as a
sort of master user, then fill out a form and submit a user registration
payload (which you'd have to write by hand and insert into the XForm
definition) from the phone, submit it to the server, and then login as the
new user. We may implement a completely offline way to do this in the
future, but for now it's not a supported use case.

-Clayton

··· On Tue, Apr 17, 2012 at 9:06 AM, Russell Gillen wrote:

Are there any plans to support admin login from Commcare ODK? If not,
is there a way to support user registration from within Commcare ODK?
Thanks.

Also, as an addendum, is it possible to register the user's phone
number in admin user registration process? What I'm looking to do is
register a user through a mobile form that is then forwarded to my
URL. It would be nice to be able to inspect the form data in order to
register the user in our form tracking schedule (with a phone number
associated with their user_id). Is there any current way to have this
information forwarded to a remote URL through Commcare's form data
forwarding? It seems that I either need to have a custom XML
registration payload to commcare, or edit it through the web UI, which
won't forward it to the remote URL. Thanks for any guidance.

The custom user registration should work. An alternative would be for you
to poll the user list API[1] which is very close to final and will be
rolled out very soon. This might be a better long term plan for keeping
your user list in sync with HQ.

Cory

[1] https://wiki.commcarehq.org/display/commcarepublic/List+Users

··· On Tue, Apr 17, 2012 at 9:54 AM, Russell Gillen wrote:

On Apr 17, 9:06 am, Russell Gillen rhgil...@gmail.com wrote:

Are there any plans to support admin login from Commcare ODK? If not,
is there a way to support user registration from within Commcare ODK?
Thanks.

Russell,

It is currently possible to associate information (like phone numbers) with
user registration forms, and with the created user model, if you're using
CommCare J2ME. Unfortunately (as you know) we only support the web
registration for CommCare ODK users currently. There is a form list API in
CommCare HQ you can use to query for that user information from your remote
system (and you can use the UI on HQ to associate info with the user),
which the hq team can elaborate on.

-Clayton

··· On Tue, Apr 17, 2012 at 9:54 AM, Russell Gillen wrote:

Also, as an addendum, is it possible to register the user's phone
number in admin user registration process? What I'm looking to do is
register a user through a mobile form that is then forwarded to my
URL. It would be nice to be able to inspect the form data in order to
register the user in our form tracking schedule (with a phone number
associated with their user_id). Is there any current way to have this
information forwarded to a remote URL through Commcare's form data
forwarding? It seems that I either need to have a custom XML
registration payload to commcare, or edit it through the web UI, which
won't forward it to the remote URL. Thanks for any guidance.

On Apr 17, 9:06 am, Russell Gillen rhgil...@gmail.com wrote:

Are there any plans to support admin login from Commcare ODK? If not,
is there a way to support user registration from within Commcare ODK?
Thanks.

Thanks for the answers. I have one other question. I notice that when
I set the phone number by the Web UI, I can get a default phone number
from the user API. What is the proper way to set this through a custom
registration form? Since the value returned through the JSON is
default_phone_number, I tried setting that value through a custom
registration form. But the default phone number is not set, I just
have a custom data field called that now. Is it possible to set this
for a user through a custom form? Thanks.

··· On Apr 17, 2:16 pm, Clayton Sims wrote: > Russell, > > It is currently possible to associate information (like phone numbers) with > user registration forms, and with the created user model, if you're using > CommCare J2ME. Unfortunately (as you know) we only support the web > registration for CommCare ODK users currently. There is a form list API in > CommCare HQ you can use to query for that user information from your remote > system (and you can use the UI on HQ to associate info with the user), > which the hq team can elaborate on. > > -Clayton > > > > > > > > On Tue, Apr 17, 2012 at 9:54 AM, Russell Gillen wrote: > > Also, as an addendum, is it possible to register the user's phone > > number in admin user registration process? What I'm looking to do is > > register a user through a mobile form that is then forwarded to my > > URL. It would be nice to be able to inspect the form data in order to > > register the user in our form tracking schedule (with a phone number > > associated with their user_id). Is there any current way to have this > > information forwarded to a remote URL through Commcare's form data > > forwarding? It seems that I either need to have a custom XML > > registration payload to commcare, or edit it through the web UI, which > > won't forward it to the remote URL. Thanks for any guidance. > > > On Apr 17, 9:06 am, Russell Gillen wrote: > > > Are there any plans to support admin login from Commcare ODK? If not, > > > is there a way to support user registration from within Commcare ODK? > > > Thanks.

Hi Russell,

Thanks for the answers. I have one other question. I notice that when
I set the phone number by the Web UI, I can get a default phone number
from the user API. What is the proper way to set this through a custom
registration form? Since the value returned through the JSON is
default_phone_number, I tried setting that value through a custom
registration form. But the default phone number is not set, I just
have a custom data field called that now. Is it possible to set this
for a user through a custom form? Thanks.

Crazily enough this isn't possible to do yet (you're the first person who's
asked). We will get on correcting that and building in better support for
the phone numbers on the mobile side as soon as we can.

thanks,
Cory

··· On Mon, Apr 23, 2012 at 12:22 PM, Russell Gillen wrote:

On Apr 17, 2:16 pm, Clayton Sims cs...@dimagi.com wrote:

Russell,

It is currently possible to associate information (like phone numbers)
with
user registration forms, and with the created user model, if you're using
CommCare J2ME. Unfortunately (as you know) we only support the web
registration for CommCare ODK users currently. There is a form list API
in
CommCare HQ you can use to query for that user information from your
remote
system (and you can use the UI on HQ to associate info with the user),
which the hq team can elaborate on.

-Clayton

On Tue, Apr 17, 2012 at 9:54 AM, Russell Gillen rhgil...@gmail.com wrote:

Also, as an addendum, is it possible to register the user's phone
number in admin user registration process? What I'm looking to do is
register a user through a mobile form that is then forwarded to my
URL. It would be nice to be able to inspect the form data in order to
register the user in our form tracking schedule (with a phone number
associated with their user_id). Is there any current way to have this
information forwarded to a remote URL through Commcare's form data
forwarding? It seems that I either need to have a custom XML
registration payload to commcare, or edit it through the web UI, which
won't forward it to the remote URL. Thanks for any guidance.

On Apr 17, 9:06 am, Russell Gillen rhgil...@gmail.com wrote:

Are there any plans to support admin login from Commcare ODK? If not,
is there a way to support user registration from within Commcare ODK?
Thanks.