To be used by projects with record auto-numbering enabled, this method exports the next potential record ID for a project.
1 2 3 4 5 6 7 8 9 10 11
A REDCap connection object as generated by
Arguments to be passed to other methods.
An option for how to handle errors returned by the API.
It generates the next record name by determining the current maximum numerical record ID and then incrementing it by one.
Returns the maximum integer record ID + 1.
NOTE: This method does not create a new record, but merely determines what the next record name would be.
Please refer to your institution's API documentation.
Additional details on API parameters are found on the package wiki at https://github.com/nutterb/redcapAPI/wiki/REDCap-API-Parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.