diff --git a/docs/0index.md b/docs/0index.md index 493f54df..fba66d6e 100644 --- a/docs/0index.md +++ b/docs/0index.md @@ -263,7 +263,7 @@ OpenUI5 Version for the OpenUI5 Demo Kit - [Step 7: Changing the Table to a Growing Table](Step_7_Changing_the_Table_to_a_Growing_Table_016e0d4.md) - [Step 8: Testing Navigation](Step_8_Testing_Navigation_10592af.md) - [Step 9: Adding the Post Page](Step_9_Adding_the_Post_Page_4a9f063.md) - - [Step 10: Test Suite and Automated Testing](Step_10_Test_Suite_and_Automated_Testing_07c97a2.md) + - [Step 10: Automated Testing](Step_10_Automated_Testing_07c97a2.md) - [Step 11: Testing User Input](Step_11_Testing_User_Input_92959b1.md) - [Step 12: Adding a Search](Step_12_Adding_a_Search_0c270b4.md) - [Step 13: Testing User Interaction](Step_13_Testing_User_Interaction_19ccd47.md) diff --git a/docs/Batch_Control_74142a3.md b/docs/Batch_Control_74142a3.md index 4d2df06c..a01cb843 100644 --- a/docs/Batch_Control_74142a3.md +++ b/docs/Batch_Control_74142a3.md @@ -36,6 +36,9 @@ A group ID has one of the following [submit modes](https://sdk.openui5.org/api/s - `sap.ui.model.odata.v4.SubmitMode.Direct` - Requests associated with the group ID are sent directly without batch. Note that some features of the OData V4 model rely on the correct order of request processing in the back end. This is only guaranteed for requests made in batch requests. +> ### Note: +> We recommend using either`sap.ui.model.odata.v4.SubmitMode.API` or `sap.ui.model.odata.v4.SubmitMode.Auto` groups in productive applications as not all features of the OData V4 model work without batch requests. + The following group IDs are possible: - `"$auto"` and `"$auto.*"`: Predefined batch group ID which is the default if no group ID is specified. You can use different `$auto.*` group IDs to use different batch requests. The suffix can be any non-empty string consisting of alphanumeric characters from the basic Latin alphabet, including the underscore. They have the submit mode `sap.ui.model.odata.v4.SubmitMode.Auto`. @@ -44,6 +47,7 @@ The following group IDs are possible: - An application group ID is a non-empty string consisting of alphanumeric characters from the basic Latin alphabet, including the underscore. By default, an application group has the submit mode `sap.ui.model.odata.v4.SubmitMode.API`. It is possible to use a different submit mode; for details see section [Define submit mode for an application group ID](Batch_Control_74142a3.md#loio74142a38e3d4467c8d6a70b28764048f__section_e1x_pfg_1cb). +- With [`sap.ui.model.odata.v4.Context#delete`](https://sdk.openui5.org/api/sap.ui.model.odata.v4.Context%23methods/delete), [`sap.ui.model.odata.v4.ODataModel#delete`](https://sdk.openui5.org/api/sap.ui.model.odata.v4.ODataModel%23methods/delete), and [`sap.ui.model.odata.v4.ODataContextBinding#execute`](https://sdk.openui5.org/api/sap.ui.model.odata.v4.ODataContextBinding%23methods/execute), you can also use the `$single` group ID. With this group ID, a single batch request is sent directly, similar to `sap.ui.model.odata.v4.SubmitMode.Direct` groups. To specify the group ID for implicit requests, use the parameters `$$groupId` \(group ID for read requests\) and `$$updateGroupId` \(group ID for update requests\) for the binding which initiates the request \(see the [ODataModel.bindList](https://sdk.openui5.org/api/sap.ui.model.odata.v4.ODataModel/methods/bindList), [ODataModel.bindContext](https://sdk.openui5.org/api/sap.ui.model.odata.v4.ODataModel/methods/bindContext) and [ODataModel.bindProperty](https://sdk.openui5.org/api/sap.ui.model.odata.v4.ODataModel/methods/bindProperty) API documentation\). diff --git a/docs/Changes_Compared_to_OData_V2_Model_abd4d7c.md b/docs/Changes_Compared_to_OData_V2_Model_abd4d7c.md index 51f2ef1f..f30ae734 100644 --- a/docs/Changes_Compared_to_OData_V2_Model_abd4d7c.md +++ b/docs/Changes_Compared_to_OData_V2_Model_abd4d7c.md @@ -171,6 +171,54 @@ For more information, see [Type Determination](Type_Determination_53cdd55.md). + + +