CDR Tickets

Issue Number 5215
Summary [XMetaL] Check-out Open Document
Created 2023-03-08 12:59:32
Issue Type Improvement
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2023-03-08 13:44:41
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.340476
Description

It often happens to me that I open a document to review it and then realize the document has to be edited but I loaded the document in read-only mode.

It would be very useful to have a button or menu option available that runs a macro which checks out the current document, if possible.  This option shouldn't be limited to summaries but would also be useful for Licensee docs, Misc. docs, GlossaryTerm, etc.

Comment entered 2023-03-08 13:44:41 by Kline, Bob (NIH/NCI) [C]

Installed on CDR DEV.

Comment entered 2023-03-08 13:45:29 by Kline, Bob (NIH/NCI) [C]
Comment entered 2023-03-08 15:42:23 by Englisch, Volker (NIH/NCI) [C]

How do I call this new feature?  The code says there should be a "Edit Document" something but I can't find a button/menu/etc.

Comment entered 2023-03-08 16:59:05 by Kline, Bob (NIH/NCI) [C]

It's on the context menu. Right-click anywhere on the document. Only available if the active document is read-only (for obvious reasons). You did restart XMetaL, right?

Comment entered 2023-03-08 17:46:57 by Englisch, Volker (NIH/NCI) [C]

Yes, I did restart XMetaL but I still don't see it:

Comment entered 2023-03-08 18:17:37 by Kline, Bob (NIH/NCI) [C]

This is strange. I'm seeing it, you're not. I think we'll need to do a screen share to sort this out.

Comment entered 2023-03-08 18:52:09 by Englisch, Volker (NIH/NCI) [C]

I found it!  I was on the wrong machine using XMetaL 9.0.  Works as expected when using XMetaL 17.  I'm just wondering if it might make more sense to have the option "Edit document" next to the option "Edit element" but I'm OK with the location either way it you think it belongs to the bottom of the list.

Comment entered 2023-03-08 19:17:29 by Kline, Bob (NIH/NCI) [C]

I kind of like the convenience of having it right at the end, so easy to get to (like you, I think of this as a potentially very useful macro).

Comment entered 2023-05-03 22:19:21 by Englisch, Volker (NIH/NCI) [C]

Confirmed on QA.

Attachments
File Name Posted User
Screenshot 2023-03-08 at 17.44.31.png 2023-03-08 17:46:10 Englisch, Volker (NIH/NCI) [C]
Screenshot 2023-03-08 at 6.10.33 PM.png 2023-03-08 18:16:59 Kline, Bob (NIH/NCI) [C]

Elapsed: 0:00:00.002032