Knowledgebase
6.6 Linking
Posted by Katrina Vuong on 23 May 2017 04:19 PM

Linking Overview

LabArchives includes a feature that enables you to create links from an entry in your notebook to other entries, pages, or external websites. These links can be used to refer to other data or to link to a specific version of a protocol when trying to ensure reproducibility of your experiments. When a link is created for an entry, it will appear on the top right of the entry when you hover over the linking icon.

 

Linking an External URL

Linking an external URL to an entry will allow you to reference this URL in an easier and more organized way. You can do this by hovering over an entry and clicking on the Link icon in the Edit Entry Toolbar.

  

Then, click on “Web address/URL” and enter the URL in the field. It is optional to add a description. After click on the “Add Link” button. Repeat steps for multiple URLs. Once all links are added, click on the “close” button the bottom right.

  

The link is now located on the upper right corner of the entry.

 

You can remove the link, by hovering over the entry, and click on the Link icon. In the Edit Links box, click on the “x” next to link

 

Linking an Entry or Page within Your Notebook

LabArchives allows you to link an entry or page within the notebook you are currently using. When you hover over an entry and click on the Link icon in the Edit Entry Toolbar

 

Then, click on “Page or entry in this notebook” and click on the “browse” button to select an entry or page from the notebook you are using.

 

When you reach to the browse window, select on a page or entry that you want to link, then click on the “link to” button at the top of the window.

 

When you link to a Page or Entry within your Notebook, LabArchives allows you the option to create a link with the most current revision of that Page or Entry. For example, if you link an entry and make edits later, the link will be updated with the entry with the most recent modifications. The other option is to link version at the time the link was created. Meaning, if you link an entry and make edits later, the link will remain with the same without the new modifications.

 

Adding a description is optional. Then click on the “Add Link” button. Repeat these steps for multiple pages and entries in the notebook. Once all links are added, click on the close button the bottom right. In the second picture, you can see how the link looks like when you hover over the icon.

     

 

Linking an Entry or Page from a Different Notebook

LabArchives’ linking feature includes linking a page or entry from another different notebook by embedding a Share URL link in a Rich Text Entry. There are different ways to obtain the share link.

For an entry from a different notebook, hover over the entry you want to link, and click on the gear icon and click on “share”.

 

For a page from a different notebook, there are two ways. One way to click on the share icon on the top right of the page next to the Page Tools

 

The other way is to right-click on the page you want to link, located under the Notebook Navigator and then click on “share”

 

From these methods, it will open up a "Share" window. First, click on “URL to share” tab, then copy the link in the field, “Link this to notebook/page”

 

Once you obtain the link, create/edit a Rich Text Entry in the notebook you are working in and click on the "Global link" icon, which is indicated in the picture below.

 

In the new window, paste the share link in the URL field, and press OK when finished.

 

Linking a Local File

You can add files that are less than 250MB in size to your notebook. For larger data files, it's best to link to the file stored at an external location, for example, your computer. Linking can also be handy for files that will be frequently edited so that you do not need to repeatedly move it to your Notebook. To enter a link for a local file, you will first need to know the proper syntax to enter the file name. If you use Firefox, you can quickly find it by dragging the file into an available tab in Firefox. The file name will appear in the address window.

Note: However, while you can enter a link with any browser, most browsers have security features that may prevent you from opening the file directly from the browser. Both Firefox and Chrome offer "add-on" utilities that enable you to open these files.

For Firefox, the add-on is entitled "LocalLink", and it may be installed into Firefox at

https://addons.mozilla.org/en­US/firefox/addon/281/

For Google Chrome, the add-on is entitled "LocalLinks", and may be installed at

https://chrome.google.com/extensions/detail/jllpkdkcdjndhggodimiphkghogcpida.

If you have installed one of these add-ons, you may now open the file by clicking on the link (in Chrome). In Firefox, you need to right ­click on the link and choose Open Link in Local Context ­­> and then choosing in which Tab or Window to open it.

For Windows users, the standard URL is as follows:

file:///c:/directory/subdirectory/file.extension 

So, for example, if the user "Joe" has a file called "links.doc" on his desktop, the URL might be:

file:///c:/Users/Joe/Desktop/links.doc

Note: The use of "forward slashes", rather than "backslashes".

For Mac user's it’s quite similar, but normally with no drive letter, so a similar example would be

file://Users/Joe/Desktop/Links.doc

 

 

(2 vote(s))
Helpful
Not helpful

Comments (0)