To start with this site is mostly about sample code for the .Net SDK. It may become more than this depending on interest and time.
Before you build the C# samples you must copy any required files (usually at least HP.HPTRIM.SDK.dll and HP.HPTRIM.SDK.xml) from your HPE Content Manager folder to \Samples\CSharp\lib.
As the SDK is a wrapper around the underlying unmanaged code it needs to know whether to run in 32 or 64 bit. All samples in this site are built to run 64 bit. To run in 32 bit mode change enable the option 'Prefer 32-bit' in each Project - Properties - Build settings
The sample code in this site should build against the current release of Content Manager (CM) (as at the time of writing 9.0). In general most code should also work with older versions of CM, maybe with a few edits. To change CM version replace Samples/CSharp/lib/HP.HPTRIM.SDK.DLL.
The .Net SDK documentation is available for version 83 and 90.
Project | Description |
---|---|
TrimUI | A simple WPF application to demonstrate the user interferface classes in the SDK. |
CreateNewDocument | A simple application demonstrating creation of a new Record from a RecordType. |
BulkDataLoader | Combines the BulkDataLoader and Origin to create a high performance import of Records. |
ExecutableAddin | Sample demonstrates passing parameters via the command line for an EXE addin. |
EventProcessor | A custom event to plug into the core event processor and react to object (e.g. Record) related events on the server. |
SampleAddIn | Custom save and delete behaviour or add items to the menu for various objects (e.g. Records) in the native client. |
ImportUsingOrigin | A WPF application to import documents based on an Origin. |
SimpleServiceAPIPlugin | A Simple ServiceAPI plugin, demonstrates how to call your plugin from the ServiceAPI client proxy. |
MakeReferencePlugin | A ServiceAPI plugin which adds a service to download a TR5 reference file. |
AddingGroupMemberships | A C# ServiceAPI client application to add a 'Member Of' association between two Locations. |
Web Drawer DateRangeSearch | Some sample code to transform WebDrawer date search fields from plain text to a date range picker. |
ServiceAPI OAuth | Console application to connect to the ServiceAPI using ADFS OAuth, plus instructions to configure the ServiceAPI to use OAuth. |
Database pool for web services | Speed up your RM database connections when building a web service. |
ServiceAPI CORS | Add CORS support to the ServiceAPI. |