dyn_create: Create Records

Description Usage Arguments Value Examples

View source: R/create.R

Description

Adds one or more new records to your organization’s data.

Usage

1
dyn_create(input_data, entity_name, verbose = FALSE)

Arguments

input_data

named vector, matrix, data.frame, or tbl_df; data can be coerced into a data.frame

entity_name

character; the name of one MS Dynamics CRM entity that the function is operating against (e.g. "Account", "Contact", "CustomObject__c")

verbose

logical; do you want informative messages?

Value

tbl_df of records with success indicator

Examples

1
2
3
4
5
6
7
## Not run: 
n <- 2
new_contacts <- tibble(firstname = rep("Test", n),
                       lastname = paste0("Contact", 1:n))
new_contacts_result <- dyn_create(new_contacts, entity_name="contact")

## End(Not run)

StevenMMortimer/rdynamicscrm documentation built on July 9, 2019, 11:37 a.m.