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 |
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.
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.
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).
Can you give me specific cdr:href values which fail?
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.
Please give it another try.
Looks good!
This appears to be okay on QA.
Verified on QA.
Elapsed: 0:00:00.001182