src/sap.ui.fl/src/sap/ui/fl/Utils.js
function (oManifest) {
			var sUri = "";
			if (oManifest){
				var oSapApp = (oManifest.getEntry) ? oManifest.getEntry("sap.app") : oManifest["sap.app"];
				if (oSapApp && oSapApp.dataSources && oSapApp.dataSources.mainService && oSapApp.dataSources.mainService.uri){
					sUri = oSapApp.dataSources.mainService.uri;
				}
			} else {
				this.log.warning("No Manifest received.");
			}
			return sUri;
		}
function (oManifest) {
			var sUri = "";
			if (oManifest){
				var oSapApp = (oManifest.getEntry) ? oManifest.getEntry("sap.app") : oManifest["sap.app"];
				if (oSapApp && oSapApp.dataSources && oSapApp.dataSources.mainService && oSapApp.dataSources.mainService.uri){
					sUri = oSapApp.dataSources.mainService.uri;
				}
			} else {
				this.log.warning("No Manifest received.");
			}
			return sUri;
		}
function ( oManifest ) { var sUri = "" ; if ( oManifest ) { var oSapApp = ( oManifest . getEntry ) ? oManifest . getEntry ( "sap.app" ) : oManifest [ "sap.app" ] ; if ( oSapApp && oSapApp . dataSources && oSapApp . dataSources . mainService && oSapApp . dataSources . mainService . uri ) { sUri = oSapApp . dataSources . mainService . uri ; } } else { this . log . warning ( "No Manifest received." ) ; } return sUri ; }
Returns the uri of the main service specified in the app manifest

@param {object} oManifest - Manifest of the component
@returns {string} Returns the uri if the manifest is available, otherwise an empty string
@public
Returns the uri of the main service specified in the app manifest