update_card_field: Update card field value

Description Usage Arguments Details See Also

View source: R/custom_fields.R

Description

Set custom field value on a single card.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
update_card_field(card, field, key, value, ...)

update_card_checkbox(card, field, value, ...)

update_card_date(card, field, value, ...)

update_card_dropdown(card, field, value, ...)

update_card_number(card, field, value, ...)

update_card_text(card, field, value, ...)

clear_card_field(card, field, ...)

Arguments

card

Card ID

field

Custom field ID

key

Key for the value, e.g. "number" or "checked"

value

New value

...

Additional arguments passed to update_resource()

Details

update_card_date requires ISO Formatted Datetime String. "YYYY-MM-DD" is fine, but if you want also hour and timezone, use "YYYY-MM-DD hh:mm UTC+X", e.g. "2018-12-24 16:00 UTC+1"

clear_card_field does not remove the field, but replaces its value with the equivalent of "No selection"

See Also

Other functions to handle custom fields: add_field_option(), add_field(), delete_field_option(), delete_field(), update_field()


trelloR documentation built on April 22, 2021, 1:07 a.m.