Hello Experts,
We are having an MDK Extension project.
we do have a service call as below which is returning values for myEquipments Entity set
this.context.clientAPI.read("/SAPAssetManager/Services/AssetManager.service", "MyEquipments",[]).then((result)=>{
alert("result is : "+result); });
}
we just need to print the result in an alert window for which it was returning value as Objects(attached screenshot). Did try to convert the result to a string with below call
alert('Result for JSON.stringify : '+JSON.stringify(result)); for which it doesn't return any values. Can you please suggest why these JS method are not working. also we observed that if we had 2 alerts only the first alert message is executed.
Need support on this.