Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel
bgColor#F0F0F0

On this page:

Table of Contents


Info
Summary: this page explains how to create a custom extension to share an add-on to CAST AIP.

...

If you have developed an add-on for CAST AIP, for example, a script to do something specific, a custom Assessment Model, DLM rule files or any other item that you wish to share with the wider CAST user community, then you can use the instructions below to do so. These custom extensions cannot be "installed" using CAST Server Manager, therefore the idea is to simply package the "add-on" item as a custom extension so that it can be shared more easily with other users.

Info

Note that:

Step 1 - create the folder for your extension

...

This step involves creating the plugin.nuspec description file and then adding this file to the the folder you created in Step 1. Please see Extension description file for more information about how to create the plugin.nuspec file. The description file for this example will look like this:

Code Block
languagexmlthemeDJango
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
    <metadata>
        <id>com.castsoftware.uc.nameoftheextension</id>
        <version>x.x.x</version>
        <title>MyExtension</title>
        <authors>User Community</authors>
        <owners>CAST</owners>
        <licenseUrl>http://www.castsoftware.com/ps/doc/extension/license</licenseUrl>
        <projectUrl>https://github.com/CAST-Extend/</projectUrl>
        <requireLicenseAcceptance>false</requireLicenseAcceptance>
        <description>This is a great extension that creates great objects and even greater links</description>
        <tags>Language FP CSS CAIP8.0.x</tags>
        <dependencies>
            <dependency id="CAIP" version="8.0.0" />
        </dependencies>
    </metadata>
    <files />
</package>

...

The custom extension folder should now contain two files:

  • my_assessment_model.pmx (in this example we are distributing an Assessment Model, but you can distribute any file)
  • plugin.nuspec

The extension can then be shared by uploading to the CAST Extend website. See Upload an extension for more information.