How to find documentation of given API

假设需要知道该read method的接口参数定义:

How to find documentation of given API


直接debug 进read方法,找到OModel 定义所在的js文件,拿到path /sap/ui/model/odata:

How to find documentation of given API



按照该路径到下述link中展开对应节点:

How to find documentation of given API

http://veui5infra.dhcp.wdf.sap.corp:8080/sapui5-sdk-dist/#docs/api/symbols/sap.ui.model.odata.ODataModel.html



得到具体的参数定义:

SPath: A string containing the path to the data which should be retrieved. The path is concatenated to the sServiceUrl which was specified in the model constructor.

How to find documentation of given API

null:

urlParameters: A map containing the parameters that will be passed as query strings

true: asynchronous


上一篇:running Extension project directly on ABAP server without Launchpad


下一篇:How to make local changes on your ui5 library file in Eclipse