publish_odkc_draft_form | R Documentation |
Publish a draft form See reference ODK API documentation in https://odkcentral.docs.apiary.io/#reference/forms/draft-form/publishing-a-draft-form for more details.
publish_odkc_draft_form(un, pw, form_url, new_id)
un |
string containing the ODK Central username. |
pw |
string containing the password for user 'un'. |
form_url |
string containing the URL of the ODK Central form to be published, e.g. "https://sandbox.central.getodk.org/v1/projects/project-id/forms/form-id". |
new_id |
string containing the version of the form to be published. If 'new_id' conflicts with an older version of the form, you will get an error. |
This function returns the content of the request to the ODK Central API.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.