Hi,
I'm working on Record Management web services. But ran into error "Could not retrieve RM Classification information". Seems to be simple code....
string authToken = null;
try
{
authToken = authclient.AuthenticateUser("sharepoint_user", "DevECM$2o11");
Console.WriteLine(authToken); //Token Generated
}
catch (Exception ex)
{
Console.WriteLine("Error: " + ex.Message.ToString());
return;
}
DocumentManagementClient docClient = new DocumentManagementClient();
OTAuthentication otAuth = new OTAuthentication();
otAuth.AuthenticationToken = authToken;
RecordsManagementClient rmClient = new RecordsManagementClient();
RMClassDefInfo rmdefinfo = new RMClassDefInfo();
rmdefinfo = rmClient.RMGetClassificationInfo(ref otAuth, 128172); // 128172 is ID of “T1 Process” folder where classification is applied. This line threw FaultException: Could not retrieve RM Classification information. Note: RM Classification is applied on this Folder.
Thank you in advance.
Swathi