pnp / sp-dev-fx-aces

Repository for the Microsoft Viva Connections Adaptive Card sample solutions from Microsoft and community.
https://aka.ms/viva/connections/extensibility
MIT License
109 stars 92 forks source link

input File #113

Closed matthieu6010 closed 1 year ago

matthieu6010 commented 1 year ago

Hi,

Is there a way to sendfile with an input type File ?

Thank you for your answer. Sincerely,

Matthieu

dcashpeterson commented 1 year ago

@matthieu6010 there isn't a file upload element in the adaptive card framework so you can't add an input form field. Depending on what type of tile you are looking to add you can use the new VivaAction.SelectMedia. This allows you to use the native file picker to upload a file and then in your onAction method you can handle that file and push it where you like. I hope that helps