Remove the Custom Inline Function

The custom inline function will appear in list of controls if you execute the Show-InlineFunctions cmdlet in the SharePoint 2013 Management Shell. To remove the function complete you will need to execute the Remove-InlineFunction cmdlet, remove the solution DLL from the General Assembly Cache (GAC), and retract the solution.

Remove the function from the list of functions

You can execute the Remove-InlineFunction cmdlet to remove the function form the list of Nintex Forms functions.

To remove the function from the list of functions in NintexForms

  1. On the SharePoint server, open the SharePoint 2013 Management Shell.
  2. Type:

    Remove-InlineFunction -FunctionAlais fn-PigLatin

  3. Verify the function has been removed from the list of NintexForms functions by typing:

    Show-InlineFunctions

Manually remove the custom control assembly from the GAC

You can manually remove the solution DLL from the General Assembly Cache (GAC) using the Developer Command Prompt.

To manually remove the custom control assembly from the Global Assembly Cache (GAC) on the server

  1. Start the Developer Command Prompt for Visual Studio as an administrator.

  2. In Command Prompt, run the following command, replacing <assemblyPath> with the full path and file name of the assembly:

    gacutil /u <assemblyPath>

For more information about manually adding an assembly to the GAC, see How to Uninstall an Assembly from the GAC .

Retract the solution file using Visual Studio

You can retract the solution using Visual Studio. You will want to unbind the control from the form where it has been added, and then delete it from the form.

To retract the solution file using Visual Studio

  1. Right-click the custom control.
  2. Open the solution in Solution Explorer.
  3. Right-click the solution, and select Retract.

Retract the solution file using SharePoint

If you deployed the package, you can retract the solution from the SharePointCentral Administration Home page after you have removed any instance of the custom control.

To retract the solution in the farm

  1. Open Central Administration and click System Settings.
  2. In the Farm Management section, click Manage farm solutions.

    The Solution Management page appears. Solution deployment status is indicated in the Status column; the Web applications to which the solutions are deployed are indicated in the Deployed To column.

  3. Click the name of your solution, for example, CustomInlineFunction.Custom.wsp.
  4.  Click Retract Solution.

Related information

Add a Custom Inline Function with SharePoint 2013 Management Shell