SCF is undefined | Community
Skip to main content
deepikav8744973
October 10, 2019
Solved

SCF is undefined

  • October 10, 2019
  • 1 reply
  • 980 views

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 screenshot

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ankur_Khare

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

1 reply

Ankur_Khare
Community Advisor
Ankur_KhareCommunity AdvisorAccepted solution
Community Advisor
October 10, 2019

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