I have some managed metadata fields in a SharePoint document library or list. The first level is the department. The second level is the team.
My powerapp has a form with two combo boxes (need to be multi select) - one for dropdown one for team.
When the user selects a team, I want the default selected item in the department combo box to correspond to the appropriate team.
When the user clicks a submit button the information is uploaded to Sharepoint.
What code do I need in powerapps?
Is there a difference between how I would do this for a SharePoint list or document library?