Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce supporting properties when adding new Dashboard Card #21

Open
bdeanindy opened this issue Jan 20, 2018 · 0 comments
Open

Enforce supporting properties when adding new Dashboard Card #21

bdeanindy opened this issue Jan 20, 2018 · 0 comments
Assignees

Comments

@bdeanindy
Copy link
Contributor

All dashboard cards require an update when loaded by Weebly Site Admins when they visit the respective site's dashboard in Weebly. This update must be done via the API. For developer's apps to be notified when the Site Admin loads that page and the dashboard card needs updating, the developer must subscribe to dashboard.card.update webhook events.

So, the following dependencies are mandatory when a new dashboard card is added to an app:

  • Webhook defined in manifest.json
  • Webhook scope property includes dashboard.card.update (update existing webhook if exists)
  • App scopes property is implicitly set by Weebly, so nothing here
  • App requires OAuth (if not previously set), app must include client_id, callback_url, and final_oauth_destination properties (the latter should be set to dashboard_card).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant