How can I add a configuration page for my slack app?

一笑奈何 提交于 2021-02-16 04:43:25

问题


How can I add a configuration page for my slack app?

example: asana has an add configuration button which leads to a page which we can use to then connect the slack user account with asana account


回答1:


Several Slack apps (e.g. Twitter, Google Calendar) provide a configuration page after installation into Slack. However this feature seams to be available only to commercial partners of Slack, but not as a standard feature for every app developers.

Developers need to implement it by themselves with an external app / script that is linked the Slack app and store the configurations in their own database.

See also this answer for a full explanation on how this works.

Looking on the official Slack Plattform Roadmap for Developers this feature might be implemented in the future under "Install apps from within Slack".

Update:

You can now use Dialogs to create something similar to configuration pages. It allows you to open a custom modal window with up to 5 inputs (text or drop-downs). Its still not the same as having a full configuration page like the internal Slack apps have, but its a huge step forward and might be sufficient for many cases.



来源:https://stackoverflow.com/questions/41209730/how-can-i-add-a-configuration-page-for-my-slack-app

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!