我是sapui5的新手,我想阅读一个EntitySet 没有实现Get EntitySet
oModel1.read("/LinesSet?$expand=ToCells&$filter=IdQuery%20eq%20%27ZSMKPI_QM_TOTAL_USERS%27", {
success: function(oData) {
console.log(" expand");
},
error: function(oError) {
console.log("errooooooor expand");
}
});
错误消息: errordetails “:[{” 代码 “:”/ IWBEP / CX_MGW_NOT_IMPL_EXC “ ”消息“:” 方法 'LINESSET_GET_ENTITYSET'未在数据提供程序中实现 class。“,”propertyref“:”“,”severity“:”error“}]}}} -
没有实施。我想跳过这个方法并直接使用expand方法。
答案 0 :(得分:0)
可以通过在实体集之间创建关联和导航来实现。
答案 1 :(得分:0)
如果尚未在后端实现,请利用mock server和模拟数据。这是一个list of supported query options,其中也支持var drawerConfig = {
drawerWidth: 250,
drawerPosition: 'left',
contentComponent: props => {
console.log('contentComponent');
console.log(props);
return (
<ScrollView>
<View>
<View style={{paddingVertical: 20, paddingHorizontal: 15, backgroundColor:'#000'}}>
<Text style={{color:'#FFF'}}>avatar, Loged in User Name</Text>
</View>
<DrawerView.Items {...props} />
</View>
</ScrollView>
)
},
contentOptions: {
activeTintColor: cssDefaults.colorPrimary,
inactiveTintColor: cssDefaults.textColor,
style: {
marginVertical: 0,
}
}
}
。
使用模拟服务器时,您不仅可以并行开发应用程序,而后端仍然需要开发,即使您处于脱机状态(在非基于云的IDE的情况下),因为您的服务元数据和集合存储在本地在你的项目文件夹中。