SOLVED
Home

"Save" button is grayed out when adding a new tab

%3CLINGO-SUB%20id%3D%22lingo-sub-656155%22%20slang%3D%22en-US%22%3E%22Save%22%20button%20is%20grayed%20out%20when%20adding%20a%20new%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-656155%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there!%20I'm%20currently%20working%20on%20a%20Teams%20app%2C%20and%20we'd%20like%20to%20add%20a%20tab%20to%20a%20channel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe've%20successfully%20sideloaded%20the%20app%20(by%20uploading%20manifest.json)%20and%20installed%20the%20app%20as%20a%20bot%20to%20some%20channels%2C%20but%20when%20we%20try%20to%20add%20a%20tab%20to%20the%20channel%2C%20the%20%22Save%22%20button%20is%20grayed%20out%20and%20we%20can't%20add%20the%20tab.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F116502i6D2B4B82FDAE8773%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Screen%20Shot%202019-05-29%20at%2012.02.01%20PM.png%22%20title%3D%22Screen%20Shot%202019-05-29%20at%2012.02.01%20PM.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20thoughts%3F%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-656155%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBots%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUser%20Interface%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-656932%22%20slang%3D%22en-US%22%3ERe%3A%20%22Save%22%20button%20is%20grayed%20out%20when%20adding%20a%20new%20tab%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-656932%22%20slang%3D%22en-US%22%3E%3CP%3Efigured%20it%20out%20-%20there's%20a%20%60microsoftTeams.settings.setValidityState%60%20method%20on%20the%20configure%20page%20that%20wasn't%20being%20called%20in%20my%20code.%20Hopefully%20that%20helps%20someone%20else!%3C%2FP%3E%3C%2FLINGO-BODY%3E
kenhoff1234
New Contributor

Hi there! I'm currently working on a Teams app, and we'd like to add a tab to a channel.

 

We've successfully sideloaded the app (by uploading manifest.json) and installed the app as a bot to some channels, but when we try to add a tab to the channel, the "Save" button is grayed out and we can't add the tab. 

 

Screen Shot 2019-05-29 at 12.02.01 PM.png

 

Any thoughts? Thanks!

1 Reply
Solution

figured it out - there's a `microsoftTeams.settings.setValidityState` method on the configure page that wasn't being called in my code. Hopefully that helps someone else!

Related Conversations