Hi,
Can we pass application name, module name in commcare-export command while
exporting data from commacre to MySQL database.
I mean, is there any --application, --module like parameters exists in
commcare-export command.
If so, how to pass them?
···
--
Ajay
Hi Ajay,
The commcare-export command doesn't have any command-line params
specifically for filtering by application or module, but you can do many
different types of filtering using the the .json or .xlsx query file. While
I don't think you can specifically filter by module, there are some good
examples for filtering by form
> demo-registrations.xlsx
https://confluence.dimagi.com/download/attachments/12879516/demo-registrations.xlsx?version=1&modificationDate=1364497963464&api=v2
You will need to know the form's xmlns. To filter by a module, you will
need to look up the xmlns of each form in that module.
To filter by a whole app, you may be able to filter by "app_id" under Filter
Name, but I'm less sure of this. Let us know if that works.
I hope that points you in the right direction.
Cheers,
Danny
···
On Tue, Jan 3, 2017 at 2:05 PM, Ajay Singh wrote:
Hi,
Can we pass application name, module name in commcare-export command while
exporting data from commacre to MySQL database.
I mean, is there any --application, --module like parameters exists in
commcare-export command.
If so, how to pass them?
--
Ajay
--
You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.