Hi,
My scenario is that I have a Form with multiple fields that updates a gallery and SP list upon submission. I want to be able to post that same entry to Teams if a checkbox is selected with the same submit button, all at once. I have 2 dropdowns sorted already to select where to post the message.
-How do I code the Submit button on my form entry to also include the multiple-text box (or single form entry) to Teams when/if a checkbox is submitted?
Current Submit Button coding: SubmitForm(Form1); NewForm(Form1)
Current Post-to-Teams coding (I have this working on a different button right now for testing...): MicrosoftTeams.PostMessageToChannel(Teams_Dropdown1.SelectedText.id,Teams_Dropdown2.SelectedText.id,{body:{content:DataCardValue4.Text,contentType:0}})
I would appreciate any pointers or help. Thanks much!