SPEx Setup

Scripts and CSS files



Download the SPEx 0.1.1 from here



Upload the necessary scripts and css to the document library.

In case of extending the Out of box form, you can upload the scripts and css files to the document library, and make sure that necessary access permissions are given to the users. If you trying to use the SPEx on your custom WebPart its better to add them in the layouts and package it as part of the WSP.






Adding the script
  1. Goto list settings and edit New/Edit form

  2. Add content editor webpart to the form

  3. Add below code snippet to content editor webpart’s html

  4. Change the script and CSS links based on your uploaded location



extendLookup






markAsDisabled





markAsReadOnly






Update the parameters accordingly based on your need, for complete list of options for extendLookup function is available on the overview.

Comments