×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Records Details update File Number

Records Details update File Number

Records Details update File Number

(OP)
I am trying to update the File Number in the 'Records Details' of a document in the Content Server using Java livelink api. My question is, do the File Number and the Classification have a one to one relationship between them?
I am able to update the classification which automatically updates the File Number with the below code, but not the other way(not able to update the file number directly).
recManClient.rmApplyClassification(nodeID, Long.parseLong(newClassificationID), null, null);

Appreciate your help.
Thanks!

RE: Records Details update File Number

The File Number is a Configuration Item. If you create an RM Classification at the Root for purposes of explanation I will use an example. There is a simple code that you can do at the start of a Hierarchical Classification other than the parent which is a Classification Tree. So my classifications for the US goes like this

Records Classification By Country(Note this is the Classification Tree )
-> USA
-> CANADA

When I create a Classification for the USA the System as me what FileNumber should I assign. Assume for abbreviations I used the US and CAN for Canada
Then I would create a Child called Legal so now the Hierarchy is actually USA->Legal if I give LEG as an abbreviation and one more than to have some clarity
and call it Compliance - Court or Agency Orders and make that a selectable classification. The reason why we make hierarchies is for efficiencies of scale and based on each country
RM rules. For example, US Govt publishes schedules for perhaps emails, invoices, etc. So ultimately all this does is tag a particular piece of electronic or physical content and assign a time or event to aid in its destruction. So if FileNumber is to be changed it has to move the classification as well correctly so ask your RM team what they are after.

In this example, my File Number for Compliance - Court or Agency Orders would look like USA-LEG-5030(the dash is configurable with some people using /) so when an RM person looks at it it will tell that person H.mm it's a legal thing and automatically they will know the FilePlan and say h' mm that Document I supposed to be kept indefinitely or extinguished in about 5 years.

Note there's no standardization in these things organizations like Skupsky, AIIM all try to get RM people to agree about things but the only thing that is kind of standard is what governments publish, they will say that all invoices pertaining should be kept that much or an employee record has to be kept X years after termination. When I started out about 13 years in RM everyone was raving about hierarchical classifications, then everyone switched to flat to accommodate I think $carepoint I don't know the consensus. currently but there might be a method to the madness.

Like I said to check what's in their mind as far as code is concerned I am pretty sure Oscript can do it,


Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
http://www.tek-tips.com/faqs.cfm?fid=2884
http://www.linkedin.com/in/appunair
http://www.livelink.in

RE: Records Details update File Number

(OP)
Thank you appnair for the very detailed reply. What I learnt from our Content Server person is that the classification and the file number do have a one to one relationship. And I should be able to update both. The error I am getting while trying to update the filenumber is below:
RMClassDefInfo classfn = recManClient.rmGetClassificationInfo(nodeID);
throws the exception
com.sun.xml.internal.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Could not retrieve RM Classification information Please see the server log to find more detail regarding exact cause of the failure.
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(Unknown Source)

I am able to do the below though with out any error
RMAdditionalInfo b = recManClient.rmGetClassifyInfo(nodeID);

Could it be permission issue, but I am able to apply any classification as I mentioned in my previous post. So wonder why I am able to set a classification, but not able to retrieve the current classification.

Thank you!

RE: Records Details update File Number

Without looking at the API I think this is why you are getting the error

RMClassDefInfo classfn = recManClient.rmGetClassificationInfo(nodeID);

The parameter to that is not the NodeID where you see it applied but the actual RM Classification NodeID.Go to your RM Classification Tree and find a RM Classification
and using its DataID run that command.

Think of it like this You are Applying a RMClassification(this is a NodeID) to a Node like a Folder or Document(This is a NodeId but albeit different from the other)

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008,Livelink ECM Champion 2010
http://www.tek-tips.com/faqs.cfm?fid=2884
http://www.linkedin.com/in/appunair
http://www.livelink.in

RE: Records Details update File Number

(OP)
Hi appnair,
What you said was correct. Thank you!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close