Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Update custom fields
function updateCustomFields()
{
var data = SpreadsheetApp.openByUrl("YOURDOCURLHERE").getSheets()[0].getDataRange().getValues();
for(var i = 0;i < data.length;i++)
{
new Card({link: data[i][0]}).setCustomFieldValue("Unique ID",data[i][1]);
Utilities.sleep(2000);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment