Add a Web API Client Reference to a Web API Template Project
-
Determine the data form to access with a Web API Client DLL. If the data form is a custom data form, you will have to generate BBMetalWeb classes and build a DLL for the feature. For information about how to use BBMetalWeb, see BBMetalWeb and Data Forms.
-
Open the feature metadata page for the data form (Administration > Features > Data form search).
-
From the API tab, under Client-side Web API, find the assembly name.
-
From Visual Studio with the Blackbaud Infinity SDK installed, open to project to which to add the reference.
-
From Solution Explorer, right-click the project node, and select Add Reference.
-
Click Browse to browse to a folder with the Web API Client DLLs. The DLLs are included with the Blackbaud Infinity SDK in the SDK\DLLReferences folder.
-
Select the DLL listed on the feature metadata page.
-
Click OK. The reference is added. The assembly will be included in builds of the project and its API will be exposed with IntelliSense.
Note: If you place the DLL in a different location, to ensure IntelliSense continues to work, also copy the associated XML comments file.