Add a Custom Inline Function with SharePoint 2013 Management Shell

The custom inline function sample provides an example of an implementation of your own inline function to the Nintex Forms designer.

Managed code solutions for Nintex Forms are not supported by the Nintex Mobile app. The Nintex Mobile app will not have access to the required resources in the solution file (.wsp) which resides in your SharePoint environment.

Overview

You will need to create a class that contains an inline function and deploy it to the SharePoint server farm. The class contains the static function that you will use the SharePoint 2013 Management Shell to connect to your Nintex Forms. You can add additional static functions to the class if you plan on creating a set of functions, or would like to extend your existing project.

Summary of Sample

The overall process to create a custom inline function follows these steps:

  1. Develop the code for the function, and then place the function in a class. For more information about the function in the example, refer to the Create a Custom Inline Function for Forms Overview.
  2. Set up an empty SharePoint 2013 project in Microsoft Visual Studio. For more information, see Prepare the Visual Studio Project.
  3. Add the class to the project. For more information see Add the Static Method in a Class.

  4. Once the function has been created, build and deploy the project. Add the DLL to the server farm. For more information, see Build and Deploy the Solution.
  5. Use the SharePoint 2013 Management Shell to register the function with Nintex Forms. For more information, see Add the Custom Inline Function using PowerShell.
  6. Add the function to a form and test its behavior. For more information, see Add the Custom Inline Function to a Form.

If you need to disable or remove the sample, follow the instructions on retracting the sample.
For more information, see Remove the Custom Inline Function.

Using the Sample

This sample does not include an automatic deployment mechanism, and so must be manually deployed before it can be used. The sample only contains class files that you will need to add to a new solution in your SharePoint development environment.

This archive contains the source code of the sample. The source code contains a single class file, Custom.cs that contains a single public method.

Download source code

Related information

Nintex Forms 2013 SDK Samples

PowerShell Reference