When Calling the IPM SDK Method InsertPageIntoDocument, the DocInfo Object is not Returning the RECID Value (Doc ID 1403917.1)

Last updated on MAY 03, 2016

Applies to:

Oracle Imaging and Process Management - Version: 10.1.3.5 and later   [Release: 10gR3 and later ]
Information in this document applies to any platform.

Goal

When the following code is used, the DocInfo object is not populated. Why is this?

using Stellent.IBPM.Interop.Common;
using Stellent.IBPM.Interop.Imaging;

DocumentID.ProviderID = _docProvider;
IndexID.IndexProvider = _indexProvider;
IndexID.IndexName = _TableName;
IndexID.IndexID = r.ToString();

DocInfo dn = new DocInfo();
dn = _dm.InsertPageIntoDocument(di, _srv.ImagePath(page), PageNumber.pnLast);
int newobj = int.Parse(dn.DocumentID.UniqueID);

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms