function templateExtensionPoint(oElement, oWithControl) {
				var sValue = oElement.getAttribute("name"),
					// resolve name, no matter if CustomizingConfiguration is present!
					oPromise = getResolvedBinding(sValue, oElement, oWithControl, true);

				if (!oPromise) {
					return oSyncPromiseResolvedTrue;
				}
				return oPromise.then(function (sName) {
					var oViewExtension;

					if (sName !== sValue) {
						// debug trace for dynamic names only
						debug(oElement, "name =", sName);
					}
					oViewExtension = Component.getCustomizing(oViewInfo.componentId, {
						extensionName : sName,
						name : sCurrentName,
						type : "sap.ui.viewExtensions"
					});
					if (oViewExtension && oViewExtension.className === "sap.ui.core.Fragment"
							&& oViewExtension.type === "XML") {
						return insertFragment(oViewExtension.fragmentName, oElement, oWithControl);
					}

					return true;
				}, function (ex) {
					warn(oElement, 'Error in formatter:', ex);
					return true;
				});
			}
/**
			 * Replaces a <sap.ui.core:ExtensionPoint> element with the content of an XML fragment
			 * configured as a replacement (via component metadata, "customizing" and
			 * "sap.ui.viewExtensions"), or leaves it untouched in case no such replacement is
			 * currently configured.
			 *
			 * @param {Element} oElement
			 *   the <sap.ui.core:ExtensionPoint> XML DOM element
			 * @param {sap.ui.core.util._with} oWithControl
			 *   the parent's "with" control
			 * @returns {sap.ui.base.SyncPromise}
			 *   A sync promise which resolves with <code>undefined</code> as soon as the
			 *   <sap.ui.core:ExtensionPoint> element has been replaced and with <code>true</code>
			 *   if there was no replacement
			 */
Replaces a  element with the content of an XML fragment
configured as a replacement (via component metadata, "customizing" and
"sap.ui.viewExtensions"), or leaves it untouched in case no such replacement is
currently configured.

@param {Element} oElement
the  XML DOM element
@param {sap.ui.core.util._with} oWithControl
the parent's "with" control
@returns {sap.ui.base.SyncPromise}
A sync promise which resolves with undefined as soon as the
 element has been replaced and with true
if there was no replacement
Replaces a element with the content of an XML fragment configured as a replacement ( via component metadata " customizing " and " sap . ui . viewExtensions " ) or leaves it untouched in case no such replacement is currently configured . @param { Element } oElement the XML DOM element @param { sap . ui . core . util . _with } oWithControl the parent ' s " with " control @returns { sap . ui . base . SyncPromise } A sync promise which resolves with undefined as soon as the element has been replaced and with true if there was no replacement
function templateExtensionPoint(oElement, oWithControl) {
				var sValue = oElement.getAttribute("name"),
					oPromise = getResolvedBinding(sValue, oElement, oWithControl, true);
				if (!oPromise) {
					return oSyncPromiseResolvedTrue;
				}
				return oPromise.then(function (sName) {
					var oViewExtension;
					if (sName !== sValue) {
						debug(oElement, "name =", sName);
					}
					oViewExtension = Component.getCustomizing(oViewInfo.componentId, {
						extensionName : sName,
						name : sCurrentName,
						type : "sap.ui.viewExtensions"
					});
					if (oViewExtension && oViewExtension.className === "sap.ui.core.Fragment"
							&& oViewExtension.type === "XML") {
						return insertFragment(oViewExtension.fragmentName, oElement, oWithControl);
					}
					return true;
				}, function (ex) {
					warn(oElement, 'Error in formatter:', ex);
					return true;
				});
			}
function templateExtensionPoint ( oElement , oWithControl ) { var sValue = oElement . getAttribute ( "name" ) , oPromise = getResolvedBinding ( sValue , oElement , oWithControl , true ) ; if ( ! oPromise ) { return oSyncPromiseResolvedTrue ; } return oPromise . then ( function ( sName ) { var oViewExtension ; if ( sName !== sValue ) { debug ( oElement , "name =" , sName ) ; } oViewExtension = Component . getCustomizing ( oViewInfo . componentId , { extensionName : sName , name : sCurrentName , type : "sap.ui.viewExtensions" } ) ; if ( oViewExtension && oViewExtension . className === "sap.ui.core.Fragment" && oViewExtension . type === "XML" ) { return insertFragment ( oViewExtension . fragmentName , oElement , oWithControl ) ; } return true ; } , function ( ex ) { warn ( oElement , 'Error in formatter:' , ex ) ; return true ; } ) ; }
Replaces a <sap.ui.core:ExtensionPoint> element with the content of an XML fragment
 configured as a replacement (via component metadata, "customizing" and
 "sap.ui.viewExtensions"), or leaves it untouched in case no such replacement is
 currently configured.
Replaces a <sap . ui . core : ExtensionPoint > element with the content of an XML fragment configured as a replacement ( via component metadata " customizing " and " sap . ui . viewExtensions " ) or leaves it untouched in case no such replacement is currently configured .
// resolve name, no matter if CustomizingConfiguration is present! // debug trace for dynamic names only