Deleting ODK Form From Aggregate

I'm trying to delete a form from Aggregate. Is there an API that I can use
for this? If there is no API I can use for this which tables/rows should I
delete from the Aggregate (we use MySQL)? I noticed that, apart from the
tables storing the actual ODK responses, there were some other tables
storing form meta-data eg _form_data_model and _form_info

Thanks in advance,
Jason

There is no programmatic interface exposed to delete data.

If you are modifying the code, see

org.opendatakit.aggregate.server.FormAdminServiceImpl

@Override
public void deleteForm(String formId) throws AccessDeniedException,
FormNotAvailableException, DatastoreFailureException,
RequestFailureException

This is the GWT entrypoint for deleting the form.

Note that form deletion is a scheduled, background, activity. It does not
happen instantaneously.

Mitch

ยทยทยท On Sun, Jun 29, 2014 at 11:36 PM, Jason Rogena wrote:

I'm trying to delete a form from Aggregate. Is there an API that I can use
for this? If there is no API I can use for this which tables/rows should I
delete from the Aggregate (we use MySQL)? I noticed that, apart from the
tables storing the actual ODK responses, there were some other tables
storing form meta-data eg _form_data_model and _form_info

Thanks in advance,
Jason

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com