src/sap.ui.core/src/sap/ui/core/support/techinfo/TechnicalInfo.js
function () {
			var oModel = this._oDialog.getModel("view"),
				sSelectedLocation = oModel.getProperty("/SelectedLocation"),
				sStandardUrl = oModel.getProperty("/StandardBootstrapURL"),
				sCustomUrl = oModel.getProperty("/CustomBootstrapURL"),
				aSupportedUrls = [],
				sBootstrapURL;

			oModel.getProperty("/SupportAssistantPopoverURLs").forEach(function (element) {
				aSupportedUrls.push(element.Value);
			});

			if (aSupportedUrls.indexOf(sStandardUrl) === -1 && sSelectedLocation === "standard") {
				sSelectedLocation = "custom";
				sCustomUrl = sStandardUrl;
				oModel.setProperty("/SelectedLocation", sSelectedLocation);
				this._storage.put(this._LOCAL_STORAGE_KEYS.STANDARD_URL, aSupportedUrls[0]);
				oModel.setProperty("/StandardBootstrapURL", this._storage.get(this._LOCAL_STORAGE_KEYS.STANDARD_URL));
			}

			if (sSelectedLocation === "standard") {
				sBootstrapURL = sStandardUrl;
			} else if (sCustomUrl) {
				// this checks if selected location is custom and CustomBootstrapURL is filed
				if (!sCustomUrl.match(/\/$/)) {
					// checks if custom URL is missing / at the end and adds it if missing
					sCustomUrl += "/";
				}
				this._storage.put(this._LOCAL_STORAGE_KEYS.CUSTOM_URL, sCustomUrl);
				oModel.setProperty("/CustomBootstrapURL", this._storage.get(this._LOCAL_STORAGE_KEYS.CUSTOM_URL));
				sBootstrapURL = sCustomUrl;
			}
			this._startAssistant(sBootstrapURL);
		}
function () {
			var oModel = this._oDialog.getModel("view"),
				sSelectedLocation = oModel.getProperty("/SelectedLocation"),
				sStandardUrl = oModel.getProperty("/StandardBootstrapURL"),
				sCustomUrl = oModel.getProperty("/CustomBootstrapURL"),
				aSupportedUrls = [],
				sBootstrapURL;

			oModel.getProperty("/SupportAssistantPopoverURLs").forEach(function (element) {
				aSupportedUrls.push(element.Value);
			});

			if (aSupportedUrls.indexOf(sStandardUrl) === -1 && sSelectedLocation === "standard") {
				sSelectedLocation = "custom";
				sCustomUrl = sStandardUrl;
				oModel.setProperty("/SelectedLocation", sSelectedLocation);
				this._storage.put(this._LOCAL_STORAGE_KEYS.STANDARD_URL, aSupportedUrls[0]);
				oModel.setProperty("/StandardBootstrapURL", this._storage.get(this._LOCAL_STORAGE_KEYS.STANDARD_URL));
			}

			if (sSelectedLocation === "standard") {
				sBootstrapURL = sStandardUrl;
			} else if (sCustomUrl) {
				// this checks if selected location is custom and CustomBootstrapURL is filed
				if (!sCustomUrl.match(/\/$/)) {
					// checks if custom URL is missing / at the end and adds it if missing
					sCustomUrl += "/";
				}
				this._storage.put(this._LOCAL_STORAGE_KEYS.CUSTOM_URL, sCustomUrl);
				oModel.setProperty("/CustomBootstrapURL", this._storage.get(this._LOCAL_STORAGE_KEYS.CUSTOM_URL));
				sBootstrapURL = sCustomUrl;
			}
			this._startAssistant(sBootstrapURL);
		}
function ( ) { var oModel = this . _oDialog . getModel ( "view" ) , sSelectedLocation = oModel . getProperty ( "/SelectedLocation" ) , sStandardUrl = oModel . getProperty ( "/StandardBootstrapURL" ) , sCustomUrl = oModel . getProperty ( "/CustomBootstrapURL" ) , aSupportedUrls = [ ] , sBootstrapURL ; oModel . getProperty ( "/SupportAssistantPopoverURLs" ) . forEach ( function ( element ) { aSupportedUrls . push ( element . Value ) ; } ) ; if ( aSupportedUrls . indexOf ( sStandardUrl ) === - 1 && sSelectedLocation === "standard" ) { sSelectedLocation = "custom" ; sCustomUrl = sStandardUrl ; oModel . setProperty ( "/SelectedLocation" , sSelectedLocation ) ; this . _storage . put ( this . _LOCAL_STORAGE_KEYS . STANDARD_URL , aSupportedUrls [ 0 ] ) ; oModel . setProperty ( "/StandardBootstrapURL" , this . _storage . get ( this . _LOCAL_STORAGE_KEYS . STANDARD_URL ) ) ; } if ( sSelectedLocation === "standard" ) { sBootstrapURL = sStandardUrl ; } else if ( sCustomUrl ) { // this checks if selected location is custom and CustomBootstrapURL is filed if ( ! sCustomUrl . match ( / \/$ / ) ) { // checks if custom URL is missing / at the end and adds it if missing sCustomUrl += "/" ; } this . _storage . put ( this . _LOCAL_STORAGE_KEYS . CUSTOM_URL , sCustomUrl ) ; oModel . setProperty ( "/CustomBootstrapURL" , this . _storage . get ( this . _LOCAL_STORAGE_KEYS . CUSTOM_URL ) ) ; sBootstrapURL = sCustomUrl ; } this . _startAssistant ( sBootstrapURL ) ; }
Opens the support assistant with the given configuration
Opens the support assistant with the given configuration