Description Usage Arguments Value Author(s) Examples
Retrieves a list of all the elements contained in a page (form or subform)
1 2 3 4 5 6 7 | retrieve_element_list(
server_name,
profile_id,
access_token,
page_id,
fields = "all"
)
|
server_name |
String of the iFormBuilder server name. |
profile_id |
Integer of the iFormBuilder profile ID. |
access_token |
Access token produced by |
page_id |
Page ID where the new element will be created. |
fields |
*Optional* - Defaults to 'all', which returns all fields for each element. Optionally, a character vector of fields to return can be provided. |
Dataframe containing a row for each element and a column for each element field.
Bill DeVoe, William.DeVoe@maine.gov
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## 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")
# Get list of elements in form
elements <- retrieve_element_list(
server_name = "your_server_name",
profile_id = "your_profile_id",
access_token = access_token,
page_id = "existing_page_id",
fields = 'all')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.