I am trying to create a list of emails from my gallery called - mass_contacts_gallery
I tried to create a collection called bulk_emails_send_list by using this formula
ClearCollect(bulk_emails_send_list,Filter(mass_contacts_gallery.AllItems,[@checkbox_email].Value=true));
my issue is that there are currently 2050 rows of contacts data , and I am not getting all the rows of data added to the collection. sometimes I only get 155 rows , when it should be 548 rows
The mass_contacts_gallery is also linked to 4 text filters , which work okay
SortByColumns(Filter(bulk_mail_contacts,StartsWith(Region,search_region_email.Text)
,(StartsWith(Country,search_country_email.Text))
,(StartsWith(field_5,search_sm_rep_email.Text))
,(StartsWith(Dataset,search_dataset_email.Text))
,(StartsWith('Dataset Subtype',search_dataset_subtype_email.Text)))
,"field_1",Ascending)
------------------------------------------------------------------------------------------------------
I access the email screen via a button on my home page and I added this code to that button
Navigate(mass_email,ScreenTransition.Fade);
Reset(email_subject);
Reset(email_message);
Reset(search_region_email);
Reset(search_country_email);
Reset(search_sm_rep_email);
Reset(search_dataset_email);
ClearCollect(
bulk_mail_full,
Filter(profiles_full //profiles_full is a collection
,
Status="Active")
)
;
ClearCollect(
contacts_mail_full,
Filter('All Contacts' //this is the sharepoint list containing the contacts , I appear to get a delegation warning //
,
!IsBlank(field_12))
)
;
ClearCollect(
bulk_mail_contacts,
AddColumns(
contacts_mail_full,
"SR Rep",
LookUp(Master_List, ID = contacts_mail_full[@field_12], SRRep), // i am adding a column of data from another table
"Region",
LookUp(Master_List, ID = contacts_mail_full[@field_12], field_4), // i am adding a column of data from another table
"Country",
LookUp(Master_List, ID = contacts_mail_full[@field_12], field_5), // i am adding a column of data from another table
"Dataset",
LookUp(profiles_full, field_16 = contacts_mail_full[@field_12] && field_15 = contacts_mail_full[@field_13], field_6),
"Dataset Subtype",
LookUp(profiles_full, field_16 = contacts_mail_full[@field_12] && field_15 = contacts_mail_full[@field_13], field_15)
))