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