Home

Calling local application from a card?

%3CLINGO-SUB%20id%3D%22lingo-sub-853214%22%20slang%3D%22en-US%22%3ECalling%20local%20application%20from%20a%20card%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-853214%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3BIs%20it%20possible%20(if%20at%20all)%20to%20call%20a%20local%20installed%20application%20(on%20both%20Windows%20and%20Mac)%20from%20some%20client%20side%20script%20embedded%20in%20a%20card%20%3F%20And%2C%20also%20detect%20whether%20an%20application%20is%20installed%20and%20running%20and%2C%20if%20so%2C%20bring%20it%20to%20the%20front%20from%20a%20card%20action%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOr%20is%20it%20that%20client%20script%2C%20when%20embedded%20inside%20a%20bot%20tab%20or%20card%2C%20runs%20inside%20a%20%E2%80%9Csandbox%E2%80%9D%20and%20it%20can%E2%80%99t%20access%20the%20desktop%20(Windows%20Registry%20or%20Mac%20Apps)%20to%20detect%20whether%20an%20application%20is%20installed%20and%2For%20running%3F%20If%20so%2C%20what%20is%20the%20recommendation%20in%20order%20to%20do%20that%3F%20Likely%20if%20the%20locally%20installed%20application%20registers%20as%20a%20protocol%20handler%2C%20then%20it%20might%20be%20possible%20to%20launch%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%20and%20regards%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-853214%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-854418%22%20slang%3D%22en-US%22%3ERe%3A%20Calling%20local%20application%20from%20a%20card%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-854418%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F386475%22%20target%3D%22_blank%22%3E%40NKM122205%3C%2FA%3E%26nbsp%3B-%20Please%20take%20a%20look%20at%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fconcepts%2Fcards%2Fcards-actions%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ESupported%20Actions%3C%2FA%3E%20on%20cards.%20Executing%20anything%20on%20client%20side%20is%20not%20possible%20using%20Bot.%3C%2FP%3E%3C%2FLINGO-BODY%3E
NKM122205
Occasional Contributor

Hi,

   

   Is it possible (if at all) to call a local installed application (on both Windows and Mac) from some client side script embedded in a card ? And, also detect whether an application is installed and running and, if so, bring it to the front from a card action?

 

Or is it that client script, when embedded inside a bot tab or card, runs inside a “sandbox” and it can’t access the desktop (Windows Registry or Mac Apps) to detect whether an application is installed and/or running? If so, what is the recommendation in order to do that? Likely if the locally installed application registers as a protocol handler, then it might be possible to launch it?

 

Thanks in advance and regards

 

 

1 Reply

@NKM122205 - Please take a look at Supported Actions on cards. Executing anything on client side is not possible using Bot.

Related Conversations