openmolecules.org

 
Home » DataWarrior » Functionality » Option to hyperlink data. (Option to hyperlink data.)
Option to hyperlink data. [message #220] Thu, 19 January 2017 04:02 Go to next message
jeetu270 is currently offline  jeetu270
Messages: 22
Registered: October 2015
Location: INDIA
Junior Member

Hi Thomas,

Thanks for the great software.

If possible, can we have an option whereby the values entered in the individual cells can be hyperlinked to some files (containing raw data regarding the experiment) stored at a location in the local system or a network drive?

Thanks
Jitender
Re: Option to hyperlink data. [message #228 is a reply to message #220] Mon, 06 February 2017 14:29 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 715
Registered: June 2014
Senior Member
Dear Jitender,

this mechanism is already built into DataWarrior. The only problem is that there is no user interface to attach file links to cells. When creating dwar files programmatically or by modifying them in a text editor you can make use of the concept. I have added a simple example with references to jpeg and html files, which are referenced by a relative path & file names. DataWarrior displays html properly formated and the jpeg file content propertly as image in the detail view area. You may also display this detail information in form views.

What needs to be done in the dwar files is the following (see example):

1. The 'column properties' section you need this information:
- name of column to which the detail is attached
- number of detail types attached to this column
- for every detail: detail name to show to user, mime type, relative or absolute path

<columnName="Name">
<columnProperty="detailCount 2">
<columnProperty="detailType0 image/jpeg">
<columnProperty="detailName0 Picture">
<columnProperty="detailName1 Description">
<columnProperty="detailType1 text/html">
<columnProperty="detailSource1 relPath:html/">
<columnProperty="detailSource0 relPath:images/">

Then every cell with one or more details must have the file names attached. Every individual
file name must be preceeded by this three character separator: '|#|' plus a 0-based index
for the detail type plus a colon. If you look into the file, planes.dwar example file, then
this should be clear.

Hope this helps,

Thomas

[Updated on: Mon, 06 February 2017 14:32]

Report message to a moderator

Re: Option to hyperlink data. [message #232 is a reply to message #228] Wed, 22 February 2017 04:55 Go to previous message
jeetu270 is currently offline  jeetu270
Messages: 22
Registered: October 2015
Location: INDIA
Junior Member

Thanks for the explanation Thomas...

I will surely try this..

Thanks
Jitender
Previous Topic: How to calculate selectivity score?
Next Topic: R group count
Goto Forum:
  


Current Time: Fri Nov 22 02:07:53 CET 2024

Total time taken to generate the page: 0.03448 seconds