on 07-17-2009 12:58 PM
Hi All,
I'm using MDM 5.5 sp16. And MDM java APIs with webdynpro java.
I am trying to check out the record in non exclusive mode. But the record remain protected even after checkout of record.
And the modification of record reflects only after checkin.
could any body please provide your valuable pointers.
Thanks and Regards,
Revathy Madhavan.
Hi Revathy
For changing a record which is checked out the use has to join the checkout process.
This is irrespective of whether we do checkout exclusive or non exclusive.
So first you need to join the checkout, there must be APIs for this.
best regards
Ravi Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sudheendra,
Thank for your reply.
I'm using same code to check out a record, but still it making a record protected.
But modification of record is reflected only after check in of record.
Thanks and Regards,
Revathy Madhavan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Revathy,
check the below code snippet on how to checkout a record . setExclusive option allows you to checkout exclusive if set true and non exclusive if set false.
CheckoutRecordsCommand objCheckOutRecord = new CheckoutRecordsCommand(connection);
objCheckOutRecord.setSession(usersession_id);
objCheckOutRecord.setTableId(new TableId(strTableID));
objCheckOutRecord.setRecordIds(new RecordId[]{new RecordId(strRecordID)});
objCheckOutRecord.setExclusive(bExclusiveCheckOut);
try
{
objCheckOutRecord.execute();
}
catch(CommandException e)
{
System.out.println("error in check out")
}
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.