[
https://issues.apache.org/jira/browse/OFBIZ-11158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16947345#comment-16947345 ]
Devanshu Vyas commented on OFBIZ-11158:
---------------------------------------
Thank you [~surajk], for updating the ticket status.
I didn't get the need to add maxRows here, as I have used the queryFirst() to get a single record. This can be updated to use the queryList() and then add maxRows(), but I think we can leave it as is. This is added to show the user that EntityQuery is available on this export screen as an example.
> Enhance the Programmable Export feature for EntityQuery support
> ---------------------------------------------------------------
>
> Key: OFBIZ-11158
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11158> Project: OFBiz
> Issue Type: Improvement
> Components: framework/webtools
> Affects Versions: Trunk
> Reporter: Devanshu Vyas
> Priority: Minor
> Attachments: OFBIZ-11158.patch
>
>
> I recently used the Programmable Export feature in Webtools application and I thought that this feature can be extended to use the *EntityQuery* for data fetching. Nowadays, EntityQuery usage to perform data fetching is increasing. This will be a rather simple enhancement as the Groovy supports EntityQuery internally.
> Along with this, I also felt that the output of the feature should also be available in *JSON* format.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)