Hello all,
I'm banging my head here.. I have five SharePoint lists that contain my data, and I'm creating a collection of each of those lists with their data and am merging those five lists into one master list.
That master list is being used to populate a table. I have a button that sets certain column variables for a selected record, and then simply navigates to a review page where I am then able to submit my patches to SharePoint for updates.
The problem I'm having is that certain records aren't populating the variables, or possibly the variable isn't able to be set with certain records. About half my records are having this issue at the moment.
I've looked at the collections and see no noticeable difference in any of the data points or collections. I'm at a loss as to why table values can be set to variables for some but not all. This is a newer issue that's developed and I'm wanting a list of things to look into since my code treats each record exactly the same.
Here is that code:
Set(varSelectedSourceList, tablePlantingHub.Selected.SourceList);
Set(varSelectedField, tablePlantingHub.Selected.Field);
Set(varSelectedDate, dpPlantingHubDate.SelectedDate);
Navigate('Planting Hub Form');
varSelectedSourceList and var SelectedField are remaining blank in the review page I have with text boxes set to those variables. I've set labels on the table page to tablePlantingHub.Selected.Field and tablePlantingHub.Selected.SourceList and they behave the same way as the text inputs do with being set to varSelectedSourceList and varSelectedField. Those labels do not populate with certain records.
Other users have the same issue with the same records. I'm at a loss. I see nothing wrong with the records in SharePoint that I'm looking up and adding to the collections.
One List is completely fine; anything added to it is able to be populated. The others are some records will, some won't.
Any ideas on how to troubleshoot further?