A querybuildrange variable is declared in form Class Declaration, initialized in FormDataSource\init method and assigned value in FormDatasource\linkActive method.
I am extending linkactive method as I have to assign some other value to querybuildrange variable.
How to call querybuildrange variable in Formdatasource extension class.
how to call querybuildrange varaiable in a formdatasource extension
Hi,
You can't access Form variables through the extension classes of the form. If you have getter method in the standard form that return the variable you can call it otherwise you can't. I think you can define new range for the same DataSource and add the range values that you want.
how to call querybuildrange varaiable in a formdatasource extension
Hi,
If it's declared in class declaration, then you can access it using "element" keyword
element.VariableName
Thanks,
Layan Jweihan
Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.