SPJS-Lookup script inclusion without CEWP

Forums SPJS-Lookup SPJS-Lookup script inclusion without CEWP

This topic contains 2 replies, has 2 voices, and was last updated by  Tony Bowes 2 years, 9 months ago.

  • Author
    Posts
  • #9243

    Tony Bowes
    Participant

    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?

  • #9261

    Alexander Bautz
    Keymaster

    When using the JSLink approach, you include this script by ticking a checkbox in the JSLink setup page.

    Alexander

  • #9268

    Tony Bowes
    Participant

    Thanks, much simpler and now appears in the DFFS tabs as activated.

You must be logged in to reply to this topic.