select2 undefined in Cross Site Lookup

Discussions about Cross-site Lookup
Locked
Felix Müller
Posts: 10
Joined: Mon Mar 10, 2014

17 Jun 2014

Hi,

I put two CrossSiteLookup Columns in a list on s SharePoint 2013 server.

After inserting values in the corresponding lists the drop-down menus are not visible anymore. In the debugger i see following errors:

SCRIPT5007: Für die Eigenschaft "defaults" kann kein Wert abgerufen werden: Das Objekt ist Null oder undefinied


select2_locale_de.js, Zeile 7 Zeichen 5

SCRIPT438: Das Objekt unterstützt die Eigenschaft oder Methode "select2" nicht

CrossSiteLookup.js?rev=1_3_2, Zeile 5 Zeichen 40

SCRIPT438: Das Objekt unterstützt die Eigenschaft oder Methode "select2" nicht


CrossSiteLookup.js?rev=1_3_2, Zeile 5 Zeichen 40

Is there any fix for that issue?

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

17 Jun 2014

Hello Felix,

Thank you for your request. First, please, deactivate/activate Cross-site Lookup feature at the site collection level. Next, make sure that you don't have other JS-errors in the browser console. Did you overrirde Request items or Item format templates of your lookup fields?

Felix Müller
Posts: 10
Joined: Mon Mar 10, 2014

17 Jun 2014

Hello Dmitry,

thank you for your help. My customer seems to have a solution deployed which uses jQuery 1.9.1 and which uses select2 in a wrong way (https://github.com/ivaynberg/select2/issues/992)

After deactivate this feature cross site lookup works again.

Thank you for pointing me in the right direction

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests