Skip to main content
SCE Documentation

List Manager

Installing List Manager

  1. Open Visual Studio Solution. Once the solution is opened, go to “Tools” and select “NuGet Package Manager” then select “Manage NuGet Packages for solution”.
  2. Change the package source to be “FHSS Nuget”, go to “Browse” and search for “ListManager”, then select the package titled “Byu.Fhss.Sce.ListManager” and click “Install” to the right. On any prompts that appear thereafter, make sure to continue the installation. NOTE: If you want to include file and image column types in your list manager, you MUST install the "Byu.Fhss.Sce.FileManager" package.
  3. Once the installation is complete, make sure the solution still builds.
  4. If the solution does not build, install the nuget package "Byu.Fhss.Sce" and "Byu.Fhss.Sce.Util".
  5. Rebuild the solution and make sure there are no errors.

Updating List Manager

  1. Open Visual Studio Solution. Once the solution is opened, go to “Tools” and select “NuGet Package Manager” then select “Manage NuGet Packages for solution”.
  2. Change the package source to be “FHSS Nuget”, go to “Updates” and search for “ListManager”, then select the package titled “Byu.Fhss.Sce.ListManager” and click “Install” to the right. On any prompts that appear thereafter, make sure to continue the update. NOTE: If you have a ListView.js file that has a lot of code in it, when updating, DO NOT overwrite the file.
  3. Once the update is complete, make sure the solution still builds.

Get list and list items outside manager

  1. Sign into site and enter this javascript for getting a list item: listItemService(listName, itemId) or for getting an entire list: listService(listName).

Errors

  • The most common error occurs immediately after installation. The error is "Object is not set to instance of an Object" or "NullReferenceException". This usually occurs becase the section was not added for the ListManager in the web.config file. So to fix this error go to the main web.config for the project and under the "configSections" tag add the following code:

<section name="Byu.Fhss.Sce.ListManager" type="Byu.Fhss.Sce.ListManager.ListManagerSectionHandler, Byu.Fhss.Sce.ListManager" />

  • Now build the solution again, the project should now run.