Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Problems Refiling with 8.5 SP1
ManoloMadrid
Hi everybody:
I'm having problems refiling documents using 8.5 SP1 API version
My code is like this (logically I change the security, but this "simple" example fails)
IManage.IManProfileSearchParameters profParams = g_myDMS.CreateProfileSearchParameters();
profParams.Add(imProfileAttributeID.imProfileDocNum, txtDocnumToRefile.Text);
IManContents auxContents = g_myDatabase.SearchDocuments(profParams, false);
IManDocument newDoc = (IManDocument)auxContents.ItemByIndex(1);
IManProfile newDocProf = newDoc.Profile;
IManSecurity newDocSecurity = newDoc.Security;
IManProfileUpdateResult qqResult = newDoc.Refile(newDocProf, newDocSecurity);
The text of the error that is returned is something like "Database Transaction Failed; see Administrator"
Is anyone had a similar error ??
Thanks in advance
Find more posts tagged with
Comments
There are no comments yet