Accessing/ Creating Global Variable from Widget in Zoho Books

Accessing/ Creating Global Variable from Widget in Zoho Books

Hello!

I am trying to create an extension for Zoho Books. I have a widget in which the user needs to search through all the custom fields and select a specific one (so i can map it to a field in other third party app). All good till now...after this I need to save his choice in a Global Varible so that my other Custom Functions know how the field needs to be associated...

In short...How can I create a Global Variable from a widget so that I can access it from Custom Functions in Sigma?

Thank you!