RESTClient supports retrieving data into DataWindowChild

RESTClient Retrieve function is enhanced to support retrieving data into the DataWindowChild object using the following syntax:

long Retrieve ( dwcontrol, urlname {, data} {, tokenrequest} )

For more about the syntax, refer to the section called “Retrieve” in PowerScript Reference.

DataWindowChild with the following presentation styles are unsupported: Composite, Crosstab, OLE 2.0, and RichText.

Note

RESTClient Retrieve function has changed the declaration of the ds/dw argument, from "By reference" in 2017 R2 to "By value" in 2017 R3, therefore, you might need to remove the "ref" declaration and full build the source code, in order for the source code to work after migrated from R2 to R3.