Extensions

This section contains information related to developing extension views for the swExplorer client. All examples are in C#.

Creating New Descriptions Containing Images
This article provides an example of how to create a new item description and add images to it, using IswDescriptionGenerator when doing an extension. I...
Thu, 21 Sep, 2023 at 2:45 PM
Finding Items by Item Type in a Structure
This article provides an example of how to Find items in a limited context, i.e., not in the entire database. In this example, the result is to return all i...
Tue, 20 Apr, 2021 at 10:09 AM
Getting and Setting Unique ID Attribute Values
The article provides one example of how to retrieve a Unique ID Context attribute value and then set an ID value if none is already set. In this example, th...
Thu, 1 Jul, 2021 at 9:20 AM
How to Open an Item in a new or existing Tab
This article shows how to open an Item in a new or existing Tab using the Extensions API. When creating a new SystemWeaver ItemView in Visual Studio, tw...
Fri, 31 May, 2019 at 10:31 AM
How to use the Open Items of type dialog in the Extensions API
The article provides some examples of how to use the Open Items of Type dialog in the Extensions API. Example 1 Using the Open Items of type dialog in ...
Wed, 30 Sep, 2020 at 12:46 PM
How to Listen for Events
In a SystemWeaver extension, you can listen for events. Below is a small example in an extension. With the line shown below, a listener is added for th...
Mon, 28 Jun, 2021 at 10:47 AM
How to Include Extension Data in Document/Report Output
Using the SystemWeaver Script Language, it's possible to include data coming from a SWExtension in Document or report generation. This article provides ...
Tue, 4 Jul, 2023 at 9:38 AM
How to Configure Menu Option
This article provides an example for how to add a caption and ribbon group for an extension view menu option.  Example public string GetCa...
Fri, 10 Jan, 2020 at 3:54 PM
How to Use MultiInstanceItemView
MultiInstanceItemView makes it possible to have more than one configuration for each item view to the right of the structure tree. It allows for multiple, s...
Thu, 29 Sep, 2022 at 4:39 PM
How to Traverse Upwards in a Structure
There are two ways to traverse upwards in a structure using the Extensions API. Current Node Path The first is by calling host.GetCurrentNodePath(). Th...
Wed, 16 Jun, 2021 at 1:55 PM