SPJS-Lookup script inclusion without CEWP
- This topic has 2 replies, 2 voices, and was last updated 10 years, 12 months ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Home › Forums › SPJS-Lookup › SPJS-Lookup script inclusion without CEWP
The install instructions cover adding SPJS-Lookup when you have DFFS loaded via CEWP, but not with the new DFFS loader column.
I tried loading it at the start of the custom JS by using $.getScript(), but the functions wouldn’t be available to call. However, if I loaded the spjs-lookup.js code directly into the start of the custom JS area, it worked. It seems like a scoping issue that is currently beyond me? It’s working for now (quite well I might add), so it’s not a big deal, but will need to keep the code up to date rather than pointing to the standard location.
Is there an official way to include the SPJS-Lookup code when using the DFFS loader site column?
When using the JSLink approach, you include this script by ticking a checkbox in the JSLink setup page.
Alexander
Thanks, much simpler and now appears in the DFFS tabs as activated.