Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Uncaught TypeError: Cannot read property 'extend' of undefined'

Avatar

Level 4

Hi,

During execution, I am getting the error in the clientslib (Using AEM 6.1)

Search.MultiFieldKeyAndValueWidget = CQ.Ext.extend(CQ.form.CompositeField, { 

(refer attachment)

Can you please give some idea what might be missing ?

3 Replies

Avatar

Level 10

See this community article that shows you how to successfully do this: 

http://scottsdigitalcommunity.blogspot.ca/2014/03/creating-your-first-adobe-experience.html

It discusses how to successfully use this API as part of a component dialog.