web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Incompatible Type with...
Power Apps
Answered

Incompatible Type with Gallery Selected.Name

(0) ShareShare
ReportReport
Posted on by 4

I'm trying to add a location to the MicrosoftTeams.CreateTeamsMeeting function however, it is telling me that the name from the gallery selection is invalid? How do i convert this text data to a record type? 

aidanmatthews_0-1653680479544.png

 

Categories:
I have the same question (0)
  • Verified answer
    Gerard Simpson Profile Picture
    2,987 Moderator on at

    Hi

     

    Try deleting:

     

    .Name

  • Verified answer
    Mike2500 Profile Picture
    1,247 Super User 2024 Season 1 on at

    Location should be configured as follows:

     

    location:{displayName:"location name"}
  • aidanmatthews Profile Picture
    4 on at

    Thanks so much! I used

    location: {displayName: RoomGallery.Selected.Name}

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard