We all know we need to input data source in Canvas App to retrieve data for the forms. Assume we have more than 10 forms, and for some reason data source changes to maintain standards. With this in turn needs to change are reference data source in all 10 forms, which is cumbersome and painful.
Instead declare a global variable with the data source name, and use this variable as a reference in all forms. Even when data source needs to be changed, we can just change the value in the global variable.
This will help save a lot of time and avoid fat finger wrong data source.