Slack API: Attach File Block in Modal - slack-api

I am trying to develop a Slack app to open Tickets on a Kanban Board on Notion from Slack directly.
All good, except in the case the user wants to open a ticket with a file attached.
I haven't seen any action available for attaching files to include in my Modal.
Is there any workaround?

Related

Compose Microsoft Teams message from configurable tab

I have created a Microsoft Teams configurable tab with Angular and the Microsoft Teams Javascript library. From this tab I would like to be able to click a button which will "pre-compose" a message in the chat of the channel/chat of where the configurable tab is installed. So when the button is clicked, Teams should navigate to the "Posts" tab of the channel/chat and fill in the text/url/string in the chat and let the user decide to press enter to send it.
I've read the documentation but I cannot conclude that this is possible. I've looked at creating a task module but this only seems to be able to open dialogs to get the user to fill in data and call a service. The bot documentation also seems to mention filling the compose box of the chat but the documentation is not very clear in specifying how the bot should be called from e.g. tabs.
was able to deep link to group chat Tab by setting contextType property. Could you Please try deeplinking to group chat with the below syntax:
https://teams.microsoft.com/l/entity//?context={"chatId": "","contextType":"chat"}

createChannel in GraphAPI sometimes results in not creating the corresponding Sharepoint/OneDrive folder

Currently the creation of a channel through the Graph API frequently results in the relative, corresponding Sharepoint folder not being created.
When using the Graph API to create a channel the response indicates creating the channel was a success, but when going to the files tab it shows:
"Your files can’t be found, working on it to restore them."
After having clicked on the files tab in the Teams UI, the folder is created eventually (after a couple of minutes).
But because automated processes depend on the channel folder, we don’t want to ask the user to manually open the team before the other processes can continue.
So: Team created: Ok -> Channel created: Ok-ish (But missing the linked folder) -> One-drive/share point folder, with the name of the channel: Not created
Sometimes the folder is created properly, but lately more often it is not created (Not even after 3-4 days of waiting) until the user opens the files tab in the Teams client.
This behaviour is new since it worked flawlessly until a week ago. Is there a known workaround for this?
We're following the default documentation for creating a channel via Graph API as described in the Microsoft Graph Reference
Best regards,
Dominic
This is by design or rather limitation of SPO provisioning is async as in create team succeeds without waiting for SPO site provisioning completes. In those scenarios when channel get provisioned before SPO that get created without files folder. The recovery mechanism is accessing files tab in the channel.
Currently there isn't any solution to check if provisioning is completed. However, there is a feature ask to provide an API to provision similar to what happens on the client (clicking on Files tab). We do not have any ETA on this.

How to make my iOS APP share files directily to another APP like Workflow "Open in" action

Here is the Workflow Action. It seems that Workflow can send a file to another APP directily. Any ideas?
The normal way to send a file to another APP is using Share Extension, but Workflow APP could send it directily without showing the Action Sheet and selecting an APP.
If you set an action like this and run your workflow, it just open the selected APP and that APP got the file.
So I just want to know is there any way to make it happen? Or it just a secret API of iOS and Workflow just use it because of the purchase?
Your exact question needs to be stated more clearly (e.g. exactly WHAT you are trying to accomplish instead of just "integrate"). To get you started, some quick info:
At my last check, Workflow integrates with apps in a few main ways:
1) Via the iOS sharing/share-sheet interface.
2) Built-in support for the app within Workflow itself.
3) (of course, Workflow can also leverage Callback URI's of other apps to integrate with them like any other app can.)
If you want to have direct, built-in support from Workflow, the Workflow team itself must add the support into the Workflow app. This is easier for them (and others) if your app exposes a proper API with functions that allow direct integration.
Going into this further is too broad of a topic for a quick answer. I hope this helps some.

Need to open web page within telegram bot chat -- big picture

Building my first telegram bot and it's going to be quite complex.
Part of workflow needs to open a webview within telegram that will require user interaction, return to bot chat altering chat with data received from user.
Reading through the entire api, SO, github, I'm having trouble finding anything about the viewing webpages, much less if we can interact. Before I get deep into this project it would be awesome to have some starting direction.
Can you create web views (like you see for "instant view" articles, google maps, etc), and if so can you get data from user to use back at the chat bot?
Another option is possibly using a "game". In our case, it won't be a conventional game, but maybe we could use the html5 game to render what we need, and interact with the user. I know it can pull scores, names, etc to update message, maybe we could somehow make this work?
I'm currently working through the api. This is one of my first apps, and my first telegram bot. I really appreciate any assistance on how to get started here.
This is in Rails, using https://github.com/telegram-bot-rb/telegram_bot_app as a starter. Mostly needing to know if this concept it possible, but anything more specific would be great, too. Thanks!
You can't create web view with the bot API and you don't need to do that. You can simply link to a web page using simple links or inline buttons and the page will open in Telegram's inline browser (Depending on user's settings).
If you include the user ID in the URL you will know who is using the webpage. e.g example.com?uid=1234
Now that you know who is using the webpage, you can use the ID to send messages or anything else in Telegram chat while user is on the webpage.
At the end you can redirect the user back to your bot URL (telegram.me/botusername).
Update
You can now use Seamless Telegram Login to link to a web page and log in the user. This feature can also be used in groups
Try the new Telegram Web App API
It can open a web page on the bottom sheet, which you can expand almost to the full screen.
You can configure the web app open button by following these steps:
Open BotFather
Type /mybots, select your bot
Click Bot Settings > Menu Button
Set up a menu button that opens a certain URL

Allow application user to submit bugs to TFS 2008

I'm currently trying to find out if there is a way to allow our nightly build application users to submit bug items to TFS. Everything is developed and used within our private network so there aren't any security issues of that nature that I am aware of. I don't necessarily need them to be able to assign the bug specifics, but give a title and a description. It could be equally valuable if users can submit to an issue tracking page on the TFS Project Site.
Application Language: C#
Possible Workflow:
User encounters an issue while using the application
User click feedback button that is only shown in the nightly build
User fills form detailing issue
User clicks submit
Information including user's name is sent to the TFS server and a new bug item is created
Developers receive a notification (using tfs reporting) and assigns bug appropriately
Developer contacts user to elaborate on the issue
Developer fixes bug
You can use the existing work items, along with the work item web access feature (WIWA) to allow them to enter the bugs. I believe there isn't a license requirement for them to enter and view their own work items.
WIWA is (default) located at: http://tfs:8090/wiwa

Resources