Hi @PlakeB ,
Could you please share a bit more about your scenario?
Do you want to add a Dropdown box within your template app to list the available services, and then you want to embed the selected service into your generated meeting?
Based on the needs that you mentioned, I think the ComboBox control could achieve your needs. You could consider add a ComboBox control within your "RoomSelectScreen", then set the Items property of the ComboBox to your service options table. When referencing multiple values from the ComboBox, and concate them into a string value, please use the following formula:
Concat(ComboBox1.SelectedItems, Value & "; ")
Then go to your ConfirmationScreen, modify the formula within the OnVisible property to following:
If(IsBooking,
UpdateContext({ShowLoading: true});
If(OnlineMeeting,
Set(SkypeMeeting, SkypeForBusiness.CreateMeeting("Skype Meeting for " & If(BookForMeeting, MeetingsGallery.Selected.Subject, User().FullName), {ExpirationDateTime: Text(DateAdd(StartDateTime, 1, Days), UTC)}));
If(BookForMeeting,
ClearCollect(RequiredAttendeesNoRoom, Split(MeetingsGallery.Selected.RequiredAttendees, ";"));
ForAll(AllRooms, RemoveIf(RequiredAttendeesNoRoom, Address = Result));
ClearCollect(RequiredAttendeesNoRoom, Concat(RequiredAttendeesNoRoom, Result & ";"));
ClearCollect(RequiredAttendeesNoRoom, Split(First(RequiredAttendeesNoRoom).Value, ";;"));
Set(RequiredAttendeesFinal, First(RequiredAttendeesNoRoom).Result);
Set(RequiredAttendeesTrue, RequiredAttendeesFinal);
Office365.V2CalendarPatchItem(MyCalendar, MeetingsGallery.Selected.Id, If(MeetingsGallery.Selected.Subject = User().FullName & "'s Booking", User().FullName & "'s Skype Meeting",
MeetingsGallery.Selected.Subject), StartDateTimeUTC, EndDateTimeUTC, {RequiredAttendees: RequiredAttendeesTrue, OptionalAttendees: MeetingsGallery.Selected.OptionalAttendees,
Body: "Services: " & Concat(ComboBox1.SelectedItems, Value & "; ") & "<br><a href="&SkypeMeeting.JoinUrl&">Join Skype Meeting</a>", IsHtml:true, Location: "Online Meeting", Importance: "Normal", ShowAs: "Busy"}), // Modify formula here -> Concat(ComboBox1.SelectedItems, Value & "; ")
Office365.V2CalendarPostItem(MyCalendar, User().FullName & "'s Skype Meeting", StartDateTimeUTC, EndDateTimeUTC, {Body: "Services: " & Concat(ComboBox1.SelectedItems, Value & "; ") & "<br><a href="&SkypeMeeting.JoinUrl&">Join Skype Meeting</a>",
IsHtml:true, Location: "Online Meeting", Importance: "Normal", ShowAs: "Busy"})), // Modify formula here -> Concat(ComboBox1.SelectedItems, Value & "; ")
If(!BookForMeeting,
Office365.V2CalendarPostItem(MyCalendar, User().FullName & "'s Booking -- Services: " & Concat(ComboBox1.SelectedItems, Value & "; "), StartDateTimeUTC, EndDateTimeUTC,
{RequiredAttendees:RoomsGallery.Selected.Email, Location: RoomsGallery.Selected.Name, Importance: "Normal", ShowAs: "Busy"}), // Modify formula here
ClearCollect(RequiredAttendeesNoRoom, Split(MeetingsGallery.Selected.RequiredAttendees, ";"));
ForAll(AllRooms, RemoveIf(RequiredAttendeesNoRoom, Address = Result));
ClearCollect(RequiredAttendeesNoRoom, Concat(RequiredAttendeesNoRoom, Result & ";"));
ClearCollect(RequiredAttendeesNoRoom, Split(First(RequiredAttendeesNoRoom).Value, ";;"));
Set(RequiredAttendeesFinal, First(RequiredAttendeesNoRoom).Result);
Set(RequiredAttendeesTrue, RoomsGallery.Selected.Email & ";" & RequiredAttendeesFinal);
Office365.V2CalendarPatchItem(MyCalendar, MeetingsGallery.Selected.Id, If(MeetingsGallery.Selected.Subject = User().FullName & "'s Skype Meeting", User().FullName & "'s Booking", MeetingsGallery.Selected.Subject), StartDateTimeUTC, EndDateTimeUTC, {RequiredAttendees: RequiredAttendeesTrue, OptionalAttendees: MeetingsGallery.Selected.OptionalAttendees, Body: "Room has been updated to " & RoomsGallery.Selected.Name & "Services: " & Concat(ComboBox1.SelectedItems, Value & "; "), Location: RoomsGallery.Selected.Name, Importance: "Normal", ShowAs: "Busy"}) // Modify formula here
)
);
UpdateContext({ShowLoading: false})
);
Set(IsBooking, false)
Please consider take a try with the following solution, check if the issue is solved.
Best regards,