Bug #7175


The link for non-numeric attribute domains doesn't work on the exported eml file

Added by Jing Tao over 6 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


To Whom It May Concern:

I am trying to use Morpho to create metadata for a project (Morpho has been updated to the latest version). I have entered all the information (that I have at this time, at least) into Morpho and can view everything that I’ve entered within the software. When I export the metadata and view the html or pdf files, everything is great except with defining nominal codes. For these attributes, a link name “Domain Info” is provided and when clicked the link either returns to the top of the metadata file (clicked within the Morpho preview) or opens a browser window that says “No file exists at the address “/metacat” (clicked from html or pdf files). I have attached a file for example. I am not a coder and have not been able to figure out a way for the nominal/category codes to be listed directly in the metadata export files. I don’t like the thought of having to export all my work from Morpho into Metavist, so thought I’d check with KNB for a possible solution first.

Thanks for any guidance that you are able to provide.



I looked at the html of page and it shows:
<td class="innercoleven" align="center" colspan="2"><a href="/metacat?action=read&qformat=export&sessionid=&docid=&displaymodule=attributedomain&entitytype=dataTable&entityindex=4&attributeindex=6"><b>Domain Info</b></a></td>

The link looks like to use the metacat read action to read the attributedomain module. However, this link as imported html can't work since it can't have the complete metacat url. I also search the Metacat code and can't find it supporting to display the attribute domain.

I also looked at the eml xslt code. Here is the code to generate the link at the template attributenonnumericdomaincommon:
<a><xsl:attribute name="href"><xsl:value-of select="$tripleURI"/><xsl:value-of select="$docid"/>&displaymodule=attributedomain&entitytype=<xsl:value-of select="$entitytype"/>&entityindex=<xsl:value-of select="$entityindex"/>&attributeindex=<xsl:value-of select="$attributeindex"/></xsl:attribute>

It seems there are issues on the export feature of Morpho. So the link doesn't work. However, we have a way to work around the issues. First, you may save the package to a Metacat server from Morpho. Then you can open the package on the link from a browser. You may save the html file which shows up on your browser to replace the metadata.html on your exported package directory.

Here is the link of an eml on our KNB web site (which is our default Metacat server on Morpho):;docid=autogen.2017031514432105092.2&amp;qformat=default&amp;displaymodule=printall
When you click the link "Domain info", it will show up the information. After you save your eml into KNB, you can open your package by modifying the above link - replace "autogen.2017031514432105092.2" by your docid.

If you do want to use one html to show all the information, you may use this link:;docid=autogen.2017031514432105092.2&amp;qformat=metacatui&amp;displaymodule=printall
As I said, when you try to open your eml, you need to replace the "autogen.2017031514432105092.2" by your docid.

No data to display


Also available in: Atom PDF