I've seen a few threads discussing errors with context variables, but none of those solutions seemed to work for me.
I'm building an app that has connections to different SharePoint lists. There are different buttons that navigate to a calendar screen to display the SharePoint list data. So for example, there are 3 buttons that use the same Navigate() function, but with different context variables:
Navigate(
CalendarScreen,
ScreenTransition.Fade,
{
DataTable : Table1, // this is a SharePoint List
String1 : "Sample String 1",
String2 : "Sample String 2"
}
)
So the DataTable variable in each button will be "Table1", "Table2", "Table3", etc. I can enter this function for 1-2 buttons with no problem (the calendar screen works properly), but upon entering this function for the 3rd button, all of the buttons produce the same error: "Incompatible type. We can't evaluate your formula because the context variable types are incompatible with the types of values in other places in your app."
I've checked the View > Variables menu to ensure that the DataTable variable didn't have any other definitions, but it's only set to SharePoint Lists, which show up as type "Table". On the other hand, the string variables can support multiple definitions with no problem, which leads me to believe that this is an issue with the SharePoint List connections only. I also tried setting the DataTable variable to be a global variable, but I had the same issue after 2-3 buttons were set.
Does anyone have any idea about what could be causing this issue, or if there's a workaround I could use?