<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Prerequisites and top-tips for creating a custom extension on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/</link><description>Recent content in Prerequisites and top-tips for creating a custom extension on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/index.xml" rel="self" type="application/rss+xml"/><item><title>How to publish documentation for CAST User Community extensions</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/how-to-publish-documentation-for-cast-user-community-extensions/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/how-to-publish-documentation-for-cast-user-community-extensions/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: Any CAST User Community extension (i.e. a custom extension) requires documentation that is freely available on the internet. CAST highly recommends creating the documentation within the &lt;strong&gt;GitHub repository&lt;/strong&gt; you are using for the source code. This page describes the steps required to publish documentation in GitHub.&lt;/p&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;GitHub repository&lt;/strong&gt; (see &lt;a href="https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/"&gt;Prerequisites and top-tips for creating a custom extension&lt;/a&gt; for more information about this) you are using to store the custom extension&amp;rsquo;s source code, click the &lt;strong&gt;Wiki tab&lt;/strong&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/EXTEND/attachments/73433125/73433121.jpg" alt=""&gt;&lt;/p&gt;</description></item><item><title>Managing ID ranges for custom extensions</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/managing-id-ranges-for-custom-extensions/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/managing-id-ranges-for-custom-extensions/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: this section provides information about the range of IDs that are reserved for the following items for use with custom extensions;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Extensions&lt;/li&gt;
&lt;li&gt;Objects&lt;/li&gt;
&lt;li&gt;Quality Rules&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;When:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;creating custom extensions that create objects to be saved in the CAST Analysis Service schema or use custom Quality Rules&lt;/li&gt;
&lt;li&gt;or when defining Architecture Checker models&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;you will need to manage the range of IDs that you assign to these items. For example:&lt;/p&gt;</description></item><item><title>Extension description file</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/extension-description-file/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/extension-description-file/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: this page describes how to create a &lt;strong&gt;plugin.nuspec&lt;/strong&gt; metadata description file for your custom extension.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Each extension must contain a &lt;strong&gt;description file&lt;/strong&gt; that contains the information required for each extension to function correctly. The requirements for this file are listed below:&lt;/p&gt;
&lt;h2 id="description-file-name"&gt;Description file name&lt;/h2&gt;
&lt;p&gt;The description file must be named &lt;strong&gt;plugin.nuspec&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="description-file-location"&gt;Description file location&lt;/h2&gt;
&lt;p&gt;Please place the &lt;strong&gt;plugin.nuspec&lt;/strong&gt; file at the &lt;strong&gt;root of your extensions folder&lt;/strong&gt;:&lt;/p&gt;</description></item><item><title>Extension tags</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/extension-tags/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/extension-tags/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: This section provides information about the &lt;strong&gt;tags&lt;/strong&gt; that can be defined in the &lt;a href="https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/extension-description-file/"&gt;Extension description file&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;When defining your &lt;a href="https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/extension-description-file/"&gt;.nuspec description file&lt;/a&gt; for your custom extension, it is possible to define a set of tags to help identify, for example, what your extension does, what release of CAST AIP it is compatible with etc.&lt;/p&gt;
&lt;div class="alert alert-warning" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Note&lt;/div&gt;
&lt;p&gt;You are free to add any tag you wish to help describe your extension, however, CAST &lt;strong&gt;requires&lt;/strong&gt; that you use &lt;strong&gt;at least one tag&lt;/strong&gt; from a set of mandatory categories described below.&lt;/p&gt;</description></item><item><title>Configuring an icon for your extension</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/configuring-an-icon-for-your-extension/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/configuring-an-icon-for-your-extension/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: This section provides information about how to configure an icon for your extension.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;When you upload an extension, you can optionally configure an &lt;strong&gt;icon&lt;/strong&gt; to represent your extension in the CAST Extend website, or in the CAST Extension Downloader. For example, the icon for the official AngularJS extension:&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="requirements"&gt;Requirements&lt;/h2&gt;
&lt;p&gt;In order to publish your extension documentation, the following is required:&lt;/p&gt;
&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;Note that if you have already created &lt;strong&gt;documentation&lt;/strong&gt; for your extension as detailed in &lt;strong&gt;&lt;a href="https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/how-to-publish-documentation-for-cast-user-community-extensions/"&gt;How to publish documentation for CAST User Community extensions&lt;/a&gt;&lt;/strong&gt; then you will &lt;strong&gt;already&lt;/strong&gt; have a &lt;strong&gt;GitHub account&lt;/strong&gt;, &lt;strong&gt;membership of the CAST-Extend GitHub organization&lt;/strong&gt; and a &lt;strong&gt;repository&lt;/strong&gt; at your disposal.&lt;/p&gt;</description></item><item><title>Auto-distributing specific CAST AIP configuration files with a custom extension</title><link>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/auto-distributing-specific-cast-aip-configuration-files-with-a-custom-extension/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/extend/create-a-new-extension/prerequisites-and-top-tips-for-creating-a-custom-extension/auto-distributing-specific-cast-aip-configuration-files-with-a-custom-extension/</guid><description>&lt;div class="alert alert-info" role="alert"&gt;&lt;div class="h4 alert-heading" role="heading"&gt;Info&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;: This section provides information about how to auto-distribute specific CAST AIP configuration files your own &lt;strong&gt;custom extension&lt;/strong&gt;. Note this section contains &lt;strong&gt;advanced technical information&lt;/strong&gt; and is only to be used by experienced CAST administrators.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;When creating a custom extension, whether using the &lt;strong&gt;CAST AIP Extension SDK&lt;/strong&gt; or with the &lt;strong&gt;Universal Analyzer framework&lt;/strong&gt;, it is possible (since CAST AIP 8.3.3) to auto distribute specific CAST AIP configuration files with the extension. These configuration files will be automatically installed when the extension is installed and will be taken into account when required.&lt;/p&gt;</description></item></channel></rss>