Showing results for 
Search instead for 
Did you mean: 

Global variable to store data source

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. 

Status: New
Frequent Visitor

Hi @ArunVK,


Thanks for the great idea. I'm working on the same sort of thing right now. It will be really helpful if you can explain the above mentioned suggestion in detail with an example.


Thanks in advance!