function (oControl) {
			var sSiteId = null, oAppComponent = null;

			// determine UI5 component out of given control
			if (oControl) {
				oAppComponent = this.getAppComponentForControl(oControl);

				// determine siteId from ComponentData
				if (oAppComponent) {

					//Workaround for back-end check: isApplicationPermitted
					//As long as FLP does not know about appDescriptorId we have to pass siteID and applicationID.
					//With startUpParameter hcpApplicationId we will get a concatenation of “siteId:applicationId”

					//sSiteId = this._getComponentStartUpParameter(oComponent, "scopeId");
					sSiteId = this._getComponentStartUpParameter(oAppComponent, "hcpApplicationId");

				}
			}

			return sSiteId;
		}
function (oControl) {
			var sSiteId = null, oAppComponent = null;

			// determine UI5 component out of given control
			if (oControl) {
				oAppComponent = this.getAppComponentForControl(oControl);

				// determine siteId from ComponentData
				if (oAppComponent) {

					//Workaround for back-end check: isApplicationPermitted
					//As long as FLP does not know about appDescriptorId we have to pass siteID and applicationID.
					//With startUpParameter hcpApplicationId we will get a concatenation of “siteId:applicationId”

					//sSiteId = this._getComponentStartUpParameter(oComponent, "scopeId");
					sSiteId = this._getComponentStartUpParameter(oAppComponent, "hcpApplicationId");

				}
			}

			return sSiteId;
		}
function ( oControl ) { var sSiteId = null , oAppComponent = null ; // determine UI5 component out of given control if ( oControl ) { oAppComponent = this . getAppComponentForControl ( oControl ) ; // determine siteId from ComponentData if ( oAppComponent ) { //Workaround for back-end check: isApplicationPermitted //As long as FLP does not know about appDescriptorId we have to pass siteID and applicationID. //With startUpParameter hcpApplicationId we will get a concatenation of “siteId:applicationId” //sSiteId = this._getComponentStartUpParameter(oComponent, "scopeId"); sSiteId = this . _getComponentStartUpParameter ( oAppComponent , "hcpApplicationId" ) ; } } return sSiteId ; }
Returns the siteId of a component

@param {sap.ui.core.Control} oControl - SAPUI5 control
@returns {string} siteId - that represent the found siteId
@public
@function
@name sap.ui.fl.Utils.getSiteId
Returns the siteId of a component
Returns site ID of the given control