In JavaScript, you can get and set DataWindow properties with the Describe and Modify methods. Property expressions and DWObject variables are not supported.
These sections describe how to use Modify and Describe in JavaScript:
“Advantage and drawbacks of the Modify and Describe methods in JavaScript”
“Handling errors for Modify and Describe methods in JavaScript”