
Announcements
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
below is the dropdown
below is the gallery
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
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.
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.