Capabilities
Client Library
Color Theme Compliance (Beta)
UI Functions

save-attachment

If your Power-Up connects to a storage platform, you can use this capability to show users that native attachments on Trello cards can be saved to your platform for better collaboration.

The "Save to..." button will appear on the "Edit" popup once the attachment is added to the card.

Example Code

1
2
window.TrelloPowerUp.initialize({
  "save-attachment": function (t, options) {
    return {
      callback: function (t, opts) {
        // code to save the attachment to the platform
        // information about the attachment can be found at options or opts
      },
    };
  },
});

Rate this page: