addAskCardToDashboard
The "Add to dashboard" button under a Paminga IQ answer's chart or table: adds that
card to the dashboard, on a row of its own at the bottom. The card is read from the
stored answer (chatMessageId, the person's own), never from the client. It follows
the dashboard's own date range, not the chart's dates.
A deliberate exception to "every dashboard edit is a draft until Save": the card goes onto the LIVE (published) dashboard at once, and onto its draft too when someone is editing, so their next Save keeps it. Only a person who may Save that dashboard may do it. A table made before its request was stored (ChatTable.request null) is refused.
addAskCardToDashboard(
dashboardId: ID!
chatMessageId: ID!
which: AskCardSource!
): AskCardAddedToDashboard!
Arguments
addAskCardToDashboard.dashboardId ● ID! non-null scalar
addAskCardToDashboard.chatMessageId ● ID! non-null scalar
addAskCardToDashboard.which ● AskCardSource! non-null enum
Type
AskCardAddedToDashboard object
What addAskCardToDashboard did.


