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.
- You only need to see the old rev label on the checkin selected revision form,
- not necessarily needed during the actual checkout phase,
- and for no other reason than a display on the checkin revision form. There's no searching needed on the old rev label.
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"$>