This is required to implement the Read operation for any JSDO accessed by the Kendo UI Data Source, allowing it to use its server preprocessing features.
Rollbase also relies on a similar JSON Filter Pattern to preprocess the data read by Rollbase external objects. parameter, assigning any that are found to corresponding ABL variables.
For Open Edge data, this can be an is the name of your ABL Invoke operation method. i Max Rows = json Object: Get Integer("top") NO-ERROR. BUFFER tt Customer: ATTACH-DATA-SOURCE(DATA-SOURCE src Customer: HANDLE). DATA-SOURCE src Customer: FILL-WHERE-STRING = c Where. DEFINE VARIABLE json Object AS Json Object NO-UNDO.
Unlike for the Read operation, you might have to change the default URI when you use Developer Studio for Open Edge to annotate this ABL method as an Invoke operation. CONSTRUCTOR PUBLIC Customer(): DEFINE VAR h Data Source Array AS HANDLE NO-UNDO EXTENT 1. Should be in table order as defined in Data Set */ h Data Source Array = DATA-SOURCE src Customer: HANDLE. i Skip Rows = json Object: Get Integer("skip") NO-ERROR. l Use Reposition = i Skip Rows "" THEN BUFFER tt Customer: HANDLE: BATCH-SIZE = 1. IF l Use Reposition THEN DO: h Query = DATA-SOURCE src Customer: QUERY. IF id "" THEN DATA-SOURCE src Customer: RESTART-ROWID(1) = TO-ROWID ((id)).
If after trying this example, you receive a "not defined" error on the "Dim db as Database" declaration, you will need to follow some additional instructions.
When we first created Access Services in Share Point, we set out on a mission to enable both information workers and developers to quickly create data centric web applications with little or no programming.