SCF is undefined

Avatar

Avatar

deepikav8744973

Avatar

deepikav8744973

deepikav8744973

10-10-2019

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 cq.social.scf 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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

10-10-2019

Could u pls add the clientlib category as cq.authoring.dialog and check

Answers (0)