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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to detele data fro...
Power Apps
Answered

How to detele data from gallery

(0) ShareShare
ReportReport
Posted on by

Hello Everyone,

I am building a canvas app where in I am creating a teams meeting using outlook data.
and also I want to display the meeting related data (today's meeting,Past meeting, separately)
I took a dropdown & I have linked it to the office365outlook

PD1231_0-1665738132238.png

below is the dropdown

PD1231_1-1665738180631.png
below is the gallery

PD1231_2-1665738237902.png


1) I want to delete the meeting from the gallery. The trash is an icon and if we click on that the particular trash that Item should get deleted  if anyone know please suggest the query How can I do that???


2) In the Gallery I have too ka list to show the meeting attendees.I have used the below code, thats why I am able to see them in list but I do not want them in this type of list

PD1231_4-1665739013527.png

 

PD1231_3-1665738476066.png

because  as you can see there is scroller within scroller which is not required. Instead I want somethings like below example example:-

Company All Hands
7/11/2022 5:30 PM
Mark & Project Team,Lidia hollyway & 5 other


Like above for all the meetings items.

3) When we connect to Office365Outlook in canvas app where is the actual data resides?? how to see the database, table??

I am new in the Power Platform so it will be very helpfull if anyone can help me out...

Thank you so much in advance.

Categories:
I have the same question (0)
  • Verified answer
    WiZey Profile Picture
    3,023 Moderator on at

    Hello @Anonymous ,

     

    1. If you're using "Office365Outlook.CalendarGetTables()", then I believe you should use "Office365Outlook.CalendarDeleteItemV2()" to delete an item.

     

    Don't forget to refresh your gallery if needed.

     

    2. This is a little bit complicated, but let's try.

     

    You want to showcase the first two name, and the rest must be hidden behind a counter.

     

    I believe the code below should help you:

     

    If(CountRows(items) <= 2;
    //If less than or equal 2 items, normal display
    Concat(items;"GroupID";" & ");
    //If more than 2 items, display with counter
    $"{Index(items;1).ID} & {Index(items;2).ID} & {CountRows(items) - 2} others")

     

    First, you check if you have two or more attendees.

    If you have two or less, then "Concat()" easily returns your result.

    If you have more than one, then with an interpolation you construct the string the way you need.

     

    3. Office365Outlook get his data from Azure Directory. You don't need to manage a table, as long as your O364 admins don't mess up with people's name and email.

     

    Hope this was helpful to you.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard