I need to read the value of dRevLabel when users click on any form of "Checkout" action of the document in order to populate another custom field. What is the event for this action? If tried to use the below in my ruls, but it did not capture the dRevLabel on checkout, but only on Checkin.
( (dpEvent like "OnRequest" or dpEvent like "OnSubmit" or dpEvent like "OnImport") and
(dpAction like "CheckinSel" or dpAction like "CheckinNew" or dpAction like "Info" or dpAction like "Update" or dpAction like "Search"))
Any hints on customization? Can I possible write a custom service to read a dRevLable for this dId? If yes, how would I return the result of the service on the UI?
The business case is that upon the checkin of an existing item (after the check out and edit offline ), the users need to see the dRevLabel of the existing item in order to make some decisions for the new revision.
Now that you explain it that way, there's an option using profiles. The original post and the subsequent clarification really are two different things.
Restating what you just posted.
While the new rev label appears on the form in the rev label field, the old rev label (the one you want) is still available in the DOC_INFO result set.
Assuming you already have a field "xOldRevLabel" on your form, in the profile rule, in the default value dialog, enter "<$dprDefaultValue=DOC_INFO.dRevLabel$>". That should put the old label in your custom field.
Hello William - another question about the DOC_INFO.dRevLabel. We are using DIS MS Office integration, and need to display the same in "Checkin with Metadata" area for documents. Somehow, DIS does not read from DOC_INFO - I've tried with various metadata fields, no only dRevLable. Any value is returned blank. Do you have any insights on DIS and DOC_INFO?
In that case, the data should be in local data <$#local.dRevLabel$>
You may have to create some IF logic in your profile to read the data correctly, based on the service being called.
<$if #local.IdcService like "ASSIGN_DOC_INFO"$>