System Artifact Manager (.NET)

The System Artifact Manager API exposes the ReadArtifactIDAsync() method used to retrieve the Artifact ID of a system artifact. Use this method when you want to create top-level tabs or object types in a custom application. The system Artifact ID retrieved by this method is then passed to create requests as the parent of the new object that you want to create.

You can also use System Artifact Manager API through REST. For more information, see System Artifact Manager (REST).

This page contains the following information:

The Relativity.ObjectModel.SDK contains this API. For compatibility and package installation instructions, see Download the SDKs and NuGet packages.

System Artifact Manager API fundamentals

The System Artifact Manager API includes the following method available on the ISystemArtifactManager interface in the Relativity.ObjectModel.<VersionNumber>.SystemArtifact namespace.

Note: The <VersionNumber> variable in the namespace indicates the version number of the API. The version number uses the format uppercase V and an integer version number, such as V1 or V2 in .NET.

  • ReadArtifactIDAsync() method – retrieves the Artifact ID of a system artifact with the specified identifier.

Retrieve the Artifact ID of a system artifact

Use the ReadArtifactIDAsync() method to retrieve the Artifact ID of a system artifact. Pass the following arguments to this method:

  • workspaceID - the workspace containing the system artifact.
  • artifactIdentifier - the string identifier for the system artifact.

This method returns an integer representing the Artifact ID of the system artifact.

Note: Use -1 for the workspaceID to refer to the admin workspace.