∞Belt
∞Belt is a Visual Studio extension for Blackbaud Infinity SDK developers. It adds a full set of item templates, a wizard for wrapping out-of-the-box business processes, and tools for the checks and chores that come with every SDK project.
Category: Developer tools
- After you purchase ∞Belt, you’ll receive an email with your download link and license key.
- Close Visual Studio, then double-click InfinityBeltExtension.vsix to start the standard Visual Studio extension installer.
- Choose the Visual Studio versions to install into (2022 or later) and click Install.
Make sure the Blackbaud Infinity SDK is installed first. ∞Belt reads your SDK settings (database, server, SQL prefix and author) from the values the SDK installer saves.
Open Visual Studio and go to Tools > ∞ belt > License Key.... Paste the key from your purchase email and click OK. The rest of the ∞ belt menu is enabled, and the License Key item disappears, once a valid key is registered.
Right-click a project or folder in Solution Explorer and choose Add > New Item.... All of the ∞Belt templates appear together under the InfinityBelt Templates category. Both VB and C# projects are supported.
Most of these templates are "cleaned up" versions of the same Blackbaud templates you have always used. But there are some new ones, too:
- Global Change (from Selection) A Global Change pre-built to take a CRM selection, and act on each record. Simply fill in the record type and the SQL you want to happen, and get on with your day.
- Business Process Extract When you select this item, a search dialog will let you choose any Business Process currently loaded in CRM. Once chosen, it will list the items that the Business Process depends upon. Check the ones you want to customize, and it will produce custom copies of those objects, ready for you to modify. For more information, refer to the BP Extract section of this page.
- SQL Function (CSV) and (TVF) Custom versions of the SQL Function spec type, ready to return a Comma-Separated-Value or a Table.
The Infinity SDK has no way to extend a Blackbaud business process. To change how one behaves, you have to make your own copy of the whole thing (sometimes called “wrapping” it). This wizard makes that copy for you.
- Right-click the folder where the new files should go and choose Add > New Item... > InfinityBelt Templates > Business Process - Extract.
- Search for and select the business process to extract. The search runs against the CRM environment set up by your SDK installation, even a local one with a self-signed certificate.
- The wizard lists every table, procedure and function the business process uses. Check the ones you want your own copies of. The parameter table is always included. Anything you leave unchecked keeps pointing at the original Blackbaud object.
- Click Start.
The wizard adds the following to your project:
- A copy of the business process spec, with a new ID, “(Custom)” added to its name and description, and your author name.
- Copies of the parameter table, its add, edit and view forms, and each object you checked, renamed with your SQL prefix. Every reference between them is updated to match.
- The .NET code behind the original business process, decompiled into your project’s language (C# or VB.NET) and namespace.
- The references the new code needs, plus a ReferencesFor<name>.txt file listing which ones were added and which were already present.
If anything can’t be fixed automatically, such as a resource that needs replacing with a literal value or a VB.NET conversion that needs a small correction, it’s marked with a TODO comment and listed in a report.
Select a project in Solution Explorer and choose Tools > ∞ belt > Verify packages. ∞Belt checks every package spec in the project and reports:
- Embedded specs that no package references.
- References that use the wrong assembly name.
- References to files that aren’t embedded resources in the project.
- Items listed before a spec they depend on.
Each problem is listed with its package, the item, and details.
Select a project and choose Tools > ∞ belt > Verify embedded resources. ∞Belt lists every XML and image file in the project whose build action isn’t Embedded Resource, and lets you change each one right from the list.
Tools > ∞ belt > Recycle application pool recycles your local CRM application pool in IIS, so newly built assemblies are picked up. The pool name is set under Configuration, and defaults to BBInfinity.
Tools > ∞ belt > Insert guid at cursor inserts a new GUID at the cursor in the current editor using the Blackbaud format (no curly braces). Especially handy when you are building out a page definition.
Tools > ∞ belt > Configuration sets the name of the IIS application pool that Recycle application pool uses.
- Recycling an application pool needs administrator rights on the machine. If it fails, try running Visual Studio as an Administrator.
- If your SDK installation doesn’t set a SQL prefix, ∞Belt uses USR_. If it doesn’t set an author, your Windows user name is used.
- Run Verify packages and Verify embedded resources before every release build. They take seconds, and a failed package load on your server takes a lot longer.
- After you register the product, the license key is saved in your registry at this location: HKEY_CURRENT_USER\Software\Nonprofit Complete\Infinity Belt
- ∞Belt relies on the registry values saved by the Blackbaud SDK. If you want to inspect those values, they are saved in the registry at this location: HKEY_CURRENT_USER\Software\Blackbaud\AppFx\SDK\Installer
| Issue | Reason | Solution |
|---|---|---|
| You are updating ∞Belt. You uninstalled the old version, but while installing the new one, you receive a message that says it “is already installed.” | The Visual Studio extension installer did not have sufficient rights to fully remove the extension during the uninstall. |
Manually remove the extension’s folder. To find it, browse to %LOCALAPPDATA%\Microsoft\VisualStudio\[Version]\Extensions\ Each subfolder corresponds to an extension. Find the one for ∞Belt by looking for the folder that contains InfinityBeltExtension.dll. Delete that entire folder, then try the installation again. |