Topic
1 reply Latest Post - ‏2012-08-06T15:48:40Z by RRathgeber
SystemAdmin
SystemAdmin
40 Posts
ACCEPTED ANSWER

Pinned topic RM API issues - attempting to move & re-class records using api's -- help!!

‏2012-07-20T15:23:06Z |
I need to know how I can right a simple api to move / refile records, re-classify them.

The moving and classifying them is not that hard however when I do this the old security still falls on the document -- is there anyway that when I move the document I can clean the old security off.

If I need to program that into the API what would the syntax for that code be?

Thanks everyone for your help - appriciated in advance.

Best regards,

RB
Updated on 2012-08-06T15:48:40Z at 2012-08-06T15:48:40Z by RRathgeber
  • RRathgeber
    RRathgeber
    3 Posts
    ACCEPTED ANSWER

    Re: RM API issues - attempting to move & re-class records using api's -- help!!

    ‏2012-08-06T15:48:40Z  in response to SystemAdmin
    In the RMAPI, the RecordInfo Interface has a move method that will move the record to a new record container in the file plan. You specify the current location, the new location, and the reason for the move. The current location is needed since the record may be multi-filed and IER needs to know which container to move it from. The Link below provides additional information.

    http://publib.boulder.ibm.com/infocenter/p8docs/v5r0m0/topic/com.ibm.p8.ier.dev.java.doc/records_manager_api/javadocs/com/filenet/rm/api/RecordInfo.html#move(com.filenet.rm.api.RMRecordContainer,%20com.filenet.rm.api.RMRecordContainer,%20java.lang.String)