[progress Communities] [progress Openedge Abl] Forum Post: Re: How To Pass Parameters To...

Status
Not open for further replies.
E

egarcia

Guest
Hello, Sorry for the confusion in the previous post. I thought that you wanted to send custom parameters while working with Client-side Processing. I now see that you are actually using a data source for an OpenEdge Business Entity and pass a filter to its Read method. To pass a filter to the Read method, you would configure your Business Entity to use what we call the JSON Filter Pattern (JFP). You would also need to de-select "Client-side Processing" in your Data Source configuration (Data Provider / Data Sources). In this way, the the data source would use server-side processing and pass the filter to the backend. The enable your Business Entity for JFP you need to do some few changes in the Business Entity: - enhance the temp-table definition - add the mappingType and capabilities annotation to the Read method - add the corresponding code to for the Read and JFPFillMethod methods - add a method to do count (to support paging) Here is a link to a sample implementation: documentation.progress.com/.../index.html I hope this helps, Edsel

Continue reading...
 
Status
Not open for further replies.
Top