Description Usage Arguments Value Examples
Sends a request to the iFormBuilder API to create a new option list. The new option list will be created with the name you supply.
1 | create_new_option_list(server_name, profile_id, option_list_name, access_token)
|
server_name |
String of the iFormBuilder server name |
profile_id |
Integer of the iFormBuilder profile ID |
option_list_name |
A character name for the new option list |
access_token |
Access token produced by |
The id of the new option list
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
# Get access_token
access_token <- get_iform_access_token(
server_name = "your_server_name",
client_key_name = "your_client_key_name",
client_secret_name = "your_client_secret_name")
# Create a new empty option list
new_option_list_id <- create_new_option_list(
server_name = "your_server_name",
profile_id = 123456,
option_list_name = "SGS-Streams",
access_token = access_token)
# Inspect new option list id
option_list_id
# If successful, result should look something like:
# [1] 4423966
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.