CDR Tickets

Issue Number 4214
Summary Make Open Link For Editing and Open Link Readonly in Right-Click Menu Available in All Doc Types
Created 2017-01-12 11:59:36
Issue Type Improvement
Submitted By Juthe, Robin (NIH/NCI) [E]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2017-01-24 07:16:34
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.201363
Description

Now that we are adding links to other DIS using DrugSummaryRef elements, it would be convenient to have the right-click options to "Open Link for Editing" and "Open Link Readonly" available. Could these be added? Thanks.

Comment entered 2017-01-24 07:16:34 by Kline, Bob (NIH/NCI) [C]

I looked at the macros, and if I understand what they're doing, this isn't a question of document type, but of link type. It looks as if you get the options if you're in an element with a cdr:ref attribute, regardless of document type. I have modified the software (on DEV) to have it work the same way if the element you're in has a cdr:href attribute. See if that does what you want.

Comment entered 2017-01-24 07:29:00 by Juthe, Robin (NIH/NCI) [E]

This is giving us the links in drug information summaries now (allowing us to open drugs linked in drug summary refs, as we wanted), but it also gives us the options in some link elements that cannot be opened (e.g., summary fragment refs and summary refs). We get an error message in these cases. I'm not sure it's necessary to sort that out but I was surprised it wasn't working for summary refs (since those are similar to drug summary refs).

Comment entered 2017-01-24 07:36:05 by Kline, Bob (NIH/NCI) [C]

Can you give me specific cdr:href values which fail?

Comment entered 2017-01-24 07:40:01 by Juthe, Robin (NIH/NCI) [E]

Sure, in CDR299612, search for the text "refer to" - this will bring up places where we refer to other sections of the summary or other summaries. The first and second hits are summary frag refs; the fourth hit is a summary ref.

Comment entered 2017-01-24 08:09:42 by Kline, Bob (NIH/NCI) [C]

Please give it another try.

Comment entered 2017-01-24 08:46:05 by Juthe, Robin (NIH/NCI) [E]

Looks good!

Comment entered 2017-03-01 11:18:26 by Osei-Poku, William (NIH/NCI) [C]

This appears to be okay on QA.

Comment entered 2017-03-02 13:24:34 by Juthe, Robin (NIH/NCI) [E]

Verified on QA.

Elapsed: 0:00:00.001182