Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iaindooley/afe54f95fb99fc44fac0b2512e711704 to your computer and use it in GitHub Desktop.
Save iaindooley/afe54f95fb99fc44fac0b2512e711704 to your computer and use it in GitHub Desktop.
Post attachments to IDMS
function postAttachmentsToIdms()
{
new Trellinator().board("Your Dealers").lists().each(function(list)
{
list.cards().each(function(card)
{
card.attachments().each(function(att)
{
postDocumentToIdms(card,att);
});
});
});
}
function postDocumentToIdms(card,url)
{
//implementation dependent on the API of the system you're posting to
//get all the relevant deal info from the card etc.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment