Posts

Showing posts with the label Filenet

Filnet P8 Connection

Image
Renaming the C# Source File When you created the project, Visual Studio generated a C# source file,  Program.cs , by default. Rename this file to better reflect its purpose. In the Solution Explorer pane, right-click  Program.cs  and click  Rename . Type over the existing name, for example,  P8Connector.cs . In the prompt for renaming all project references to this file, click  Yes . Coding the Connection If the C# source file is not already open, double-click its name in the Solution Explorer pane. In the code pane, immediately above the  namespace  line (such as  namespace P8ApiSample ), insert the following code, replacing the existing  using statements. using System; using System.Collections.Generic; using System.Diagnostics; using FileNet.Api.Authentication; using FileNet.Api.Core; using FileNet.Api.Util; In the code pane, within the class definition (such as within  class P8Connector ), insert the followi...