SCF is undefined



Hi ,

I am working on implementing the AEM calendar component in 6.3 overlaying the OOTB communities Calendar. I have followed exactly as per the documentation ​. When am trying to load the page with the custom Calendar added, SCF is undefined and thereby model registration,events binding are failing. I included in global clientlib level as well as component clientlib. Still, the error is coming. Also copied scf.js from /etc/clientlibs/social/commons/scf and pasted under /apps/myproject/components/content/test/calendarTest/clientlibs/js/scf.js. Then am getting error in model.PFB screenshotscreenshot.PNG

guide.js:2246 Uncaught ReferenceError: SCF is not defined

    at guide.js:2246

(anonymous) @ guide.js:2246

clientlibs.js:3841 Uncaught TypeError: Cannot read property 'Model' of undefined

    at clientlibs.js:3841

    at clientlibs.js:3851

(anonymous) @ clientlibs.js:3841

(anonymous) @ clientlibs.js:3851

clientlib-components.js:1056 Uncaught TypeError: Cannot read property 'Model' of undefined

    at clientlib-components.js:1056

    at clientlib-components.js:1066

Please help me resolving this

Answers (0)