Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New example script for client.forms.update #37

Closed
lindsay-stevens opened this issue Mar 18, 2023 · 0 comments · Fixed by #83
Closed

New example script for client.forms.update #37

lindsay-stevens opened this issue Mar 18, 2023 · 0 comments · Fixed by #83
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Milestone

Comments

@lindsay-stevens
Copy link
Contributor

A recent ODK forum post (links to this blog, and this gist) shows how to use a Google app script create an interactive button that exports the current spreadsheet XLSForm to XLSX and publishes it in Central.

It would be out of scope to incorporate a library or code to work with Google Sheets directly pyODK. However the above would be a good motivating example that pyODK can help with.

While there's no public "create new form" endpoint, the recently added client.forms.update could be used to push incremental updates to Central. For the initial form creation, the client.post method could be used.

@lindsay-stevens lindsay-stevens added documentation Improvements or additions to documentation good first issue Good for newcomers labels Mar 18, 2023
@lognaturel lognaturel added this to the Next milestone Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants