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'


Level 4


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


Level 10

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

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