docs icon indicating copy to clipboard operation
docs copied to clipboard

Code examples provided as images are wrong

Open dan-covaliu opened this issue 1 year ago • 0 comments

Please use the form below, leaving the prefilled data to help us. Thank you.

Page link: use-mendix-data-storage-apis-to-build-reusable-microflow-actions

Document link: howto-datastorage-api.md

Code examples provided as images are wrong

First, the examples are not consistent: some are text that can be copied (such as in section 2 Retrieving Advanced XPath), while others are in images and we are forced to copy them line by line (such as in sections 3 Retrieving Objects Using OQL, 4 Retrieving Objects Using OQL Specified in a Dataset and 5 Retrieving Objects Using SQL)

Second, in the images in sections 4 and 5 mentioned above, the line of code containing Core.instantiate is wrong, as the method takes a context and a String (see instantiate)

This applies to the documentation for all supported Mendix versions 8, 9 and 10.

I suggest to replace the images of code examples with compilable, ready to copy text sections

dan-covaliu avatar Oct 22 '24 13:10 dan-covaliu