cancel
Showing results for 
Search instead for 
Did you mean: 

failed to load sap/m/semantic/headerContent.js 404 - Not Found

govardan_raj
Contributor
0 Kudos
1,208

hi Team,

Am using <semantic:headerContent> in sapui5 xml view , but getting error as shown below.

<semantic:MasterPage  title=""  floatingFooter="true"  navButtonPress="onNavBack" showNavButton="false">
<semantic:headerContent>
</semantic:headerContent>
<semantic:subHeader>
</semantic:subHeader>


Uncaught (in promise) Error: failed to load 'sap/m/semantic/headerContent.js' from /sapui5-1.52/resources/sap/m/semantic/headerContent.js: 404 - Not Found
    at u1 (jquery.sap.global-dbg.js:3429)
    at Object.sap.ui.requireSync (jquery.sap.global-dbg.js:4462)
    at y (eval at evalModuleStr (jquery.sap.global-dbg.js:3470), <anonymous>:715:2890)
    at B (eval at evalModuleStr (jquery.sap.global-dbg.js:3470), <anonymous>:715:4074)
    at z (eval at evalModuleStr (jquery.sap.global-dbg.js:3470), <anonymous>:715:3612)
    at f1 (eval at evalModuleStr (jquery.sap.global-dbg.js:3470), <anonymous>:715:7457)
    at s (eval at evalModuleStr (jquery.sap.global-dbg.js:3470), <anonymous>:706:88)
    at F (eval at evalModuleStr (jquery.sap.global-dbg.js:3470), <anonymous>:715:8173)
    at B (eval at evalModuleStr (jquery.sap.global-dbg.js:3470), <anonymous>:715:4187)
    at z (eval at evalModuleStr (jquery.sap.global-dbg.js:3470), <anonymous>:715:3612)

Kinldy do the needfull

Govardan

View Entire Topic
voyager
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please try to use the aggregation "customHeaderContent"

<semantic:customHeaderContent>
</semantic:customHeaderContent>

HeaderContent does not exist for the semantic pages.